A Level Computer Science Revision Pack 01 – Computer Systems

2y ago
130 Views
12 Downloads
6.15 MB
177 Pages
Last View : 3d ago
Last Download : 1m ago
Upload by : Joanna Keil
Transcription

A Level Computer Science Revision Pack01 – Computer SystemsThe mark scheme for each paper follows the questionsIncluded (in order of appearance)201920182017How to revise Computer SciencePractice questions from past papers are one of the best methods of revising topics from the course.This approach, accompanied by creating notes and reading the course textbook as a source forinformation, has proven successful for many of our previous students.How to revise a particular topicthis is generic and by no means a one size fits all approach1. On a single sheet of A4, write down everything you currently know about the topic. Do thisprior to reading the course textbook or seeking help from previous notes.2. Now consult course textbook for the topic and add to this sheet, anything you did not knowthat is necessary – once complete, highlight these points – these are the areas you need tolearn.3. Locate questions based around this topic in the past paper pack and attempt to answerthem.4. Confirm with the mark scheme as to your success in answering the question.The end goal of this approach would be that you are comfortably able to produce a piece of A4 foreach topic of the course and then apply this information to the past paper questions.Obtaining feedback for answersThe students who succeed the best in computer science are those who seek constant feedback fromteachers, not just in the scope of a lesson. Any work you produce out of lesson such as past paperquestion answers or programming challenges, you should want to seek feedback for. This can beachieved by:1. Taking work to a teacher during school time.2. Emailing a teacher your answers, questions etc.Mr Ravenscroft – l.ravenscroft@bishopchalloner.bham.sch.ukMr Ebrahim – b.ebrahim@bishopchalloner.bham.sch.ukAs your teachers we want to give you feedback!

Study Skills and SupportPurpose ofindependent StudyExam board: OCRCourse length: 2 yearsHow is it assessed? 2 written exams on 01 – Computer Systems and 02 – Algorithms andProgramming (each worth 40%) and a programming project worth 20%.Modules covered:01 – Processors, Input – Output and Storage, Systems software, software development,compression, databases, networks, web technologies, data types, data structures, Booleanalgebra, morals and ethics.02 – Thinking abstractly; ahead; procedurally; logically; concurrently, programing techniques,computational methods, algorithms.Familiarity with assessment objectives isnecessary in exam answers to ensureapplication and evaluationEmbed and commit knowledge andunderstanding to long term memory forexamination recallDevelop understanding of programmingbeyond the curriculum to enablesuccess in the programming projectDevelop awareness and appreciation forthe use of computer science in thewider world; which can be included inextended answersResourceLinkUseful For RequirementsCourseTextbookN/AIndependent revision &studyYouTubeYouTubePast PaperPacksN/ADepartmentalresourcesMr FraserAll stored within the Microsoft TeamsTeam for the group.www.mrfraser.orgKnowledge booster,second voiceExam style questionpractice, independentstudyAccessing departmentalmaterials and lessonsAccessing resourcesand work sheetsCourse textbookfrom the schoollibrary.N/ACraig n Davecraigndave.orgAQA PastPapersClass TeachersSearch ‘AQA A Level Computer Science PastPapers’ on Google.Resources for topics –broken down by specDifferent phrasing ofexam style kb.ebrahim@bishopchalloner.bham.sch.ukPast paper packfrom class teacherSchool email andpassword login.mrfraser.org loginaccount (free tocreate)Access is free formost content –school has a paidaccountN/A

Oxford Cambridge and RSAMonday 3 June 2019 – MorningA Level Computer ScienceH446/01 Computer SystemsTime allowed: 2 hours 30 minutes* 7 6 7 7 6 5 3 4 1 3 *You may use: a ruler (cm/mm) an HB pencilDo not use: a calculator*H44601*Please write clearly in black ink. Do not write in the barcodes.Centre numberCandidate numberFirst name(s) Last name INSTRUCTIONS Use black ink. You may use an HB pencil for graphs and diagrams. Answer all the questions. Write your answer to each question in the space provided. Additional paper may beused if required but you must clearly show your candidate number, centre number andquestion number(s).INFORMATION The total mark for this paper is 140. The marks for each question are shown in brackets [ ]. Quality of extended responses will be assessed in questions marked with anasterisk (*). This document consists of 28 pages. OCR 2019 [601/4911/5]DC (ST) 172818/4OCR is an exempt CharityTurn over

21A company releases an in-home virtual assistant called ‘Bertie Butler’.The device, when placed in a room, listens out for the phrase “Hey Bertie”. When someone saysthat phrase it then listens to the question that follows and tries to give a relevant answer.Bertie Butler has a number of built-in input and output devices.(a) Name one input device and one output device that might be part of Bertie Butler. For eachdevice give a reason for it being built into the virtual assistant.Input Device Name: .Input Device Reason: .Output Device Name: .Output Device Reason: .[4]The Bertie Butler device runs off an embedded operating system.(b) Define the term ‘embedded operating system’. [2] OCR 2019

3(c) Bertie Butler’s circuitry is designed to only listen out for “Hey Bertie” under certaincircumstances, which are:The privacy button (P) must be off and the microphone must generate a signal (S) to say asound has been heard.(i)Complete the truth table for whether the device is listening Draw logic gates to represent the circuitry needed.[3](d) The Bertie Butler machine uses a multicore processor.Define the term ‘multicore processor’.[2] OCR 2019Turn over

42A survey is carried out to look at the types of vehicle that travel down a stretch of motorway.For each vehicle that passes by, a letter is entered into the system.For a car ‘C’ is entered.For a motorbike ‘M’ is entered.For a lorry ‘L’ is entered.For any other vehicle ‘O’ is entered.It is decided to compress the data that has been generated.(a) State what is meant by the term ‘compression’.[1]It is decided that Run Length Encoding will be used.(b) The following sequence has been compressed using Run Length Encoding.3C3M4CShow the result of decompressing the sequence.[2](c) Show the result of using Run Length Encoding to compress the sequence:CCCCOLLLCCCCCMOCCCCC[3] OCR 2019

5The survey takers want to find out the longest continuous sequence of cars in any given chunk ofdata. For example, in the dataCCMCCCCLLCCCthe longest sequence would be 4.(d) Write the function longest which takes in a string of characters as an argument and returnsan integer representing the longest continuous sequence of Cs.[5] OCR 2019Turn over

63A program written in the Little Man Computer instruction set is given ountonecountnumendlooptotal1000(a) State what the program outputs are for the following inputs.InputOutput123[3](b) State what the purpose of the program is.[1](c) Explain which registers are used and their values when the line STA count is executed andthe accumulator is holding the value 9. The label count refers to memory location 16.[2] OCR 2019

7Whilst the line STA count is being executed, the CPU receives a signal from another process,requiring its attention.(d) State the name for the signal received by the CPU.[1](e) The code uses direct addressing. Describe one other mode of addressing.[2] OCR 2019Turn over

84Traditionally films have been distributed on optical media such as DVDs.(a) Giving an example other than DVDs, describe what is meant by the term ‘optical media’.[2](b) Give one advantage of films being distributed using optical media.[1]Adding a DVD drive to a computer would often require the installation of a piece of software calleda device driver.(c) State the purpose of a device driver.[1]It is now common for people to purchase films which, rather than having a physical copy of, theycan stream or download over the internet whenever they want.(d) Explain the advantages and disadvantages of owning films that are streamed or downloadedon demand rather than owning a physical copy.[4] OCR 2019

9Being able to stream high resolution films is only possible due to improvements in compression.(e) Explain why compression is important for the streaming of high resolution films.[3] OCR 2019Turn over

105A programmer is writing software for a firewall. She is writing code so that it keeps a track ofwebsites that users are permitted to visit. The software stores the websites’ addresses along withdetails about who can view them and when.The following data is also stored about each website: Access level needed (1-4)If it is available all the time (true) or just lunch times and out of work hours (false).So a website which is available to users of access level 2 and above, all the time, would have thedetails [2, true] stored.A website accessible to users of access level 3 and above, only outside of work hours, would havethe details [3, false] stored.(a) State the name of a data structure that could be used to store a single site’s details.[1]The address of each website, along with the relevant details, are stored in a hash table.The hash table’s hash function is carried out on the website’s address (which acts as the key).The hash function works in the following way:1.2.3.4.ABDiscard the characters up to and including the first dot.Discard the characters including and to the right of the remaining leftmost dot.Convert the characters to uppercase.Add the ASCII values of the characters together.CDEFGHIJKLMNOPQRSTUV W XYZ65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90For example www.ocr.org.uk gets hashed in the following manner:Step 1:ocr.org.ukStep 2:ocrStep 3:OCRStep 4:79 67 82 228giving a hashed value of 228. OCR 2019

11(b) State what hashed value would be given by the website www.foo.co.uk.[1](c) Complete the function hash which takes in a string and returns the hashed value.You can assume you have access to the following three functions. asc() – this takes in a character and returns its ASCII value. For example asc("A")returns 65. l ocate() – this takes in a string and character and returns the location of the firstinstance of the character (with the string starting at character 0). For examplelocate("electricity","c") returns 3. upper() – this takes in a string and returns the UPPERCASE version. For exampleupper("hello") returns "HELLO".You should also assume that all given website names use letters but no numbers or symbols.You will be given credit for the readability of your code.function hash(siteName)endfunction[5] OCR 2019Turn over

12A flaw with the current hash function is it tends to generate lots of collisions (addresses that computeto the same hash). Below is a diagram of part of the hash table. The address www.rnd.com withdetails [2, true] is being added to the hash table.(d) Explain how a hash table can be used to handle collisions, referring to the example below.227228229230231232234235www.ocr.org.uk : [1, true]www.ppf.nz : [2, false]www.ntf.biz : [4, true].[4] OCR 2019

13The hash function is changed so there are no longer high numbers of collisions.During busy periods the firewall is expected to check several addresses a second. It is anticipatedthat roughly 10 new addresses will be added to a whitelist (list of acceptable addresses) each day.There is a debate as to whether a hash table (with the new hash function) is the best approach, orif the whitelist would be better stored in a linked list.(e) *Discuss whether a hash table or linked list is better to store acceptable websites. Youshould compare how each structure can be searched and has data added and come to arecommendation as to which is better for the whitelist. [12]. OCR 2019Turn over

14. OCR 2019

156A company makes anti-virus software.Anti-virus software is an example of a utility.(a) Define the term ‘utility’.[2](b) State how an application differs from a utility.[1]In order to keep up to date with the latest virus threats, the company is continually updating theirsoftware.The programmers use an Extreme Programming approach when developing the updates.(c) Explain what is meant by Extreme Programming and why it is a suitable approach in thiscase.[4] OCR 2019Turn over

16(d) Explain why the programmers of anti-virus software may make use of virtual machines whendeveloping the updates.[3]When running the anti-virus software, an operating system uses a scheduling algorithm todetermine an allocation of CPU time to the anti-virus software.(e) Explain why a First Come First Served scheduling algorithm would not be suitable in thissituation.[2]In the late 1990s the CIH virus hit headlines because it was able to overwrite and destroy thecontents of a computer’s BIOS.(f)Describe what the effect would be of a computer having its BIOS overwritten.[2] OCR 2019

177RestaurantReview is a website that allows users to leave reviews and ratings for differentrestaurants.The website uses a database with the following structure.UserReviewRestaurantThe database management system ensures referential integrity is maintained.(a) Explain what is meant by referential integrity, giving an example which refers to the databasedescribed above.[3](b) Each review includes a score out of 5. When the score is entered on the website it is checkedin the browser to ensure a number no higher than 5 has been entered. It is then checkedagain on the server.(i)State what is meant by the term ‘server’.[1](ii)Explain why it is important that the review score that the user entered is also checkedserver-side.[2] OCR 2019Turn over

18Whenever a review is added to the system, the restaurant’s average rating is updated. Thistransaction is ACID.The A in ACID refers to Atomic.(c) Describe what is meant by the term ‘Atomic’ in the context of ACID transactions. You shouldrefer to the example of a review being added.[2](d) State what the letters CID refer to in ACID.CID[3]The database previously stored reviews using the ASCII character set. ASCII uses 1 byte percharacter. It is decided to switch to the Unicode UTF-32 character set which uses 4 bytes percharacter.(e) Give an advantage and disadvantage of changing character sets from ASCII to UnicodeUTF-32.Advantage.Disadvantage[2] OCR 2019

198A simple program is shown below.//Program to calculate number of times//a number goes into 100count 0num int(input("Enter a number"))while (count*num) 100count count 1endwhilecount count-1 //Take one off as gone overprint(str(num) " goes into 100 " str(count) " times.")Fig. 8.1(a) State the output of the program when the number 30 is entered.[1](b) State the most suitable data type of the variable count[1](c) State the data type of the result of the expression (count*num) 100[1](d) State the data type of the result of the expressionstr(num) " goes into 100 " str(count) " times."[1] OCR 2019Turn over

20(e) Write extra code so the program also displays the remainder.[2]The program is compiled. The first stage is Lexical Analysis.(f)Referring to examples in the code in Fig. 8.1, explain what happens in Lexical Analysis.[3](g) State the name of the stage of compilation that directly follows Lexical Analysis.[1] OCR 2019

219*Discuss the positive and negative impacts computers are having on the environment.[9] OCR 2019Turn over

2210 (a) Show how the binary number 01011110 is represented in hexadecimal.[1](b) Show how the hexadecimal number 9B is represented in denary.[2](c) Show how the denary number 87 is represented in sign and magnitude binary.[2](d) Complete the following binary subtraction. Show your working.01001001-00101111[2] OCR 2019

23(e) The floating point binary number 010011 011 consists of a 6-bit mantissa and 3-bit exponent,both represented in two’s complement. Convert the number to denary, showing your working.[3](f)Show the denary number 5.25 in floating point binary form representing the mantissa andexponent in two’s complement, using as few bits as possible. Show your working.[4] OCR 2019Turn over

2411A web development company makes its money building websites for other companies.(a)* The web development company is looking to recruit a programmer to build websites.Discuss the technologies the programmer would need to know and use and the importance ofeach one.[9] OCR 2019

25(b) Part of a website’s code is shown below. head title Orville's Oranges /title link rel "stylesheet" type "text/css" href "mainStyle.css" /head Explain the meaning of the code.[2](c) The site also contains the following code. div class "offer" All oranges 50% off. /div Complete the CSS code that would make any div elements of the class offer have anorange border.{border-style: solid;}[2] OCR 2019

26BLANK PAGEPLEASE DO NOT WRITE ON THIS PAGE OCR 2019

27BLANK PAGEPLEASE DO NOT WRITE ON THIS PAGE OCR 2019

28PLEASE DO NOT WRITE ON THIS PAGEOxford Cambridge and RSACopyright InformationOCR is committed to seeking permission to reproduce all third-party content that it uses in its assessment materials. OCR has attempted to identify and contact all copyright holderswhose work is used in this paper. To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced in the OCR CopyrightAcknowledgements Booklet. This is produced for each series of examinations and is freely available to download from our public website (www.ocr.org.uk) after the live examination series.If OCR has unwittingly failed to correctly acknowledge or clear any third-party content in this assessment material, OCR will be happy to correct its mistake at the earliest possibleopportunity.For queries or further information please contact The OCR Copyright Team, The Triangle Building, Shaftesbury Road, Cambridge CB2 8EA.OCR is part of the Cambridge Assessment Group; Cambridge Assessment is the brand name of University of Cambridge Local Examinations Syndicate (UCLES), which is itself adepartment of the University of Cambridge. OCR 2019

GCEComputer ScienceH446/01: Computer systemsAdvanced GCEMark Scheme for June 2019Oxford Cambridge and RSA Examinations

OCR (Oxford Cambridge and RSA) is a leading UK awarding body, providing a wide rangeof qualifications to meet the needs

A Level Computer Science Revision Pack 01 – Computer Systems The mark scheme for each paper follows the questions Included (in order of appearance) 2019 2018 2017 How to revise Computer Science Practice questions from past papers are on

Related Documents:

Prepared for District 5 Toastmasters By Mark Kramer, DTM Original Version July 2007 1st Revision June 2008 2nd Revision November 2008 3rd Revision June 2009 4th Revision May 2010 5th Revision May 2011 6th Revision May 2012 7th Revision May 2013 8th Revision May 2014 9th Revision Nov

stair pressurization fan condensing units, typ. of (3) elevator overrun stair pressurization fan november 2, 2016. nadaaa perkins will ]mit ]] ]site 4 october 21 2016 10 7'-3" hayward level 1 level 2 level 3 level 4 level 5 level 6 level 7 level 1 level 2 level 3 level 4 level 5 level 6 level 7 level 8 level 9 level 10 level 11 level 12

ZigZag Revision Guide - T:\Computer Science\2016 GCSE Computer Science J276\ZigZag Revision PG Resources- T:\Computer Science\2016 GCSE Computer Science J276\_PG Resources (AQA) My Revision Notes Computing for GCSE Paperback – Copies are available to use in classrooms during lessons, at break times and after school.

ENGLISH (MY PALS) I-SCIENCE Revision Revision Class Revision ART & CRAFT Class AKHLAQ FIQH Revision AQIDAH Class SEERAH Revision ARABIC EJAAN Revision COMPUTER Revision SHAPING MATHS FINAL SEMESTER EXAMINATION TIMETABLE 2014 - PRIMARY 1 IBN RUSYD JAWI Break Dhuha Iqra' & Hafazan Revisio

This handbook supplement applies to students entering the fourth year of their degree in Computer Science, Mathematics & Computer Science or Computer Science . Undergraduate Course Handbook 1.2 Mathematics & Computer Science The Department of Computer Science offers the following joint degrees with the Department of Mathematics: BA .

psa revision knee zimmer-biomet persona revision knee zimmer-biomet nexgen legacy lcck revision knee zimmer-biomet vanguard revision knee depuy attune revision knee depuy lcs complete revision knee3 stryker triathlon smith & nephew legion revision knee medacta

Wishy-Washy Level 2, Pink Level 3, Red Level 3, Red Level 4, Red Level 2, Pink Level 3, Red Level 3, Red Level 4, Red Level 3, Red Level 4, Red Level 4, Red Titles in the Series Level 3, Red Level 3, Red Level 4, Red Level 3, Red Also available as Big Books There Was an Old Woman. You think the old woman swallowed a fly? Kao! This is our

Our AAT Advanced Diploma in Accounting course is the intermediate level of AAT’s accounting qualifications. You’ll master more complex accountancy skills, including advanced bookkeeping, preparing final accounts, and management costing techniques. You’ll also cover VAT issues in business, and the importance of professional ethics - all without giving up your job, family time or social .