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

N5 Computing Science 2018 Question 18

16 marks · Website structure

Low-fidelity prototypes of each web page are shown below. Forrest Runners Home Page Welcome to Forrest Runners. Please select a link below to discover more about our club. Meeting Times Forrest Runners Meeting Times Competitions Club Awards Club meeting times are as follows: Junior Club Monday 7:30pm - 10pm Wednesday 5:30pm - 9pm Saturday 5pm - 9pm About Us Formed in 1996, our club has an active m runners. In 2005 we built a club house n where our formal track meetings take plac The club house will be opened 30 minutes before the start of Informal cross-country and town group ru each meeting. Remember it is the responsibility of every and posted on the club notice board. member to ensure the club changing rooms and showers are kept clean and tidy. Coaching is available from Janice Mcrone on Saturdays only. Click on the link below to visit Janice’s website for tips and advice. www.janicemcronerunning.com Return to Home Page Referring to the two prototypes, complete the hierarchical structure of the website below. Home Page Club Junior Competitions Awards Club When implementing the home page prototype, Julie makes use of several HTML elements. The diagram below identifies where <h1> and <img> elements have been used. Complete the diagram by drawing arrows to identify where the <p>, <h2> and <a> elements should be used. Forrest Runners Home Page <h1> Welcome to Forrest Runners. Please select a link below to discover more about our club. Meeting Times Competitions Club Awards Junior Club About Us Formed in 1996, our club has an active membership of around 150 runners. In 2005 we built a club house next to Pitwin Running Track where our formal track meetings take place three evenings a week. Informal cross-country and town group runs are organised by members and posted on the club notice board. <img> <h2> <p> <a> State two reasons why jpeg files are often used as the standard file format for photographs on web pages. Reason 1 Reason 2 When Julie created the ‘Junior Club’ web page, she used three <div> elements and external CSS rules to colour each of the three sections. HTML Document <!DOCTYPE html> <html> <head> <title>Forrest Runners</title> <link rel="stylesheet" href="styles.css"> </head> <body> <div> <h2>Forrest Juniors</h2> <p>Forrest Juniors Running Club is open to anybody aged 5 to 17. If you wish to run seriously or just for fun please come along at the following times.</p> </div> <div class="middlePart"> <h2>Meeting Times</h2> <p>Junior meeting times are 4pm-6pm on Tuesday, Wednesday and Sunday afternoons.</p> </div> <div> <h2>Required Kit</h2> <p>All runners are expected to bring their own:</p> <ul> <li> T-shirt or running top </li> <li> Shorts </li> <li> Trainers or running spikes </li> </ul> <a href="homePage.html">Back to Home Page</a> </div> </body> </html> styles.css body{background-color:DarkBlue} div {background-color:LightBlue} p { font-family:Times New Roman; font-size:12px; text-align:left; color:Black} .middlePart {background-color:White} Julie styled her <div> elements to display with a light blue background: div {background-color:LightBlue} Explain why a browser would not display the page with three light blue sections. The Junior Club web page is displayed in a browser. Part of this is shown below. All runners are expected to bring their own: • T-shirt or running top • Shorts • Trainers or running spikes Write a CSS rule that would ensure the text size of the bullet point list is the same text size as the sentence. The user can return to the Home page from the Junior Club page. State the type of hyperlink that has been used to return to the Home page. State the type of addressing that has been used in the hyperlink. Web developers test the consistency of the web pages they create. State two other examples of tests that can be carried out on a web page. Test 1 Test 2 Julie creates a website to advertise her athletics club.

Marking scheme

One mark each for: • meeting times page added with double-headed arrow from home to meeting times page • external page added • single headed arrow to external page. One mark each for: • <h2> arrow to “About Us” heading • <p> arrow to either paragraph of text • <a> arrow to any one of the four hyperlinks Any two from: • high colour depth • compressed format/smaller file size • popular format understood by browsers • downloads quicker One mark each for: • a class has been used • to style part of the page white. One mark each for: • new style assigned to ul{ } or li{ } • font-size:12px; (or 12pt) or font:12px; (or 12pt) For example: ul {font-size:12px;} If candidate changes the font size of the list to match the paragraph by styling the third <div> element assign: • one mark for class or ID • one mark for font-size:12px Internal Relative Any two from: • matches design • links/navigation works • text displays correctly • images display correctly • video plays correctly • audio plays correctly • animations display correctly • scripts execute correctly • search facility works • browser compatibility

Previous question: N5 Computing Science 2018 Question 17

Next question: N5 Computing Science 2018 Question 19