ExamBank Scot · N5 Engineering Science question bank · All N5 Engineering Science questions
13 marks · Flowcharts and programs
Complete the flowchart for the sequence shown opposite, with reference to the Data Booklet and input/output connections. Include all pin numbers and delay units in your flowchart. start pin 7 off pin 6 off No Yes A force applied to the seatbelt strap results in a stress of 15 N mm−2. The seatbelt strap has a cross-sectional area of 48 mm2. Calculate the force applied. A car safety system detects when the driver’s seatbelt is unfastened. seatbelt strap clip and seatbelt sensor The safety system is operated by a microcontroller. Input and output connections to the microcontroller are shown in the table below. Input connections Pin Output connections 7 warning lamp 6 buzzer seatbelt sensor 0 The safety system operates using the following sequence: • A warning lamp and a buzzer turn off. • When the seatbelt sensor is on, the sequence will return to the start. • If the seatbelt sensor is off, the warning lamp will turn on. • The buzzer will then turn on and off three times over a total period of 1.8 seconds. • The sequence will return to check the seatbelt sensor again.
Pin 0 on ? decision – 1 mark. Yes loop to start (arrow provided) – 1 mark. Pin 7 on in correct position – 1 mark. Pin 6 on and off in correct position – 1 mark. Both delays in correct position – 1 mark. Total delay time with unit = 0.6s - 1 mark. x3 ? decision with Y/N – 1 mark. Correct repeat sequence loop with arrow back to before pin 6 on – 1 mark. Loop after sequence with arrow back to before pin 0 – 1 mark Accept (on, off, delay) sequence repeated three times – 2 marks. All symbols correct – 1 mark. Ignore any additional steps. = 15 × 48 = 720 N (2 sf) 1 mark for substitution. 1 mark for transposition. 1 mark for correct answer from given working with unit.