Question 4
OCR Computer Science November 2020 Paper 1AS13 marks
On the specification
- (a)(i)
- 1.3 Exchanging data
- (a)(ii)
- 1.3 Exchanging data
- (b)
- 1.3 Exchanging data
- (c)
- 1.3 Exchanging data
Question text
4 Shreya is a web developer who creates webpages for a variety of different companies. (a) Photographs on a webpage are usually compressed. (i) State which method of compression is most likely to be used for this purpose. [1] (ii) Explain the need to compress photographs in this situation. [2] (b) In order to view a website, a user enters a website address into their web browser such as http://www.ocr.org.uk. The website will then be displayed onto the user’s screen. Explain how the Domain Name System (DNS) plays a role in websites being loaded. [4] (c) Shreya has received a webpage written in HTML shown in Fig. 2.1. <html> <head> <title>BBC Computer</title> <link rel="stylesheet" type="text/css" href="BBC.css"> </head> <body> <h1 id="Beeb">History of the BBC Micro Computer</h1> <h2>BBC Micro Models</h2> <ul> <li class="model">Model A</li> <li class="model">Model B</li> </ul> </body> </html> Fig. 2.1 Some of the formatting requirements for this webpage are shown in Fig. 2.2. Formatting Requirements Class/ID Text font-family colour History of the BBC Beeb times green Micro Computer Model A model arial red Model B Fig. 2.2 Write the CSS Shreya needs to display the webpage so that it meets the formatting requirements stated in Fig 2.2. [6]