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

N5 Computing Science 2026 Question 2

2 marks · Predefined functions

The weekly average screen time use of a tablet is calculated and stored in the variable screenTime. Using a programming language of your choice, write the code to store this weekly average screen time to two decimal places.

Marking scheme

• round function with brackets • with correct parameters o screentime o 2

Previous question: N5 Computing Science 2026 Question 1

Next question: N5 Computing Science 2026 Question 3