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:
works by translating the entire program at one time
Responses:
machine language
statement
production program
Correct Answer:
Verified
Premises:
Responses:
works by translating the entire program at one time
machine language
Free
(Matching)
4.9/5
(41)
Correct Answer:
Verified

In a ____, program steps execute one after another, without interruption.

Free
(Multiple Choice)
4.9/5
(35)
Correct Answer:
Verified

A

Finding syntax errors is much more time consuming for a programmer than finding logical errors.

Free
(True/False)
4.8/5
(35)
Correct Answer:
Verified

False

Basic logic components used in programs are called ____.

(Multiple Choice)
4.8/5
(38)

What is the difference between objects and classes?

(Essay)
4.9/5
(43)
Match each term with the correct statement below.
Premises:
group of statements in C++
Responses:
procedural program
machine language
production program
Correct Answer:
Verified
Premises:
Responses:
group of statements in C++
procedural program
(Matching)
4.9/5
(33)

____________________ is the process of paying attention to important properties while ignoring details.

(Short Answer)
4.8/5
(33)

In object-oriented programming, you can create new classes that extend or are____________________ of existing classes.

(Short Answer)
4.8/5
(34)

When you compile a C++ program, error messages and/or ____ might appear.

(Multiple Choice)
4.9/5
(25)

You cannot write procedural programs in C++.

(True/False)
4.9/5
(31)

What were the disadvantages of programming in the oldest procedural languages?

(Essay)
4.9/5
(36)

All modern programming languages require that variable names be one word; that is, they cannot include any embedded spaces.

(True/False)
4.9/5
(36)

What is an escape sequence?

(Essay)
4.9/5
(35)

In C++, by default, all structure fields are private.

(True/False)
4.9/5
(42)

Float values are called double-precision numbers.

(True/False)
4.7/5
(33)
Match each term with the correct statement below.
Premises:
checks your program for syntax errors
Responses:
statement
translator program
procedural program
Correct Answer:
Verified
Premises:
Responses:
checks your program for syntax errors
statement
(Matching)
4.8/5
(36)

What is a semantic error?

(Essay)
4.9/5
(39)

Beginning an identifier with a lowercase letter and capitalizing subsequent words within the identifier is a style known as camel casing (for example, yourAge ).

(True/False)
4.8/5
(35)

A ____ repeats actions while some condition remains unchanged.

(Multiple Choice)
4.8/5
(34)

The rules of any language make up its ____.

(Multiple Choice)
4.9/5
(29)
Showing 1 - 20 of 55
close modal

Filters

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