Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

C++ Review Questions fill in the blank. Please answer all to the best of your ab

ID: 3829920 • Letter: C

Question

C++ Review Questions fill in the blank. Please answer all to the best of your ability! Thank you!

1.) A storage location in the computer's memory that can hold a piece of data is called

2.) To use the sqrt() function, or other mathematical library functions, you
must #include the ________ header file in your program.

3.) In the statement class Car:protected Vehicle, what is being protected?

4.) A C-string is a sequence of characters stored in consecutive memory, terminated by a

5.) Hand tracing a program is

6.) Program code that can be evaluated to a value is called a(n)

7.) The ideal type of loop to use if you want a user to enter exactly 20 values is a(n)
________ loop.

8.) When a program lets the user know that an invalid menu choice has been made, this is
an example of

9.) A C++ member function that uses, but does not change, the value of a member
variable is called

10.) A trailing else placed at the end of an if/else if statement provides a default
action when ________ of the if conditions is/are true.

Explanation / Answer

1.) A storage location in the computer's memory that can hold a piece of data is called variable

2.) To use the sqrt() function, or other mathematical library functions, you
must #include the cmath header file in your program.

3.) In the statement class Car:protected Vehicle, what is being protected?
   protected is access specifiers and it is a keyword.

4.) A C-string is a sequence of characters stored in consecutive memory, terminated by a a null character()

5.) Hand tracing a program is debugging

6.) Program code that can be evaluated to a value is called a(n) expression

7.) The ideal type of loop to use if you want a user to enter exactly 20 values is a(n) for loop.

8.) When a program lets the user know that an invalid menu choice has been made, this is
an example of    input validation


9.) A C++ member function that uses, but does not change, the value of a member
variable is called accessor

10.) A trailing else placed at the end of an if/else if statement provides a default
action when none of the if conditions is/are true.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote