100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Test Bank For C++ Programming: Program Design Including Data Structures - 8th EDITION

Rating
-
Sold
-
Pages
115
Grade
A+
Uploaded on
09-12-2025
Written in
2025/2026

Test Bank For C++ Programming: Program Design Including Data Structures - 8th EDITION

Institution
C++ Programming
Course
C++ Programming











Whoops! We can’t load your doc right now. Try again or contact support.

Connected book

Written for

Institution
C++ Programming
Course
C++ Programming

Document information

Uploaded on
December 9, 2025
Number of pages
115
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

,DOWNLOAD THE Test Bank for C++ Programming From Problem Analysis to
Program Design 8th Edition Malik
Name: Class: Date:

Chapter 2
1. In C++, reserved words are the same as predefined identifiers.
a. True
b. False
ANSWER: False
POINTS: 1
REFERENCES: 36
QUESTION TYPE: True / False
HAS VARIABLES: False
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 10/5/2016 1:36 PM

2. The maximum number of significant digits in values of the double type is 15.
a. True
b. False
ANSWER: True
POINTS: 1
REFERENCES: 41
QUESTION TYPE: True / False
HAS VARIABLES: False
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 10/5/2016 1:36 PM

3. The maximum number of significant digits in float values is up to 6 or 7.
a. True
b. False
ANSWER: True
POINTS: 1
REFERENCES: 42
QUESTION TYPE: True / False
HAS VARIABLES: False
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 10/5/2016 1:36 PM

4. An operator that has only one operand is called a unique operator.
a. True
b. False
ANSWER: False
POINTS: 1
REFERENCES: 45
QUESTION TYPE: True / False
HAS VARIABLES: False
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 10/5/2016 1:36 PM
Copyright Cengage Learning. Powered by Cognero. Page 1


mynursytest.store

,DOWNLOAD THE Test Bank for C++ Programming From Problem Analysis to
Program Design 8th Edition Malik
Name: Class: Date:

Chapter 2

5. If a C++ arithmetic expression has no parentheses, operators are evaluated from left to right.
a. True
b. False
ANSWER: True
POINTS: 1
REFERENCES: 46
QUESTION TYPE: True / False
HAS VARIABLES: False
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 10/5/2016 1:36 PM

6. A mixed arithmetic expression contains all operands of the same type.
a. True
b. False
ANSWER: False
POINTS: 1
REFERENCES: 48
QUESTION TYPE: True / False
HAS VARIABLES: False
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 10/5/2016 1:36 PM

7. Suppose a = 5. After the execution of the statement ++a; the value of a is 6.
a. True
b. False
ANSWER: True
POINTS: 1
REFERENCES: 70
QUESTION TYPE: True / False
HAS VARIABLES: False
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 10/5/2016 1:36 PM

8. The escape sequence \r moves the insertion point to the beginning of the next line.
a. True
b. False
ANSWER: False
POINTS: 1
REFERENCES: 7
QUESTION TYPE: True / False
HAS VARIABLES: False
DATE CREATED: 10/5/2016 1:36 PM
Copyright Cengage Learning. Powered by Cognero. Page 2


mynursytest.store

, DOWNLOAD THE Test Bank for C++ Programming From Problem Analysis to
Program Design 8th Edition Malik
Name: Class: Date:

Chapter 2
DATE MODIFIED: 10/5/2016 1:36 PM

9. A comma is also called a statement terminator.
a. True
b. False
ANSWER: False
POINTS: 1
REFERENCES: 88
QUESTION TYPE: True / False
HAS VARIABLES: False
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 10/5/2016 1:36 PM

10. Suppose we declare a variable sum as an int. The statement "sum += 7;" is equivalent to the statement "sum =
sum + 7;".
a. True
b. False
ANSWER: True
POINTS: 1
REFERENCES: 93
QUESTION TYPE: True / False
HAS VARIABLES: False
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 10/16/2016 9:02 AM

11. The ____ rules of a programming language tell you which statements are legal, or accepted, by the programming
language.
a. semantic b. logical
c. syntax d. grammatical
ANSWER: c
POINTS: 1
REFERENCES: 34
QUESTION TYPE: Multiple Choice
HAS VARIABLES: False
DATE CREATED: 10/5/2016 1:36 PM
DATE MODIFIED: 10/16/2016 9:03 AM

12. Which of the following is a reserved word in C++?
a. char b. Char
c. CHAR d. character
ANSWER: a
POINTS: 1
REFERENCES: 35
Copyright Cengage Learning. Powered by Cognero. Page 3


mynursytest.store

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
YourBestAcademics Oxford University
Follow You need to be logged in order to follow users or courses
Sold
34
Member since
9 months
Number of followers
4
Documents
4851
Last sold
1 day ago
A+ Your Best Academics

Thank you for visiting this page, here you will find all sort of documents, package deals and flashcards offered by Learn logic.

3,0

2 reviews

5
1
4
0
3
0
2
0
1
1

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions