ExamBank Scot · N5 Computing Science question bank · All N5 Computing Science questions
9 marks · User-interface design
As many customers as possible should be surveyed as they leave the cinema. It is important that answers to questions can be input as quickly as possible using a touchscreen. Using the information above, design a user interface for this part of the app. At the end of each day the app will calculate the average score for each film. The suggested design for this part of the app is shown below. get film from touchscreen add 1 to total customers was was No film A film B selected? selected? Yes Yes get score get score for film A for film B add score onto add score onto film A total film B total are Yes there any more customers? No average score for film A = film A total / total customers average score for film B = film B total / total customers Read the design for the cinema app and identify a value that will be stored as an integer the condition used in the loop an inefficient part of the design that could be removed without affecting the solution. The design does not calculate the average score for each film correctly. Describe a solution that would fix this error. A cinema is developing an app to survey customers. Cinema staff will ask customers questions as they leave the cinema. Staff will use a touchscreen on a tablet to input and submit the responses given by each customer. Customers will be asked the following questions. • Which of the two films the cinema is currently showing did you see? • What score would you give the film, from 1 to 5? • Did you purchase food in the cinema?
User interface design showing the following inputs for one mark each • selection of film • the numbers 1 to 5 • food - yes/no • option to submit answers/go to next customer None of the survey answers should be typed. Inputs could be represented as images, drop-down lists, buttons etc Award 0 marks if candidate has designed a program (flow chart, structure diagram, pseudocode) rather than a user interface. Any one from • total customers • score for film • film A total • film B total are there any more customers? was film B selected? Accept appropriate description of why the second decision regarding film B is not required. One mark each for • A count of the customers who saw each film is required. • The totals for each film can be divided by the above Answers could be marked on the flowchart provided in the question