Computer science
  • Exam boards
    • OCR past papers >
      • Paper1 (Sample)
    • Edexcel past papers >
      • 2020 Current spec (coming soon) >
        • Programming Language Subset (PLS)
      • Old 2016 SPEC >
        • Paper 1 (specimen1)
        • Paper 1 (specimen2)
        • Paper 1 (2018)
        • Paper 1 (2019)
        • Paper 2 (specimen1)
        • Paper 2 (2018)
        • Paper 2 (2019)
      • OLD 2013 SPEC >
        • Sample assessment 1 (old spec)
        • Sample assessment 2 (old spec)
        • June 2017 (old spec)
        • June 2016 (old spec)
        • June 2015 (old spec)
    • Paper 1 (by topic) >
      • Algorithms
      • Application software
      • Ascii
      • Binary
      • Cache
      • Client Server
      • Cloud
      • Compression
      • Computational thinking
      • CPU
      • Cyber security
      • Database
      • Fetch decode execute cycle
      • Embedded system
      • Encryption
      • File size
      • Flow chart
      • Hexadecimal
      • High Level language
      • ISP/Internet
      • Logic
      • Magnetic HDD
      • Networking
      • Open source
      • Operating system
      • Peer to peer
      • Images (Data representation)
      • Protocols
      • RAM
      • ROM
      • Run length encoding
      • Simulation software
      • Solid state HDD
      • Sound
      • Stored program concept
      • Utility software
    • Curriculum >
      • Binary
      • Hex
      • Data Representation
      • Compression
      • Encryption
      • What is a computer
      • How does a computer work
      • Hardware
      • Operating system
      • The CPU
      • Input devices
      • Data storage
      • Networks
      • Microcontrollers
      • Computational models
      • Emerging trends
      • Virtual machine
      • Models and simulators
      • Algorithms
    • Python >
      • Finding python
      • GCSE Python questions
      • Python coding >
        • Comments
        • Data types
        • Variables
        • If Else
        • If Elif Else
        • Functions
        • For loop
        • While loop >
          • While loop challenges
        • Data structures >
          • Looping thru 2D array
        • String slicing/indexing
        • Subprograms
        • Local/global variable
        • Validation and try
        • methods
        • File I/O
        • Pseudocode
        • Modules >
          • Turtle
        • Classes
        • NEA/Projects
  • KS3/Other
    • KS3 >
      • Online Safety >
        • Screen time
        • Online Safety questions
      • IT
      • Hardware >
        • All Hardware
        • Magnetic hard disk drive
        • Optical disk drive
        • Solid state drive
      • Software
      • Binary/Hex/Algorithms >
        • Binary
        • Binary explained
        • Hexadecimal - 1 digit
        • Hexadecimal - 2 digits
        • Algorithms
        • ASCII
        • Tests
      • Networks
      • Protocols/Cyber attacks
      • Logic >
        • CPU
        • AND gate
        • OR gate
        • NOT gate
        • Logical statements
      • Coding >
        • HTML
        • Scratch >
          • Scratch questions
        • Python >
          • Getting started
          • Functions
          • Variables
          • VariablesToo
          • inputs
          • Selection
          • Flowcharts
          • Data types
          • Pseudocode1
          • Pseudocode2
          • Subprogram1
          • Subprogram2
          • Coding challenges
    • BTEC CS
    • OCR GCSE CS >
      • Past paper JUNE 2015
      • Past paper June 2014
      • Past paper MAY 2012
      • Past paper JAN 2011
      • Past paper JUN 2011
    • AQA AS-Level CS >
      • AS Curriculum >
        • Multiple choice questions
    • Business studies >
      • Keywords
      • BS Revision - Multiple choice
      • Paper 1 (9-1)
      • Paper 2 (9-1)
  • Contact/More
    • Code editor
    • Contact us
    • Microbit ideas
    • More
  • Self test
    • 01 Random topics
    • 02 Programming
    • 03 Data
    • 04 Computers
    • 05 Networks
    • 06 Legal/Ethics/Enviro'
    • Coding/Programming

ocr gcse computing

JUNE 2014
Picture

EDEXCEL GCSE Paper 1 (2019) exam paper can be downloaded here


EDEXCEL GCSE Paper 1 (2019) material mark scheme can be downloaded here 

Picture
Picture
Picture
Picture
1A Answer
Any two from:
● Quantity of milk
● Quantity of cream
● Type of milk/cream
● Quantity/type of sugar
● Type of ice cream [sorbet, gelato, gluten free, sugar]
● Flavour​

More help here -
Picture
1B answer
● Real/float/double
● Integer​

More help here -
Picture
1C answer
Any one from:
● (n hours * 60 min per hour) – 20 min
● Division by (10 + 5 + 30 + 5 + 15)
 
Any one from:
● FLOOR, INTEGER, ROUNDDOWN only if used as part of an expression as per the first or second example
● DIV only if used in the correct location in an expression as per the third example
 
only if used as part of an expression as per the fourth example
Examples:
● Batches = ROUNDDOWN (((n * 60) – 20) / 65)
● INT ((n * 60) – 20 / (10 + 5 + 30 + 5 + 15))
● Batches = ((n * 60) – 20) DIV 65
 
     (n×60)−20
----------------------
10+5+30+5+15
​

More help here -
Picture
2a answer
● Sell-by date/sell-by date and today’s date (1)
● Yes, reorder this type of cookie/No, do not reorder cookies (1)
● Do calculation 10 – number of packs in stock (1)​

More help here -

Picture
2b answer
● [11]
● [21]
First character index: 11 (1)
Last character index: 21 (1)
Correct use of square brackets on both (1)​

More help here - 
Picture
2ci answer
WHILE (True) (1)​

More help here - 
Picture
2cii answer
Any one from:
● Crashing it / breaking it / interrupting it from the console / killing the process (1)
● Ctrl-Z / Ctrl-C / Ctrl-break / break key / using the task manager to stop it (1)​

More help here -
Picture
Picture
3a answer
● Do not open (1)
● 12:00 to 18:30 (1)
● 13:00 to 18:00 (1)​

More help here -
Picture
3B answer
Picture


More help here -
Picture
4A answer
● This pseudo-code is not suitable for humans to read and understand / running all the individual instructions together on a single line makes this pseudo-code difficult for humans to read but algorithm is short and understandable in this form
● Use of English command words makes it easier to understand for humans
● To make this pseudo-code easier for humans to read and understand:
    o the variable name ‘w’ could be changed to something more meaningful, such as ‘week’
    o comments could be used to explain what the code is doing / using # or // for comments
    o each instruction could be placed on a new line
    o indentation could be used to show the blocking of the constructs / ending words could show blocking of the code
    o additional white space / lines could be used to show blocks of code

More help here -
Picture
Picture
4Bi answer
Picture
 

More help here - 
Picture
4bii answer
To identify the minimum/lowest number and the maximum/highest number (1)​

More help here - 
Picture
5a answer
An explanation that makes reference to the following point:
     ● This is a runtime error (1)
Plus one from:
     ● Because it occurs when the computer tries to execute the code (1)
     ● Because the (translated) code cannot be executed (1)
     ● Because it crashes/stops (1) (the computer when attempting to execute)
     ● Occur intermittently, depending on the data that is encountered (1)
     ● Can be caused when a user inputs data of the wrong type (1)​

More help here -
Picture
5b answer
Line 6
● Error: Only one short side is needed/two added to width (1)
● Correction: SET totalWidth TO width (1)
Line 8
● Error: Lengths of the sides are multiplied (1)
● Correction: SET total TO totalWidth + totalLength (1)​

More help here -

Picture
6a answer
● The constants TAX and PROFIT cannot be changed by accident or error (1) so code that uses them should be more robust (1) than using the numbers instead.
● The constants TAX and PROFIT use meaningful names (1) instead of numbers, which make their purpose more clear (1) when used in the code.
● If the value of a constant, such as VAT, does have to be altered (1) only one change is required. (1)​


More help here -
Picture
Picture
6bi answer
● Subprogram identified as PROCEDURE on 3 lines;
     o Line 8: PROCEDURE calcProfitAndTax (…, …, …)
     o Line 9: PROCEDURE
     o Line 26: PROCEDURE
● Input parameters use local variable names
     o Line 8: calcProfitAndTax (inProd, inProfit, inTax)
● Calling subprogram by name
     o Line 36: calcProfitAndTax (…)
● Three parameters with names matching main code
     o Line 36: calcProfitAndTax (costProd, reqProfit, rateTax)
● Order of parameters in call match order of parameters in definition
Both lines in the correct order for 1 mark
     o Line 8: (inProd, inProfit, inTax)
     o Line 36: (costProd, reqProfit, rateTax)

More help here -
Picture
6bii answer
● Message on line 21 is a local variable / has local scope (1) because it is declared inside the subprogram (1) on line 10.​

More help here -
Picture
6biii answer
Picture



More help here -
Picture
7A answer
Picture



More help here -

Picture
7b answer
Type (one from):
● Count controlled loop (1)
● For loop (1)
Justification (one from):
● The number of loop passes is known in advance (1)
● The loop executes for a known number of times (1)
● The loop executes for exactly the number of members (1)​


More help here -
Picture
7c answer
● Nested ifs / if else / if elseif (1) should be used so that the tests stop executing (1) as soon as a true one is encountered (1).

More help here -
Picture
Picture
8a answer
Picture

More help here -
Picture
8b answer
Picture


More help here -
Picture
9a answer
Pseudo-code example:
SET freezers TO [-20, -19, -18, -17, -16, 0, 1]
SET index TO 0
WHILE (index < length (freezers)) DO
  SET temperature TO freezers [index]
  IF ((temperature < -19) OR (temperature > -17)) THEN
    SEND ("Freezer" & index & " is out of tolerance: " & temperature)
  END IF
  SET index TO index + 1
END WHILE



More help here -

Pseudo-code example:
SET freezers TO [-20, -19, -18, -17, -16, 0, 1]
SET reqTemp TO -18
SET index TO 0

FOR EACH temp FROM freezers DO
  IF (temp > reqTemp + 1) OR (temp < reqTemp – 1) THEN
    SEND ‘Freezer ‘ & index & ‘ is out of tolerance: ‘ & temp
  END IF
  SET index TO index + 1
END FOR EACH

Home
Contact
Upload
Log in
  • Exam boards
    • OCR past papers >
      • Paper1 (Sample)
    • Edexcel past papers >
      • 2020 Current spec (coming soon) >
        • Programming Language Subset (PLS)
      • Old 2016 SPEC >
        • Paper 1 (specimen1)
        • Paper 1 (specimen2)
        • Paper 1 (2018)
        • Paper 1 (2019)
        • Paper 2 (specimen1)
        • Paper 2 (2018)
        • Paper 2 (2019)
      • OLD 2013 SPEC >
        • Sample assessment 1 (old spec)
        • Sample assessment 2 (old spec)
        • June 2017 (old spec)
        • June 2016 (old spec)
        • June 2015 (old spec)
    • Paper 1 (by topic) >
      • Algorithms
      • Application software
      • Ascii
      • Binary
      • Cache
      • Client Server
      • Cloud
      • Compression
      • Computational thinking
      • CPU
      • Cyber security
      • Database
      • Fetch decode execute cycle
      • Embedded system
      • Encryption
      • File size
      • Flow chart
      • Hexadecimal
      • High Level language
      • ISP/Internet
      • Logic
      • Magnetic HDD
      • Networking
      • Open source
      • Operating system
      • Peer to peer
      • Images (Data representation)
      • Protocols
      • RAM
      • ROM
      • Run length encoding
      • Simulation software
      • Solid state HDD
      • Sound
      • Stored program concept
      • Utility software
    • Curriculum >
      • Binary
      • Hex
      • Data Representation
      • Compression
      • Encryption
      • What is a computer
      • How does a computer work
      • Hardware
      • Operating system
      • The CPU
      • Input devices
      • Data storage
      • Networks
      • Microcontrollers
      • Computational models
      • Emerging trends
      • Virtual machine
      • Models and simulators
      • Algorithms
    • Python >
      • Finding python
      • GCSE Python questions
      • Python coding >
        • Comments
        • Data types
        • Variables
        • If Else
        • If Elif Else
        • Functions
        • For loop
        • While loop >
          • While loop challenges
        • Data structures >
          • Looping thru 2D array
        • String slicing/indexing
        • Subprograms
        • Local/global variable
        • Validation and try
        • methods
        • File I/O
        • Pseudocode
        • Modules >
          • Turtle
        • Classes
        • NEA/Projects
  • KS3/Other
    • KS3 >
      • Online Safety >
        • Screen time
        • Online Safety questions
      • IT
      • Hardware >
        • All Hardware
        • Magnetic hard disk drive
        • Optical disk drive
        • Solid state drive
      • Software
      • Binary/Hex/Algorithms >
        • Binary
        • Binary explained
        • Hexadecimal - 1 digit
        • Hexadecimal - 2 digits
        • Algorithms
        • ASCII
        • Tests
      • Networks
      • Protocols/Cyber attacks
      • Logic >
        • CPU
        • AND gate
        • OR gate
        • NOT gate
        • Logical statements
      • Coding >
        • HTML
        • Scratch >
          • Scratch questions
        • Python >
          • Getting started
          • Functions
          • Variables
          • VariablesToo
          • inputs
          • Selection
          • Flowcharts
          • Data types
          • Pseudocode1
          • Pseudocode2
          • Subprogram1
          • Subprogram2
          • Coding challenges
    • BTEC CS
    • OCR GCSE CS >
      • Past paper JUNE 2015
      • Past paper June 2014
      • Past paper MAY 2012
      • Past paper JAN 2011
      • Past paper JUN 2011
    • AQA AS-Level CS >
      • AS Curriculum >
        • Multiple choice questions
    • Business studies >
      • Keywords
      • BS Revision - Multiple choice
      • Paper 1 (9-1)
      • Paper 2 (9-1)
  • Contact/More
    • Code editor
    • Contact us
    • Microbit ideas
    • More
  • Self test
    • 01 Random topics
    • 02 Programming
    • 03 Data
    • 04 Computers
    • 05 Networks
    • 06 Legal/Ethics/Enviro'
    • Coding/Programming