Full Paper Jan 25
Full Paper Jan 25
January 2025
Candidate Name Form
Year 11
Subject: Computer Science Paper 2
Time Allowed: 2 hours
Instructions
. Use black ink or ball-point pen.
. Fill in the boxes at the top of this page with your Name and Form.
. Answer all questions.
. Answer the questions requiring a written answer in the spaces provided, there may be
more space than you need.
. Only one programming language (Python) must be used throughout the test.
. Carry out practical tasks on the computer system and save new or amended code using
the name given in the question with the appropriate file extension.
. Do not overwrite the original code and data files provided to you.
. You must not use the internet during the test.
Information
. The total mark for this paper is 85.
. The marks for each question are shown in brackets
o use this as a guide as to how much time to spend on each question..
. The CODES folder in your user area includes all the code and data files you need.
Grade/Level
Score
1
PART A: PRACTICAL (50 Marks)
Q1.
This program checks the weight of boxes of strawberries from Laura's shop.
You may not need to fill in all the rows in the table.
(6)
2
(Total for question 1 = 6 marks)
3
Q2.
Crawdale Leisure Centre provides modern sports facilities including an indoor swimming pool, fitness
suite, badminton hall and squash courts.
Crawdale Leisure Centre offers five membership schemes: full, junior (under 16), swim only, junior swim
only and fitness only.
This is an algorithm used by instructors to check the Body Mass Index (BMI) of people attending their
classes.
4
Q3.
The Airport
An international airport uses a variety of computer systems to deal with passengers, flights, and
employees.
The long-stay parking at the airport uses a variable rate charging system.
(a) Write the program using the pseudocode. Save you program as Q03FINISHED.py
(5)
(b) Complete the table to show the output of the algorithm for the given inputs.
(3)
5
Q4.
A program is needed to track the results from an election. The data includes the party name, the number
of votes, and the percentage of votes. The data is stored as structured data. These are implemented as
lists.
Automatically calculate the TotalVote and TotalPercent, which needs to be displayed at the bottom
of the table
Use comments, white space and layout to make the program easier to read and understand.
6
Q5.
A program calculates the bus fare for passengers. The type of fare is entered using a menu. The fare is
calculated and displayed. There is a choice to exit the program instead of calculating a fare.
The program is being developed. Some of the lines of code in the program are incomplete and some
sections of the program include different code options and only one of the options should be included in
the program.
7
b) Choose one line from Section C [2 Marks]
ELSE CONSESSION*FULL_FARE
8
d) Complete the condition on line 81 [2 Marks]
---------------END OF PRACTICAL----------------
PART B: THEORY (35 Marks)
Q1.
Bit patterns can be used to represent the different states of an embedded system. These bits can be
manipulated by several different operations.
Identify the result of applying a logical shift left by 3 to the 8-bit binary number 0101 0101.
(1)
A 1010 1111
B 1010 1000
C 0100 0100
D 1010 1010
Q2.
Describe the result of carrying out an arithmetic shift right, one place, to an 8-bit binary integer.
(2)
............................................................................................................................................. ..................
............................................................................................................................................. ..................
9
............................................................................................................................................. ..................
............................................................................................................................................. ..................
Q3.
Algorithms are used to store images, solve problems, encrypt and sort data, and to control devices.
Explain whether a shift of +7 followed by a shift of -2, is more secure than a single shift when applied to
the word 'pink'.
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
2 .......................................................................................................................................... ..................
............................................................................................................................................. ..................
10
Q5.
The images are to be displayed with a background of hex colour code BB4A0F.
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
Algorithms are used to store images, solve problems, encrypt and sort data, and to control devices.
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
11
Q7.
Construct an expression to calculate the file size, in mebibytes, of a CD quality (44.1 KHz, bit depth of
16), two-channel stereo soundtrack that is 4 minutes long.
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
Compare the use of a compiler with the use of an interpreter to translate code.
(6)
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................ ...................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
12
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
Q9.
An operating system is the software that provides the interface between a user and a computer system.
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
13
Q10.
Computing devices are made up of many different types of internal components that hold, manipulate or
transmit data.
...............................................................................................................................................................
...............................................................................................................................................................
...............................................................................................................................................................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
She has decided to provide her warehouse staff with tablet computers and to install a wireless network in
her warehouse. The network will include a wireless access point and router.
Describe the roles of the wireless access point and router on Jane's network.
(4)
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
............................................................................................................................................. ..................
----------------END OF THEORY-------------------
14