NEW
Font size
WorksheetsCSNP 04103 C++ Midterm preparation
Total questions: 11
Worksheet time: 6mins
The "cout" statement can't be broken across multiple lines
True
False
Which of the following is not one of the three parts of a function declaration?.
Name
Return type
Parameters
Arguments
What is the first know computing device?
Eniac
Abacus
IBM Mainframe
Enigma Machine
Which variable identifier is valid?.
3rdPlace
Third Place
thirdPlace!
thirdPlace
What statement ends the main program?.
return 0;
}
;
)
An escape sequence is a two character sequence starting with / that represents a special character such as /t or /n?
True
False
The four parts of a conditional while loop are: initialization, test condition, execution and update condition?.
True
False
The three logical operators are
AND, OR, NOT
>, <, =
!=, <=, >=
++, --, ==
Is a general good practice is that a function definition shouldn't have more than 30 lines?.
True
False
Non-VOID functions that return a result do not require a return statement.
False
True
What is the first known computer?.
The Abacus
The Eniac
The IBM Mainframe
The Enigma Machine
