CONTINUOUS ASSESSMENT
PARALLEL COMPUTING
INSTRUCTIONS
1. Attempt all questions
2. Make suitable assumptions wherever necessary
SECTION ONE:
1. With regards to the following terms Cluster, Grid, Cloud Computing
a) Explain each of the underlined terms
b) Give two benefits of each
c) Compare and contrast the three terms
4 marks
2. Create project called MyRunnableProject as following.
Create a class called MyCurrentDate that implements Runnable interface. 4 marks
The MyCurrentDate class displays the current date and time 10 times, with 100 milli
seconds interval - use sleep() method for this interval. 2 marks
Create a class called MyMain, which contans main() method, in which 3 instances
of MyCurrentDate threads are being run. 2 marks
3. Write a program in which two processes repeatedly pass a message back and forth also insert
timing calls to measure the time taken to exchange one message 4 marks
4. Create four threads called
Class Addition extends Thread
Class Subtraction extends Thread
Class Multiplication extends Thread
Class Division extends Thread
It accepts two real numbers and computes the above four basic arithmetic operations
concurrently then displays the results. 4 marks
Page 1 of 2
SECTION TWO
1. What is a cluster in Computing? illustrate your definition with a diagram
2. Describe two architecture of a cluster
3. List and explain four components of a cluster
4. Explain with simple examples the benefits of computer cluster in
a. Cost reduction
b. Processing power
c. Improved network technology
d. Scalability
e. Availability
5. Give two application of clusters in real life
6. What can you say about the future of clusters
Page 2 of 2