Exam 1: An Overview of Object-Oriented Programming and C++

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags
Match each term with the correct statement below.
Premises:
consists of a series of steps or procedures that take place one after the other.
Responses:
output
procedural program
machine language
Correct Answer:
Verified
Premises:
Responses:
consists of a series of steps or procedures that take place one after the other.
output
(Matching)
4.8/5
(39)

It is conventional, but not required, to begin object names with a lowercase letter and to begin class names with an uppercase letter.

(True/False)
5.0/5
(38)

In general, C++ programmers use the term "____" when referring to methods.

(Multiple Choice)
4.8/5
(38)

A Boolean data type variable can be declared using the ____ data type, which has only two possible values-true or false.

(Multiple Choice)
4.9/5
(42)
Match each term with the correct statement below.
Premises:
segment of C++ code that performs a task
Responses:
machine language
production program
procedural program
Correct Answer:
Verified
Premises:
Responses:
segment of C++ code that performs a task
machine language
(Matching)
4.9/5
(46)

____ is a programming language that supports object-oriented techniques.

(Multiple Choice)
4.8/5
(47)

To indicate a newline character-that is, the invisible character that forces the next output to appear on a new line-you can use the escape sequence ____.

(Multiple Choice)
4.9/5
(35)
Match each term with the correct statement below.
Premises:
language that computers can understand
Responses:
statement
output
interpreter
Correct Answer:
Verified
Premises:
Responses:
language that computers can understand
statement
(Matching)
4.7/5
(39)

When writing C++ code, the style in which the braces in a function each occupy a line of their own and align to the left, is called the ____ style.

(Multiple Choice)
4.9/5
(27)

What is a variable?

(Essay)
4.8/5
(38)

In many computer programming languages, including C++, variables must be explicitly ____________________, that is, given a data type as well as a name, before they can be used.

(Short Answer)
4.9/5
(37)

An integer value may be stored in an integer data type variable, declared with the keyword ____.

(Multiple Choice)
4.9/5
(43)

A(n) ____________________ is a mechanism for grouping features you want to include in a program.

(Short Answer)
4.9/5
(36)

The variables and instructions within a module are hidden and contained-that is, ____-which helps to make the module independent of all other modules and therefore reusable.

(Multiple Choice)
4.8/5
(32)

You ____ a program by using sample data to determine whether the program results are correct.

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

Filters

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