Introduction To Computer Systems and Programming - Revised - 1
Introduction To Computer Systems and Programming - Revised - 1
Instructions to candidates:
Hexadecimal Binary
0 0000
1 0001
2
3
4 0100
5
6
7 0111
8
9
A
B
C 1100
D
E
F 1111
Question 2:
Page 1 of 3
Question 3:
A G
D
B
F
H
C Figure 1
Question 4:
A novice engineer is hired to design the lighting system for a new car model. The new system
should control the headlights of the car such that they will only light up if the user switches
on the switch and the battery voltage is not less than 13.4V. This ensures that the headlights
of the car are not lit when the car battery is not being charged.
Furthermore, the headlights should not light up if the side lamps are switched OFF or one or
more of the car doors are open.
It is known that if the headlights are switched ON when the headlight wipers are being
operated, the headlights might get damaged, therefore when designing the system the
engineer decided that for the headlights to operate, the headlight wipers should be OFF.
If the variables in this question are the following A, B, C, D and E and the output is
Headlights ON (F), draw the logic circuit for the system and give a simplified logic
expression.
1. Switch ON (variable A)
2. Wipers switched ON (variable B)
3. One or more of the doors open (variable C)
4. Battery voltage is higher than 13.4V (variable D)
5. Side Lamps OFF (variable E) (15 marks)
Page 2 of 3
Question 5:
END OF EXAMINATION
Page 3 of 3