Exam 11: Step-By-Step Programming With Python

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Which of the following is considered to be a common data type?​

Free
(Multiple Choice)
4.8/5
(39)
Correct Answer:
Verified

D

Logical operators are also known as Boolean operators.​

Free
(True/False)
4.9/5
(40)
Correct Answer:
Verified

True

​A superclass is a class that inherits attributes and methods from a subclass.

Free
(True/False)
4.9/5
(33)
Correct Answer:
Verified

False

Strings in Python are not case sensitive.​

(True/False)
4.7/5
(46)

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

(Short Answer)
4.8/5
(36)

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

(True/False)
4.9/5
(34)

The code block within every function starts with a semi-colon (;).​

(True/False)
4.9/5
(39)

Adding comments generally makes the code ________.

(Multiple Choice)
4.8/5
(39)

The ______ command allows the program to display a message on the screen that asks a user to enter information.​

(Short Answer)
4.8/5
(42)

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

(Short Answer)
4.9/5
(35)

A ______ is a description or template that the computer uses to create an object.​

(Short Answer)
4.8/5
(36)

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

(Multiple Choice)
4.9/5
(42)

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

(Multiple Choice)
4.8/5
(39)

String variables cannot be concatenated directly with integer variables.​

(True/False)
4.8/5
(38)

Which of the following symbols represents the assignment operator?​

(Multiple Choice)
4.9/5
(33)

​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
(39)

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

(Short Answer)
4.8/5
(37)

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

(True/False)
5.0/5
(42)

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

(Short Answer)
4.8/5
(35)

Before you can increment or decrement a variable, you have to _______ it.​

(Short Answer)
4.9/5
(42)
Showing 1 - 20 of 90
close modal

Filters

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