Many questions will be "short answer." For example:
Question: What does the following program write?
#include <iostream.h>
int main (void)
{
cout << "I love spaghetti," << endl ;
cout << "all " << 44 +3 / 8 + 9 << " kinds."<< endl ;
return 0 ;
}
Answer:
I love spaghetti,
all 53 kinds.
Question: Fill in the blanks with the proper terms.
A program is needed to translate the high-level C++ language
into ___________________ language. A __________________ is a
program that does this translation.
Answer: machine (or assembly);
compiler