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

N5 Computing Science 2019 Question 15

10 marks · Website analysis

Analysis was carried out to identify the requirements for the fridge freezer pages. Part of the analysis report is shown below. Each new page of the site should focus on a specific fridge freezer. Each page should also allow a user to view pictures, read reviews and view the technical specifications of each fridge freezer. The page should also include a video showing the item in use. Using the information from the analysis report above, identify two end-user requirements of the fridge freezer pages. Requirement 1 Requirement 2 All the images that Chill Zone wants to use are on the fridge freezer manufacturers’ websites. Describe what Chill Zone must do to avoid prosecution under the Copyright, Designs and Patents Act when using these images. Chill Zone must select one of the fridge freezer images below. Each image has the same resolution. Image A Image B starFrostFree.jpg 800 × 400 starFrostFree.gif 800 × 400 State one advantage of each image compared to the other. Image A advantage Image B advantage Some of the HTML code used to create one of the pages on Chill Zone’s website is shown below. <html> <head> <title> Star Frost Free </title> <link rel = "stylesheet" type="text/css" href="ChillStyle.css"> </head> <body> <h1> Star Frost Free </h1> <h2> Images </h2> <p>View pictures of the new Star Frost Free </p> <img src="starFrostFreeOpen.jpg" onmouseover="this.src='starFrostFreeClosed.jpg'"> <h2> Reviews </h2> <p class = "review"> A great fridge! </p> <p class = "review"> Perfect size for our kitchen </p> … … <p>Go to <a href="home.html">Home Page</a> </p> </body> </html> When viewed in a browser the fridge freezer can be displayed as either an image showing the door open or an image showing the door closed. Identify the JavaScript event used to implement this feature. The code below is added. Describe two purposes of this code. <video width = "500" height = "250" controls> <source src="starFrostFree.mp4" type="video/mp4"> </video> Explain why the line of code below is included in every page of the website. <link rel = "stylesheet" type="text/css" href="ChillStyle.css"> State one security precaution that Chill Zone should take to protect its customers’ payment details when buying online. Chill Zone is an online electrical retailer. Fridge freezers need to be added to its current website.

Marking scheme

Any two from The users wish to: • see the pictures • read the reviews • read the technical specification • see the video Reference to “fridge freezers” is not required as this is given in question stem. Any one from • ask permission to use the pictures • purchase licence to use image One mark for any correct advantage • Image A (jpg): - greater colour depth - compression rate can be changed - lossy compression • Image B (gif): - transparency - animation - lossless compression - can change colour depth Do not accept “bit depth” as the colours used in both file types is 24bit. onmouseover Any two from • specifies the width of the video (500) pixels • specifies the height of the video (250) pixels • locates/displays the file (called “starFrost.mp4”) • shows video with control buttons Same style applied to (every page of) the website. Implements consistency across website Any one from • encrypt the data • have installed a firewall

Previous question: N5 Computing Science 2019 Question 14

Next question: N5 Computing Science 2019 Question 16