Exam 12: Step-By-Step Programming With Python

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

A good name for a variable that will contain a first name would be "last_name."​

(True/False)
4.9/5
(37)

Instruction code for a computer program is based on an algorithm.

(True/False)
4.9/5
(36)

A _______ control structure tells a computer what to do based on whether a condition is true or false.​

(Short Answer)
4.7/5
(44)

The control statement for a for-loop begins with what command word?​

(Multiple Choice)
4.9/5
(41)

String variables cannot be concatenated directly with integer variables.​

(True/False)
4.8/5
(36)

A ______ is a numeric variable used for counting something, such as the number of times to execute a loop.​

(Short Answer)
4.8/5
(49)

In Python, the order of operations dictates that addition and subtraction are performed first.​

(True/False)
4.8/5
(47)

​A comparison operator is used in an expression to compare two______.

(Multiple Choice)
4.8/5
(44)

​The ​Python programming language was named after the TV show Monty Python's Flying Circus.

(True/False)
4.7/5
(35)

The process of creating a variable is sometimes referred to as _____ a variable.​

(Short Answer)
4.8/5
(30)

To ______ a variable means to add an amount to its current value.​

(Short Answer)
4.8/5
(37)

To include more than one line of comments in your code, you must start each line with which of the following symbols?

(Multiple Choice)
4.7/5
(44)

​Which of the following is another term for "subclass"?

(Multiple Choice)
4.9/5
(46)

Only about 10 keywords are frequently used in Python.

(True/False)
4.8/5
(38)

Logical operators are also known as Boolean operators.​

(True/False)
4.8/5
(36)

A programming error is called a ____.​

(Short Answer)
4.9/5
(38)

Strings in Python are not case sensitive.​

(True/False)
4.7/5
(35)

When you do not know in advance the number of times you want to execute a statement, use a ______-loop.

(Multiple Choice)
4.9/5
(30)

Adding comments generally makes the code ________.

(Multiple Choice)
4.8/5
(38)

A _____ in Python​ is used by programmers to explain what the code does--it does not show up when the program runs.

(Short Answer)
4.8/5
(35)
Showing 61 - 80 of 90
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)