EDS Test - 1
EDS Test - 1
TEST 1
SUBJECT: CODE:
Digital Technology II EDT125C
STATIONERY:
1. Non-Alphanumeric Calculator
2. Pen and Ruler
Signature:
ASSESSOR: P. Veldtsman
Assistant ASSESSOR(S): N. B. Patrick
1.1.3. Give the function of the three basic parts of a computer? (3)
----------------------------------------------------------------------------------------------------------------
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
----------------------------------------------------------------------------------------------------------------
Page 3 of 6
2.1. Using the table below, state the five key differences between Microprocessors and
Microcontrollers: (10)
----------------------------------------------------------------------------------------------------------------
Microprocessors Microcontrollers
1. 1.
2. 2.
3. 3.
4. 4.
5. 5.
----------------------------------------------------------------------------------------------------------------
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
----------------------------------------------------------------------------------------------------------------
2.3. Draw the flow chart that will implement an assembler program to do the following
Read PORTB0 to B4 and write the result on PORTA0 to A4.
Make all unused pins outputs. (3)
----------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------
Page 5 of 6
4.1. Create a two-line instruction program using the register provided on page 6, to Using
the register given on page 6, to enable the Microcontroller device (PIC16F818) to
operate in a digital configuration. (4)
----------------------------------------------------------------------------------------------------------------
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
----------------------------------------------------------------------------------------------------------------
4.2. Complete the after column when the following instruction/s are executed:
Location Execution
W Register D’97’
FSR Register D’22’
Data Memory Location D’197’
0x20
C Flag*
Z Flag*
----------------------------------------------------------------------------------------------------------------