1.
In a flowchart, which basic operation is a rectangle used to represent?
A. 
B. 
C. 
D. 
2.
Which of the following is not a significant part of a simple problem?
A. 
B. 
C. 
D. 
3.
During problem decomposition, expected results are documented in the _____________ column in the defining diagram.
A. 
B. 
C. 
D. 
4.
Developing and representing algorithms are included in the _______ step in the problem solving process.
A. 
B. 
C. 
D. 
5.
ALL of the following are true about variables and constants EXCEPT that _______
A. 
The have names called identifiers.
B. 
Their names refer to an area of memory.
C. 
Their names are created by the programmer.
D. 
They can be used interchangeably.
6.
Which of the following is an incorrect variable name?
A. 
B. 
C. 
D. 
7.
A ________ is a named location in memory, the value of which remains fixed.
A. 
B. 
C. 
D. 
8.
Which data type is MOST appropriate for storing a value representing the weight of a new born child?
A. 
B. 
C. 
D. 
9.
What is the output of the following algorithms, if a is 5 and b is 9?
Read a, b
a= a+b
b= a/2
Print a, b
A. 
B. 
C. 
D. 
10.
Which condition will determine if n is of a higher value than 10?
A. 
B. 
C. 
D. 
11.
Consider the following: Five numbers are to be input (under the control of a loop). The biggest number must be determined and output. How many columns are necessary for the required trace table?
A. 
B. 
C. 
D. 
12.
The number of ________ in an algorithm determines the number of rows in a trace table.
A. 
B. 
C. 
D. 
13.
Pseudocode is a __________ representation of algorithms
A. 
B. 
C. 
D. 
14.
Which statement is used to determine if the value of x is the same or less than the value of y?
A. 
B. 
C. 
D. 
15.
A _________ is a named location in memory, the value of which changes during program execution.
A. 
B. 
C. 
D. 
16.
An algorithm specifies the flow of control from one ________ to another.
A. 
B. 
C. 
D. 
17.
Which algorithm will accept, add and then calculate and output the mean of TWO numbers?
A. 
Sum = n1 + n2
read n1, n2
write sum
write avg
B. 
Sum = n1 + n2
read n1, n2
sum = n1 + n2
write avg
C. 
Read n1, n2
sum = n1 + n2
avg = sum/2
write avg
D. 
Read n1, n2
sum= n1 + n2/2
avg = sum/2
18.
In flowcharting, which basic operation is a diamond used to represent?
A. 
B. 
C. 
D. 
19.
Which statement is used to determine and output the bigger of two unequal numbers?
A. 
IF n1 > n2 THEN
print n2
else print n1
B. 
IF n1 < n2 THEN
print n2
ELSE print n1
C. 
IF n1 > n2 THEN
print n2
ELSE print n1
D. 
IF n1 > n2 THEN
print n1
ELSE print n2
20.
Which of the following descriptions are characteristics of an algorithm?
i. Precise
ii. Ambiguous
iii. Terminable
iv. Unambiguous
A. 
B. 
C. 
D. 
21.
State the correct DATA TYPE for the example provided.
45
22.
State the correct DATA TYPE for the example provided.
3.14
23.
State the correct DATA TYPE for the example provided.
A
24.
State the correct DATA TYPE for the example provided.
Maria
25.
State the correct DATA TYPE for the example provided.
Cloudy = true
Sunny = false