The execution of a program begins with the main function
True
False
C is not case sensitive
True
False
Decelerations can be placed anywhere in the program
True
False
Statements and declarations must end with a semicolon
True
False
The results of an integer division is a rounded result
True
False
Is int i, j, k, a correct statment?
Correct
Incorrect
Is float fl=11, f2=202.00; a correct statement?
Correct
Incorrect
Is DOUBLE D1, D2, D3; a correct statement?
Correct
Incorrect
Is float a1=a2; a correct statement?
Correct
Incorrect
Is int n, m_m; a correct statement?
Correct
Incorrect
Which is NOT a C keyword
const
goto
static
when
unsigned
In a declaration, the type specifier and the variable name are separated by
a period
a space
an equal sign
a semicolon
none of the above
Which of the following declarations would properly define x, y, and z as double variables?
double x,y,z;
long double x,y,z;
double x=y=z;
double X,Y,Z;
In C, the binary operator % is applied to compute
integer division
floating-point division
the remainder of integer division
the remainder of floating-point division
none of the above
Which of the following assignments produces a value of zero?
result = 9%3 - 1;
result = 8%3 - 1;
result = 2 - 5%2;
result = 2 - 6%2;
result = 2 - 8%3;
0
{"name":"Engineering Quiz 2", "url":"https://www.quiz-maker.com/QVCSSWP","txt":"The execution of a program begins with the main function, C is not case sensitive, Decelerations can be placed anywhere in the program","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}