Exam 2: Problem Solving Using C++

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

A program consists of subprograms, called ____________________, that are designed and developed to perform a specific task.

(Short Answer)
4.9/5
(40)

Preprocessor commands begin with a ____ sign.

(Multiple Choice)
4.7/5
(35)

The main() function is referred to as a(n) ____ function because it tells other functions the sequence in which they execute.

(Multiple Choice)
4.7/5
(33)

____ in C++ are any combination of letters, numbers, and special characters enclosed in quotation marks.

(Multiple Choice)
4.8/5
(38)

In C++, a(n) ____________________ is any combination of operators and operands that can be evaluated to yield a value.

(Short Answer)
4.9/5
(40)

____ are explanatory remarks made in a program.

(Multiple Choice)
4.9/5
(33)

Forgetting to enclose a string sent to ____________________ with quotation marks is a common programming error.

(Short Answer)
4.8/5
(34)

Preprocessor commands end with a semicolon.

(True/False)
4.9/5
(35)

The output object that sends data it receives to the standard display device, or console, is called ____________________.

(Short Answer)
4.8/5
(34)

Variables used to hold single-precision values are declared by using the keyword ____________________.

(Short Answer)
4.8/5
(29)

A(n) ____ is a word the language sets aside for a special purpose and can be used only in a specified manner.

(Multiple Choice)
4.9/5
(34)

Programs in C++ can have more than one main() function.

(True/False)
4.8/5
(29)

Each ____________________ inside the function body must end with a semicolon (;).

(Short Answer)
4.7/5
(35)

When a declaration statement is used to store a value into a variable, the variable is said to be ____.

(Multiple Choice)
4.8/5
(32)

A(n) ____ number, more commonly known as a real number, can be the number zero or any positive or negative number that contains a decimal point.

(Multiple Choice)
4.7/5
(42)

One important requirement for designing a good function is giving it a name that conveys some idea of what the function does.

(True/False)
4.9/5
(37)

C++ is a case-sensitive language.

(True/False)
4.8/5
(36)

The three most important and common integer types used in most applications are int , char , and ____.

(Multiple Choice)
4.8/5
(46)

C++ supports two types of comments: line and ____________________.

(Short Answer)
4.9/5
(33)

A ____ begins with two slashes ( // ) and continues to the end of the line.

(Multiple Choice)
4.9/5
(44)
Showing 21 - 40 of 52
close modal

Filters

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