0% found this document useful (0 votes)
29 views6 pages

EDS Test - 1

Test 1 for EDS

Uploaded by

esinako339
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views6 pages

EDS Test - 1

Test 1 for EDS

Uploaded by

esinako339
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Page 1 of 6

TEST 1

DATE: September 2022

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

Duration of paper: 60 minutes Maximum marks: 35

ANSWER ALL THE QUESTIONS.


Page 2 of 6

Question 1 Terminology used with Microprocessor [9]

1.1. A microprocessor is basically the brain of the computer, it is basically a computer


processor that is mounted on a single IC (Integrated Circuit):
1.1.1. State the three basic task a microprocessor performs while processing the
information? (3)
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
----------------------------------------------------------------------------------------------------------------

1.1.2. State the three important characteristics of a microprocessor? (3)


----------------------------------------------------------------------------------------------------------------
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..

1.1.3. Give the function of the three basic parts of a computer? (3)
----------------------------------------------------------------------------------------------------------------
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
----------------------------------------------------------------------------------------------------------------
Page 3 of 6

Question 2 Terminology used with Microcontrollers [11]

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.2. Explain the function of an Oscillator in a Microcontrollers configuration? (1)


----------------------------------------------------------------------------------------------------------------
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
----------------------------------------------------------------------------------------------------------------

2.3.Give four advantages of the PIC Microcontroller; (4)


----------------------------------------------------------------------------------------------------------------
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
Page 4 of 6

……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
----------------------------------------------------------------------------------------------------------------

Question 3 Flowchart and Assembler Language [6]

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

2.3. Hexadecimal numbers in computing is used for abbreviating lengthy binary


representations. Convert the following binary numbers to their equivalent
Hexadecimal value; (3)

a) 1110 1100 1101 0001


b) 0111 0010 0000 1101
c) 0001 1111 1100 1000
----------------------------------------------------------------------------------------------------------------
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
……………………………………………………………………………………..
----------------------------------------------------------------------------------------------------------------

Question 4 Functioning of the PIC16F88 and Program Code [9]

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:

TEMP EQU 0x21


ADDWF 0x20 (5)

Register/Data Memory Before After Execution


Page 6 of 6

Location Execution
W Register D’97’
FSR Register D’22’
Data Memory Location D’197’
0x20
C Flag*
Z Flag*

----------------------------------------------------------------------------------------------------------------

You might also like