You are on page 1of 5

TEST 2

ANSWER SCHEME

Question 1

A Burglar Alarm

Consider the design of a burglar alarm for a house. When activated an alarm and lights
will be activated to encourage the unwanted guest to leave. This alarm be activated if an
unauthorized intruder is detected by window sensor and a motion detector. The window
sensor is effectively a loop of wire that is a piece of thin metal foil that encircles the
window. If the window is broken, the foil breaks breaking the conductor. This behaves
like a normally closed switch. The motion sensor is designed so that when a person is
detected the output will go on. As with any alarm an activate/deactivate switch is also
needed. The basic operation of the alarm system, and the inputs and outputs of the
controller are itemized in See Controller Requirements List for Alarm.
(8 MARKS)

he equation and circuits shown in Figure can also be further simplified

(7 MARKS)
NO MARKS FOR LADDER DIAGRAM
Question 2

a)

From the truth table, the logic expression for sum and Cout
     
The Sum output,   A B Cin  A B Cin  A B Cin  ABC in
 A( BCin  BCin )  A( BCin  BCin )
 A( B  Cin )  A( B  Cin ) 2

 A  B  Cin
____ __ __
The Carry output, Cout  AB C in  A BCin  A B Cin  ABCin
 ____  ___ __
Cout  AB Cin  Cin   A BCi n  A B Cin
  __  __

Cout  AB  Cin  A B  A B  2
 
Cout  AB  Cin  A  B 

2
b)

c)

Cout

Question 3

1. Clocked flip-flop is a flip-flop with clock input typically labeled as CLK/CK


where the clock input is edge triggered i.e. activated by signal transition instead of
latches which are level triggered.

 1 mark for meaning of clock flip flop, another 1 mark for the
difference

2. MHz

 1 mark for the calculation


3.

*blank spaces are actually zero


JD =1; KD=1

 2 marks for each grouping

You might also like