Exam one python
In Python the ________ symbol is used as the not-equal-to operator.
!=
What type of loop structure repeats the code a specific number of times?
Count-Controlled loop
Reducing duplication of code is one of the advantages of using a loop structure
True
Which logical operators perform short-circuit evaluation?
and, or, not
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.
end
The Python language is not sensitive to block structuring of code.
false
What is the informal language, used by programmers use to create models of programs, that has no syntax rules and is not meant to be compiled or executed?
pseudocode
A(n) ________ structure is a logical design that controls the order in which a set of statements execute.
sequence
A flowchart is a tool used by programmers to design programs.
true
A while loop is called a pretest loop because the condition is tested after the loop has had one iteration.
true
Both of the following for clauses would generate the same number of loop iterations
true
Comments in Python begin with the # character.
true
Computer programs typically perform three steps: input is received, some process is performed on the input, and output is produced.
true
Decision structures are also known as selection structures.
true
When will the following loop terminate?while keep_on_going != 999:
when keep_going refers to a value equal to 999