SECTION A: Multiple Choice
e Respond to ALL problems in this section.
e Select the best option in each of the problems in this section.
e Your responses must be written in the answer booklet provided.
e Marks to each question or part of question are given in [ ].
[20 marks]
Problem A1
Which one of the below mentioned data structures is a linear data structure?
A. Binary tree
B. Binary search tree
C. Graph
D. Queue
(2 marks]
Problem A2
Which of the following statements is true?
Statement A: A binary tree is always a binary search tree.
Statement B: A binary search tree is a graph.
A. Statement A is true, and Statement B is false.
B. Statement A is false, and statement B is true.
C. Both Statement A and Statement B are true.
D. Both Statement A and Statement B are false.
[2 marks]
Problem A3
Which of the following algorithms makes use of the divide and conquer approach to solving a
problem?
A. Binary search tree
B. Binary search
C. Program
D. Graph
[2 marks]
Problem A4
Which of the following operations can be performed ona graph?
A. Insertion-adding an element to the graph
B. Deletion-removing an element from the graph
C. Search-seek for an element in a given graph
D. All of the above
[2 marks]
Problem A5
An algorithm can be represented using the following.
A. Pseudo code
B. Flow chart
C. None of the above
D. BothAandB
[2 marks]
Problem A6
If the number of records to be sorted is small, then
sorting can be efficient.
A. Binary
B. Insertion
C. Selection
D. Bubble
[2 marks]