C++ Review Questions fill in the blank. Please answer all to the best of your ab
ID: 3829919 • Letter: C
Question
C++ Review Questions fill in the blank. Please answer all to the best of your ability! Thank you!
1.) An ________ operator can work with programmer-defined data types.
2.) When a relationship is established between two or more arrays by using the same
subscript to relate entries between the arrays, the arrays are called ________ arrays.
3.) We can estimate the ________ of an algorithm by counting the number of steps it
requires to solve a problem.
4.) In an ADT the implementation details are ________ the interface through which a
program uses it.
5.) You must have a(n) ________ for every variable you include in a program.
6.) Outside of a C++ program, a file is identified by its ________. Inside a C++ program, a
file is accessed through a ________.
7.) A variable must be defined
8.) A ________ variable is defined inside the body of a function and is not accessible
outside that function.
9.) The function ________ accepts pointers to two strings and an integer argument, which
indicates how many characters to copy from the second string to the first.
10.) A(n) ________ is a variable, usually a bool, that signals when a condition exists.
Explanation / Answer
1.) An overloaded operator can work with programmer-defined data types.
2.) When a relationship is established between two or more arrays by using the same
subscript to relate entries between the arrays, the arrays are called parallel arrays.
3.) We can estimate the time of an algorithm by counting the number of steps it
requires to solve a problem.
4.) In an ADT the implementation details are ________ the interface through which a
program uses it.
5.) You must have a(n) definition for every variable you include in a program.
6.) Outside of a C++ program, a file is identified by its name. Inside a C++ program, a
file is accessed through a file stream object.
7.) A variable must be defined before its use
8.) A local variable is defined inside the body of a function and is not accessible
outside that function.
9.) The function strcpy accepts pointers to two strings and an integer argument, which
indicates how many characters to copy from the second string to the first.
10.) A(n) flag is a variable, usually a bool, that signals when a condition exists.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.