ExamBank Scot · N5 Engineering Science question bank · All N5 Engineering Science questions

N5 Engineering Science 2025 Question 9

13 marks · Flowcharts and programs

Complete the flowchart for this sequence, with reference to the data booklet and input/output connections shown opposite. Include all pin numbers and the delay units in your flowchart. start An incomplete microcontroller wiring diagram used to test the sequence is shown below. 5.0 V 0 7 1 6 2 5 3 4 0 V Complete the wiring diagram with reference to the input/output table shown below. Input connection Pin Output connection 7 red lamp 6 buzzer start switch 1 During testing it was found that the lamp was not bright enough. State the name of an electronic component that could be added to cause the lamp to turn on brightly when the pin is switched on. A skiing competition has each competitor starting the race with 1 minute intervals between them. A microcontroller is used to control the starting signal for each competitor. The sequence used is shown below. 1. A red lamp is turned on. 2. A start switch is activated. 3. The red lamp turns off and a buzzer turns on. 4. After a 0.5 second delay, the buzzer turns off and the red lamp turns on. 5. There is a 1 minute delay. 6. Steps 3 to 5 are repeated 50 times. 7. The red lamp turns off and the sequence ends. Input and output connections to the microcontroller are shown in the table below. Input connection Pin Output connection 7 red lamp 6 buzzer start switch 1

Marking scheme

1 mark - (FIRST) Pin 7 on and off in correct position. 1 mark - Pin 1 on? with Y/N, loop and arrow in correct position. 1 mark - Pin 6 on and off in correct position. 1 mark - 0.5s delay in correct position with unit. 1 mark - (SECOND) Pin 7 on and off in correct position. 1 mark – 1 min (60s) delay in correct position with unit. 1 mark - x50 decision with Y/N in correct position. 1 mark - Loop with arrow (x50 decision) back to between pin 1 on and pin 7 off. 1 mark – end (stop). 1 mark - all correct symbols. Ignore any additional steps including their symbols. 1 mark for switch symbol wired between 5V and pin 1. Accept push to make switch. 1 mark for lamp symbol wired between pin 7 and 0V. Transistor Accept relay (switch)/MOSFET. Do not accept driver.

Previous question: N5 Engineering Science 2025 Question 8

Next question: N5 Engineering Science 2025 Question 10