Attempt History
Attempt Time Score
KEPT Attempt 3 6 minutes 10 out of 10
LATEST Attempt 3 6 minutes 10 out of 10
Attempt 2 25 minutes 9 out of 10
Attempt 1 25 minutes 6 out of 10
Submitted Nov 18 at 5:22pm
Question 1
pts
The following string:
12_Angry_Men
Correct!
must not be used as a variable name
may be used as a variable name
Question 2
pts
A C++ language program may contain:
Correct!
exactly one function named main
no function named main
, any number of functions named main
Question 3
pts
A number written like this:
007
is an integer coded as a decimal number
is an integer coded as a hexadecimal number
Correct!
is an integer coded as an octal number
Question 4
pts
What is the value of the var variable after the execution of the following
snippet of code:
int var;
var = 10; /*
var = var + 10;
*/ var = var + var;
// var = var + var;
10
40
Attempt Time Score
KEPT Attempt 3 6 minutes 10 out of 10
LATEST Attempt 3 6 minutes 10 out of 10
Attempt 2 25 minutes 9 out of 10
Attempt 1 25 minutes 6 out of 10
Submitted Nov 18 at 5:22pm
Question 1
pts
The following string:
12_Angry_Men
Correct!
must not be used as a variable name
may be used as a variable name
Question 2
pts
A C++ language program may contain:
Correct!
exactly one function named main
no function named main
, any number of functions named main
Question 3
pts
A number written like this:
007
is an integer coded as a decimal number
is an integer coded as a hexadecimal number
Correct!
is an integer coded as an octal number
Question 4
pts
What is the value of the var variable after the execution of the following
snippet of code:
int var;
var = 10; /*
var = var + 10;
*/ var = var + var;
// var = var + var;
10
40