Exam 8: Module Py: Coding With Python

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

A place to enter source code for a computer program is called a(n) _______.

(Multiple Choice)
4.8/5
(38)

​Programmers think of variables as empty boxes where data can be stored.

(True/False)
4.8/5
(42)

String variables cannot be concatenated directly with integer variables.​

(True/False)
4.9/5
(35)

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

(Multiple Choice)
4.8/5
(41)

An if statement requires which of the following as punctuation?

(Multiple Choice)
4.7/5
(30)

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

(Multiple Choice)
4.8/5
(29)

The section of code that repeats is referred to as a _____ or an iteration.

(Short Answer)
4.8/5
(47)

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

(Short Answer)
4.9/5
(41)

Which of the following words is a logical operator in Python?​

(Multiple Choice)
4.7/5
(39)

​There is no limit on the number of elif statements that can follow an if statement.

(True/False)
4.8/5
(40)

A function terminates with the last indented line of code.​

(True/False)
4.9/5
(48)

In mathematics, the order of _______ is a collection of rules that dictate which procedures to perform first when calculating an arithmetic expression.​

(Short Answer)
4.8/5
(37)

___________, sometimes called overloading, is the ability to redefine a method in a subclass.​

(Short Answer)
4.8/5
(40)

A program containing a(n) _____ error will run without displaying an error message, but it will not produce the expected result.​

(Short Answer)
4.9/5
(32)

Only about ten keywords are frequently used in Python.

(True/False)
4.8/5
(35)

An if statement is an example of a selection control structure.​

(True/False)
4.8/5
(47)

The code block within every function starts with a semicolon (;).​

(True/False)
4.8/5
(33)

Adding comments generally makes the code ________.

(Multiple Choice)
4.8/5
(40)

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

(True/False)
4.7/5
(43)

A good name for a variable that will contain a first name would be "person's_name."

(True/False)
4.8/5
(31)
Showing 41 - 60 of 89
close modal

Filters

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