Professional Documents
Culture Documents
INSTRUCTIONS TO CANDIDATES
2. Answer ALL questions in the Answer Booklet. Start each answer on a new page.
3. Do not bring any material into the examination room unless permission is given by the
invigilator.
Please check to make sure that this examination pack consists of:
QUESTION 1
The machines in this category may execute several different programs which require distinct
processing units that would receive distinct instructions to be performed on the same data
item. This class of machines executes the data flows through a series of processing
elements and the pipelined architectures perform vector processing through a series of
stages, which performs a particular function and produces an intermediate result.
c) Explain THREE (3) general principles of pipelining levels of (a) model architecture.
(6 marks)
QUESTION 2
c) Describe and draw appropriate diagram that show the processing element address of a
4-cube can be arranged in a 4 x 4 array whose adjacent elements differ exactly by one
bit position as below.
QUESTION 3
QUESTION 4
b) Compare between module granularity and data granularity in mapping phase of parallel
algorithm design.
(4 marks)
c) Draw graph representation of adjacency matrix and adjacency list of the following
Kinabalu mountain climbing diagram.
(10 marks)
QUESTION 5
a) Find the minimum spanning tree of the following tree by using Prim's and Kruskal
algorithms.
(10 marks)
c) Describe the best-first search (BFS) method and state the main drawback of this
algorithm.
(5 marks)