 |
|
 |
 |
 |
 |
 |
|
|
|
|
|
Practice Test 1
There are 20 questions in this test
Question 1: Multiple Choice
Question 2: Multiple Choice 
A syntax error is signalled by the:
Question 3: Multiple Choice 
When a program is running the value of a
constant:
Question 4: Multiple Choice 
Which one of the following is a loop construct
that will always be executed once:
Question 5: Multiple Choice 
The type of a function/procedure/module
is determined by:
Question 6: Multiple Choice
Which type of code is editable?
Question 7: Multiple Choice
Typically a variable defined in a function/procedure/module
has:
Question 8: Multiple Choice
A program construct used for selection
is:
Question 9: Multiple Choice
What is the result of the following expression?
5+((2*(9+5))-4)/2
Question 10: Multiple Choice
What is the result of the following expression?
6+12*3-4/2
Question 11: Multiple Choice
A run-time error is ALWAYS caused by:
Question 12: Multiple Choice
Test results are proved by a comparison
of:
Question 13: Multiple Choice
An argument passed by reference passes:
Question 14: Multiple Choice
How many characters can a string hold when
declared as follows?
char name[20];
Question 15: Multiple Choice
Directives are translated by the:
Question 16: Multiple Choice
Every call to a function is checked by
the compiler against the:
Question 17: Multiple Choice
The function atoi() returns the type:
Question 18: Multiple Choice
How many bytes does “D” use?
Question 19: Multiple Choice
A standalone executable file requires:
Question 20: Multiple Choice
What is the result after execution of the
following code if a is 10, b is 5 and c is 10?
if((a>b)
&& (a<=c))
a = a + 1;
else
c = c + 1;
|
|
|