Exam 15: A Brief Introduction to C++

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

C++'s cin does not require the address operator needed for C's scanf() function.

(True/False)
4.9/5
(42)

You can use ____ for standard output t in C.

(Multiple Choice)
4.7/5
(40)

Use ____ to include standard input and output header files in a C++ program.

(Multiple Choice)
4.9/5
(29)

A derived class is also called a child class.

(True/False)
4.7/5
(38)

Polymorphism permits existing code, which has been thoroughly tested, to be reused efficiently without the need for extensive retesting.

(True/False)
4.9/5
(36)

C++ is a true object-oriented language.

(True/False)
4.7/5
(44)

One of the driving forces in the creation of object-oriented languages was the inability of procedurally structured code to be extended easily without extensive revisions, retesting, and reevaluations.

(True/False)
4.8/5
(41)

/* this is a comment */ can be written in C++ as ____.

(Multiple Choice)
4.8/5
(36)

A programmer-defined data type is known as an ADT.

(True/False)
4.7/5
(38)

Any text after the \\ delimiter, but only to the end of the current line, is taken to be a comment in C++.

(True/False)
4.9/5
(37)

A parent class is also called a derived class.

(True/False)
4.7/5
(34)

The header files in C++ are different from those in C, but perform the same task and occupy similar positions in a C++ program that they occupy in a C program.

(True/False)
4.9/5
(39)

You can use ____ for standard output in C++.

(Multiple Choice)
4.7/5
(35)

C was created from C++.

(True/False)
4.9/5
(33)

The three features required for an object-oriented language are class construction, inheritance, and ____.

(Multiple Choice)
4.9/5
(43)

An example of a use of cout is ____.

(Multiple Choice)
4.8/5
(35)

printf("Enter the price: "); can be written in C++ as ____.

(Multiple Choice)
4.9/5
(40)

C++ allows the use of references for indirect addressing.

(True/False)
4.7/5
(36)

Many introductory C++ courses are taught using procedural programs initially.

(True/False)
4.8/5
(35)

scanf("%lf", &price); can be written in C++ as ____.

(Multiple Choice)
5.0/5
(29)
Showing 21 - 40 of 49
close modal

Filters

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