Exam 12: Module Py: Coding With Python

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

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

(Short Answer)
4.8/5
(35)

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

(True/False)
4.7/5
(30)

​When programmers want one thing to happen when a condition is true and something else to happen when it is false they use the ______ statement.

(Multiple Choice)
4.9/5
(40)

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

(Short Answer)
4.7/5
(42)

Statements that tell a computer what to do are referred to as code.​

(True/False)
4.8/5
(45)

A sequence of steps for solving a problem or performing a task is called a code editor.​

(True/False)
4.9/5
(40)

A class attribute defines the characteristics of a set of _______.

(Multiple Choice)
4.9/5
(34)

When storing data in a variable, programmers use which symbol to indicate the assignment operator?​

(Multiple Choice)
4.7/5
(35)

The object-oriented ________ is based on objects and classes that can be defined and manipulated by program code.​

(Short Answer)
4.9/5
(38)

Logical operators are also known as Boolean operators.​

(True/False)
4.7/5
(37)

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

(Short Answer)
5.0/5
(36)

An instance of a class is said to be __________ (created) from the class.​

(Short Answer)
4.8/5
(44)

​To instruct the computer to perform a calculation, programmers use a(n) _______ expression, which contains values and operators, such as + and -.

(Short Answer)
4.8/5
(49)

Which of the following is a valid variable name in Python​?

(Multiple Choice)
4.9/5
(45)

A string can contain which of the following?​

(Multiple Choice)
4.9/5
(43)

In object-oriented jargon, ______ refers to passing certain characteristics from one class to other classes.​

(Short Answer)
4.9/5
(41)

The most famous program in the world is a single line of code that prints "Hello Earth!" on the screen.​

(True/False)
4.8/5
(31)

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

(Multiple Choice)
4.8/5
(36)

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

(Multiple Choice)
4.9/5
(35)

Adding comments generally makes the code ________.

(Multiple Choice)
4.9/5
(25)
Showing 61 - 80 of 89
close modal

Filters

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