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, which is dedicated to perform a task or tasks and execute... 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 involves three primary stages: Fetch, Decode, and Execute. During the Fetch stage, the CPU retrieves an instruction from memory. In the Decode stage, the CPU interprets the instruction, splitting it into operations to be performed. Finally, in the Execute stage, the CPU carries out the instructions, processing data and performing calculations as necessary.

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 at a specific address in memory. It is crucial for the execution process as it stores the instruction and works closely with the CPU to ensure that the correct operations are performed.

Step 3

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

96%

101 rated

Answer

The purpose of an analogue-to-digital converter (ADC) is to convert an analogue signal into a digital signal. It detects a continuously variable (analogue) signal and changes it into a digital format that can be processed by a microcontroller or digital system.

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 functions by accepting data one bit at a time, controlled by the pulse rate of the clock. It increments the count within the Count Register on each clock pulse until the register overflows. Once the counting is complete, the register is cleared for the next cycle, allowing continuous timing operations.

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

The RAM stores all data required by the CPU during program execution. It can read and write data, holding operational programs and data instantaneously needed for processing.

Step 6

5.4.1 Name TWO methods of sending data.

97%

121 rated

Answer

The two methods of sending data include:

  1. Simplex - Data is transmitted in one direction only.
  2. Duplex - Data can be sent and received simultaneously.

Step 7

5.4.2 State the advantages of parallel communication.

96%

114 rated

Answer

Parallel communication offers several advantages, including faster data transfer rates as multiple bits are sent simultaneously, and increased bandwidth, allowing more information to be transmitted in a shorter time.

Step 8

5.4.3 Name the disadvantages of synchronous communication.

99%

104 rated

Answer

The disadvantages of synchronous communication include the requirement of a clock signal, which can lead to complications if the master and slave devices are not synchronized, and it can be less flexible compared to asynchronous methods.

Step 9

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

96%

101 rated

Answer

The I²C bus is a powerful two-wire communication system that allows multiple devices to communicate over a single bus. It operates on a master-slave principle, where the master device controls the timing and the flow of data between itself and multiple slaves. The use of only two lines—Serial Clock Line (SCL) and Serial Data Line (SDA)—simplifies connections and reduces wiring complexity.

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

The pull-up resistors are necessary for maintaining the integrity of the signals on the SCL and SDA lines. They pull the lines high to a +5 V supply when no device is driving the line low, ensuring reliable operation.

Step 13

5.6.4 Name ONE characteristic of the slave.

96%

114 rated

Answer

One characteristic of the slave is that it cannot initiate a transfer on the I²C bus; it only responds to requests initiated by the master.

Step 14

5.6.5 List THREE advantages of the I²C bus.

99%

104 rated

Answer

Three advantages of the I²C bus include:

  1. It requires only two wires for communication, reducing wiring complexity.
  2. It is cheaper to implement than other communication protocols like SPI.
  3. It supports multiple master devices, enabling a flexible communication network.

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 +3V to +15V, while for logic '0' it is usually 0V to +0.8V.

Step 16

5.7.2 List THREE applications of the RS-232.

98%

120 rated

Answer

Three applications of the RS-232 communication protocol include:

  1. Printers
  2. Modems
  3. Data projectors

Step 17

5.8.1 Define the term program.

97%

117 rated

Answer

A program is a sequence of instructions that informs a computer how to perform a specific 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 required 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 also a reset button that can deactivate the alarm if it is pressed.

96%

114 rated

Answer

The flow diagram would start with the sensor monitoring the door. If the sensor is activated, the alarm will sound. From there, a decision branch checks if the reset button is pressed. If reset is pressed, the alarm will turn off; if not, the alarm continues to sound.

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

;