CS-6207 - Programming Languages with Compiler oed answer key
Showing 41 to 48 of 48 total answers.
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
Which value is not an argument to the "hello" function?def hello(name): print("Hey,", name) hello("John") hello("Mya")
Answer
"Hey"
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
Finite Automation (FA) is an abstract machine that can be used to certain forms of computation. Finite Automation (FA)
Answer
True
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
The scanner returns TOKEN NOT and will consume the put-back character on the next call to scan token. TOKEN NOT TOKEN NOT
Answer
True
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
If the scanner encounters (!) that couldn't represent logical-not operation by itself or couldn't be the first character.
Answer
False
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
If you were writing your source code in the JavaScript programming language, what file extension would you use to save your file?
Answer
js
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
What is the output of the following program?defisEven(num): return num % 2 = 0 if isEven(3): print("3 is even") else: print("3 is not even")
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler
Backtracking come up in every stage of the compiler with an unexpected item that doesn't match the current objective, so it must be put back.
#CS-6207
Awesome StudentQuestion • Programming Languages with Compiler