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: 3829923 • Letter: C

Question

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

1.) When an arithmetic expression contains two or more different operators, such
as * and +, the order in which the operations is done is determined by

2.) A structure variable is similar to a class object in which of the following ways?

3.) A constructor may have a return type of

4.) To ________ a value means to increase it.

5.) When the ________ is placed in front of a variable name, it returns the address of that
variable.

6.) If the item being searched for is not in the array, binary search stops looking for it and
reports that it is not there when

7.) The member function, ________, reads a single character from a file.

8.) If a variable occupies more than one byte of memory, its address is

9.) The statement
int grades[ ] = { 100, 90, 99, 80 };
is an example of

10.) Unlike regular variables, arrays can hold multiple

Explanation / Answer

Answer in bold.

1.) When an arithmetic expression contains two or more different operators, such
as * and +, the order in which the operations is done is determined by operator precedence

2.) A structure variable is similar to a class object in which of the following ways?

It contains data member similar to class

3.) A constructor may have a return type of Class Name

4.) To ++ a value means to increase it.

5.) When the & is placed in front of a variable name, it returns the address of that
variable.

6.) If the item being searched for is not in the array, binary search stops looking for it and
reports that it is not there when the pruned size of array being searced is 1 or 0

7.) The member function,getc(), reads a single character from a file.

8.) If a variable occupies more than one byte of memory, its address is word addressable

9.) The statement
int grades[ ] = { 100, 90, 99, 80 };
is an example of

Creating and initialising an array

10.) Unlike regular variables, arrays can hold multiple values of similar type

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