True/False: Python allows for passing multiple arguments to a function.
Front
TRUE
Back
True/False: Python formats all floating-point numbers to two decimal places when outputting using the print
statement.
Front
FALSE
Back
True/False: In Python, print statements written on separate lines do not necessarily output on separate lines
Front
TRUE
Back
The _____ argument specifies which parameter the argument should be passed into.
Front
KEYWORD
Back
True/False: A flowchart is a tool that programmers use to design programs.
Front
TRUE
Back
A(n) _____ is any piece of data that is passed into a function when the function is called.
Front
ARGUMENT
Back
What makes it easier to reuse the same code in more than one program?
Front
MODULES
Back
A(n) _______________-controlled loop causes a statement or set of statements to repeat as long as a
condition is true.
Front
CONDITION
Back
Which of the following represents an example to calculate the sum of the numbers (accumulator)?
Front
total+=number
Back
True/False: Different functions can have local variables with the same names.
Front
TRUE
Back
True/False: The \t escape character causes the output to skip over to the next horizontal tab.
Front
TRUE
Back
Which of the following is the correct if clause to use to determine whether choice is other than 10?
Front
if choice != 10:
Back
The _______________ specifier is a special set of characters that specify how a value should be formatted.
Front
FORMATTING
Back
The result of the expression 12.3 + 6.7 is _______________.
Front
19.0
Back
In python, a comma -separated sequence of data items that are enclosed in a set of brackets is called a
Front
LIST
Back
To refer to a function in a module, in our program we have to use the _______________ notation.
Front
DOT
Back
The top-down design breaks down the overall task of the program into a series of _______________.
Front
SUBTASKS
Back
A(n) _______________ is a special value that marks the end of a sequence of items.
Front
SENTINEL
Back
Arguments are passed by _______________ to the corresponding parameter variables in the function.
Front
POSITION
Back
A(n) ________ constant is a global name that references a value that cannot be changed
Front
GLOBAL
Back
True/False: A better way to repeatedly perform an operation is to write the statements for the task once, and
then place the statements in a loop that will repeat the statements as many times as necessary
Front
TRUE
Back
When applying the .3f formatting specifier to the following number, 76.15854, the result is
Front
76.159
Back
True/False: Unlike other languages, in Python, the number of values a function can return is limited to one.
Front
FALSE
Back
The % symbol is the remainder operator and it is also known as the _______________ operator.
Front
MODULUS
Back
What is the informal language that programmers use to create models of programs that have no syntax rules
and are not meant to be compiled or executed?
Front
PSEUDOCODE
Back
True/False: The math function, ceil(x), returns the smallest integer that is greater than or equal to x.
Front
TRUE
Back
A set of statements that belong together as a group and contribute to the function definition is known as a(n)
Front
BLOCK
Back
True/False: A local variable can be accessed from anywhere in the program.
Front
FALSE
Back
What is the result of the following Boolean expression, if x equals 5, y equals 3, and z equals 8?
x < y or z > x