Photo AI

Define the term microcontroller - NSC Electrical Technology Digital - Question 5 - 2019 - Paper 1

Question icon

Question 5

Define-the-term-microcontroller-NSC Electrical Technology Digital-Question 5-2019-Paper 1.png

Define the term microcontroller. A microcontroller is a computer presented in a single integrated circuit (IC) which is dedicated to perform a task or tasks and exe... show full transcript

Worked Solution & Example Answer:Define the term microcontroller - NSC Electrical Technology Digital - Question 5 - 2019 - Paper 1

Step 1

5.2.1 Describe the operating cycle of a CPU.

96%

114 rated

Answer

The operating cycle of a CPU consists of fetching instructions and data from memory, decoding them, and executing them in a repeated cycle known as the fetch-decode-execute cycle. It effectively functions as an 'Input-Process-Output' cycle.

Step 2

5.2.2 Explain the function of the current instruction register (CIR).

99%

104 rated

Answer

The Current Instruction Register (CIR) holds the instruction that is currently being executed. It keeps the instruction at the specific address and may split it into different parts such as an operation code and data address which are necessary for execution.

Step 3

5.2.3 State the purpose of an analogue-to-digital converter (ADC).

96%

101 rated

Answer

The ADC detects continuous analogue signals and converts them into a multi-level digital signal, allowing the microcontroller to process the analogue inputs.

Step 4

5.2.4 FIGURE 5.2.4 below is the block diagram of a simple counter/timer. Explain the operation of this timer.

98%

120 rated

Answer

The timer fetches data and instructions from a microprocessor through the data bus. It counts to a predetermined number by incrementing its count register on each clock pulse. When the register overflows, it resets for the next count.

Step 5

5.3 State the function of the random access memory (RAM) with reference to the CPU of a microcontroller.

97%

117 rated

Answer

RAM stores all data required for processing by the CPU during program execution. It can read and write data, holding operating systems and other data forms needed by the microcontroller.

Step 6

5.4.1 Name TWO methods of sending data.

97%

121 rated

Answer

The two methods of sending data are:

  1. Simplex
  2. Duplex

Step 7

5.4.2 State the advantages of parallel communication.

96%

114 rated

Answer

Parallel communication allows for faster data transmission and higher bandwidth as multiple bits can be sent simultaneously, reducing transmission time.

Step 8

5.4.3 Name the disadvantages of synchronous communication.

99%

104 rated

Answer

Synchronous communication requires a clock signal for both transmission and reception, resulting in dependency between the two devices and the necessity for synchronization.

Step 9

5.5 Describe the inter-integrated bus (I2C) as a type of communication peripheral.

96%

101 rated

Answer

I2C is a powerful two-wire communication protocol designed to facilitate communication between multiple devices on the same bus without additional circuitry. It ensures that the data is transmitted in a controlled manner.

Step 10

5.6.1 Label block A.

98%

120 rated

Answer

Block A is labeled as 'Master'.

Step 11

5.6.2 What does the abbreviation SCL stand for?

97%

117 rated

Answer

SCL stands for 'Serial Clock Line'.

Step 12

5.6.3 Explain the function of the pull-up resistors.

97%

121 rated

Answer

Pull-up resistors are connected to a +5 V supply and are necessary for the lines (SCL and SDA) to go high. They ensure that the bus is in a known state when no device is actively driving it.

Step 13

5.6.4 Name ONE characteristic of the slave.

96%

114 rated

Answer

A slave responds to requests initiated by the master and can only initiate a transfer when permitted by the master.

Step 14

5.6.5 List THREE advantages of the I2C bus.

99%

104 rated

Answer

The advantages of the I2C bus include:

  1. Only two wires are needed for communication.
  2. It supports multiple devices without additional address lines.
  3. It is more economical and easier to implement compared to SPI.

Step 15

5.7.1 State the operating voltages for logic '1' and logic '0'.

96%

101 rated

Answer

The operating voltage for logic '1' is typically +5V, while for logic '0' it is typically 0V.

Step 16

5.7.2 List THREE applications of the RS-232.

98%

120 rated

Answer

The applications of RS-232 include:

  1. Printers
  2. Modems
  3. CNC machine tools

Step 17

5.8.1 Define the term program.

97%

117 rated

Answer

A program is a sequence of instructions that inform a computer how to perform a task.

Step 18

5.8.2 Define the term flow diagram.

97%

121 rated

Answer

A flow diagram is a visual representation of the steps and decisions necessary to perform and complete a process.

Step 19

5.9 Design a flow diagram of an alarm system for a storage room which has ONE sensor that must monitor the access door to the room. The alarm must sound if the sensor is activated. There is no time delay in the sensor activation.

96%

114 rated

Answer

The flow diagram is structured as follows:

  • Start
  • Check Sensor
    • Yes: Sound Siren
    • No: Do nothing
  • Reset?
    • Yes: Turn Siren Off
    • No: Do nothing
  • End

Join the NSC students using SimpleStudy...

97% of Students

Report Improved Results

98% of Students

Recommend to friends

100,000+

Students Supported

1 Million+

Questions answered

;