Module 2.2
Homework 1 - TMA 4


A.M.D.G.


The following instructions screenshot is from the Under Control program.

1. What are the effects of the following instructions? (4)

(a)

Top Lights
Bottom Lights
Left Lights
Right Lights
Bottom Filter
Top Filter
Left Filter
Right Filter
Time Period
G
R
R
R
0
1
0
0
10

(b)

Top Lights
Bottom Lights
Left Lights
Right Lights
Bottom Filter
Top Filter
Left Filter
Right Filter
Time Period
G
G
R
R
0
0
0
0
10

(c)

Top Lights
Bottom Lights
Left Lights
Right Lights
Bottom Filter
Top Filter
Left Filter
Right Filter
Time Period
S
R
A
G
0
0
0
0
10

(d)

Top Lights
Bottom Lights
Left Lights
Right Lights
Bottom Filter
Top Filter
Left Filter
Right Filter
Time Period
A
R
G
S
0
0
1
0
10
R
R
A
G
0
0
0
1
10

2. Which of the following control sequences could lead to a collision? (3)

(a)

Top Lights
Bottom Lights
Left Lights
Right Lights
Bottom Filter
Top Filter
Left Filter
Right Filter
Time Period
G
G
R
R
1
1
0
0
10

(b)

Top Lights
Bottom Lights
Left Lights
Right Lights
Bottom Filter
Top Filter
Left Filter
Right Filter
Time Period
A
S
G
R
0
1
0
0
10
R
G
A
R
1
0
0
0
10

3. How could filters improve the following system? (1)

Top Lights
Bottom Lights
Left Lights
Right Lights
Bottom Filter
Top Filter
Left Filter
Right Filter
Time Period
G
G
R
R
0
0
0
0
10
R
R
G
G
0
0
0
0
10

4. Why is it necessary to include Amber lights and Amber/Red lights? (2)

Total (10)