Calling Modules Flashcards
displayOutput ( )
Is this proper statement to call a module?
displayOutput ( )
Yes, this statement calls a module.
displayOutput (names)
Is this proper statement to call a module?
displayOutput (names)
Yes, this statement calls a module.
showOutput ( )
Is this proper statement to call a module?
showOutput ( )
Yes, this statement calls a module.
determineAnswer (myArray)
Is this proper statement to call a module?
determineAnswer (myArray)
Yes, this statement calls a module.
DisplayOutput (names)
Is this proper statement to call a module?
DisplayOutput (names) No, the module name is not in camelCase.
displaySponge (BOB)
Is this proper statement to call a module?
displaySponge (BOB)
Yes, this statement calls a module.
showOUTPUT ( )
Is this proper statement to call a module?
showOUTPUT ( ) No, the module name is not in camelCase.
castSpell (mySpell)
Is this proper statement to call a module?
castSpell (mySpell)
Yes, this statement calls a module.
newValue = getAnswer ( )
Is this proper statement to call a module?
newValue = getAnswer ( )
No, this is a call to a function.
learnMaterial (readTheTextbook)
Is this proper statement to call a module?
learnMaterial (readTheTextbook)
Yes, this statement calls a module.
callCaptainKirk (SPOCK, dangerAmount)
Is this proper statement to call a module?
callCaptainKirk (SPOCK, dangerAmount)
Yes, this statement calls a module.
solveMystery (sherlockHolmes)
solveMystery (sherlockHolmes)
Yes, this statement calls a module.
showMessage (message, true)
showMessage (message, true)
Yes, this statement calls a module.
Module displayOutput ( )
Module displayOutput ( ) No, this statement does NOT call a module. This is a module header.
call module x = displayReport ( )
call module x = displayReport ( ) No, this statement does NOT call a module. It's a mess and does not do anything.