You are on page 1of 1

Individual Assignment for Mechanical Engineering, sec 1; out of 20%

1. Define the following terms( 1 mark each)


a) Central Processing Unit
b) Memory/ Storage Device
c) Peripheral Device
d) Operating System (give 2 example)
e) Bit
f) Byte
g) Nibble
The CPU consists of: ALU, a control unit, and a set of registers. So Explain
h) ALU
i) Control unit
j) Registers
2. Develop a program that tells students their grade based on the following
scale. (2 mark)

3. Write a program (programs) that print the following patterns. (8 marks)


A. C.

B. D.

You might also like