Filters
Question type

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

Correct Answer

verifed

verified

Only about ten keywords are frequently used in Python.

A) True
B) False

Correct Answer

verifed

verified

In programming, a(n) ______ is a symbol that represents an action.​

Correct Answer

verifed

verified

Computer programming is also known as ______.


A) debugging
B) coding
C) programming
D) none of the above

E) B) and C)
F) None of the above

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

Which of the following is a Python keyword?​


A) ​elif
B) ​else
C) ​def
D) ​all of the above

E) A) and B)
F) None of the above

Correct Answer

verifed

verified

Which of the following symbols represents the assignment operator?


A) =
B) < >
C) >
D) ==

E) A) and B)
F) B) and C)

Correct Answer

verifed

verified

The Python programming language has a small vocabulary of how many keywords?


A) ​18
B) ​7
C) ​34
D) ​42

E) A) and B)
F) C) and D)

Correct Answer

verifed

verified

The operator != is a comparison operator.​

A) True
B) False

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

A(n) ______ is a segment of code that defines an action ​belonging to a class.

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

The process of tracking down bugs and correcting them is called ______.​

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

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

Correct Answer

verifed

verified

To advance the number of times a statement is executed, use a(n) ________-loop.​


A) ​if
B) ​else
C) ​for
D) ​none of the above

E) B) and D)
F) B) and C)

Correct Answer

verifed

verified

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

A) True
B) False

Correct Answer

verifed

verified

A programming error is called a(n) ____.​

Correct Answer

verifed

verified

Showing 41 - 60 of 89

Related Exams

Show Answer