ANSWERS WITH VERIFIED SOLUTIONS
2024
The following is an example of an instruction written in which computer language? - ANSWER Machine
Language
What type of error produces incorrect results but does not prevent the program from running? -
ANSWER Logic
In a print statement, you can set the __________ argument to a space or empty string to stop the output
from advancing to a new line. - ANSWER End
What is a group of statements that exists within a program for the purpose or performing a specific task?
- ANSWER Function
A _________ variable is created inside a function. - ANSWER Local
When using the _________ operator, one or both subexpressions must be true for the compound
expression to be true. - ANSWER or
If x is 5, y is 3, and z is 8, what is the result of the following Boolean expression? - ANSWER True
What type of loop structure repeats the code a specific number of times? - ANSWER Count-controlled
loop
What is not an example of an augmented assignment operator? - ANSWER <=
When will the following loop terminate?
while keep_on_going!=999: - ANSWER When keep_on_going refers to a value equal to 999