Exam 8: Computer Programming: Understanding the Basics

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

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
(36)

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

(True/False)
4.9/5
(33)

A ____ is a named memory location that holds data specified by a programmer or entered by an end user.​

(Short Answer)
4.8/5
(40)

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

(True/False)
4.8/5
(40)

Classes enable programmers to build objects with multiple _______ and define ways for objects to interact with each other.​

(Multiple Choice)
4.9/5
(35)

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

(Short Answer)
4.9/5
(39)

Syntax errors and ____ errors are the two most frequently encountered when debugging a program.​

(Short Answer)
4.8/5
(30)

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

(Multiple Choice)
4.8/5
(35)

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

(Short Answer)
4.8/5
(35)

A programmer-defined _______ is typically a block of code that is part of a program but is not included in the main execution path.​

(Short Answer)
4.8/5
(27)

​The if command requires which of the following as punctuation?

(Multiple Choice)
4.9/5
(32)

The == symbol is referred to as the ______ operator.​

(Short Answer)
4.8/5
(42)

_______ programming is a style of programming that focuses​ on using objects to design and build applications.

(Short Answer)
4.8/5
(36)

An accumulator is a numeric variable in which values are repetitively subtracted.​

(True/False)
4.9/5
(28)

The type of data that a variable can hold is referred to as its ______.​

(Short Answer)
4.9/5
(28)

Which of the following is not a Python syntax rule?​

(Multiple Choice)
5.0/5
(39)

​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.8/5
(34)

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

(Short Answer)
4.9/5
(36)

A ______ control structure allows programmers to write code that can repeatedly execute a statement or a series of statements.​

(Short Answer)
4.9/5
(45)

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

(Multiple Choice)
4.8/5
(34)
Showing 41 - 60 of 90
close modal

Filters

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