[go: up one dir, main page]

0% found this document useful (0 votes)
13 views14 pages

Full Paper Jan 25

The document is a mock examination paper for Year 11 Computer Science, consisting of practical and theory sections, with a total of 85 marks. It includes instructions for candidates, various programming tasks in Python, and theoretical questions related to computer science concepts. The practical part focuses on programming tasks, while the theory section covers topics such as algorithms, compression, and operating systems.

Uploaded by

adamawadallah653
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views14 pages

Full Paper Jan 25

The document is a mock examination paper for Year 11 Computer Science, consisting of practical and theory sections, with a total of 85 marks. It includes instructions for candidates, various programming tasks in Python, and theoretical questions related to computer science concepts. The practical part focuses on programming tasks, while the theory section covers topics such as algorithms, compression, and operating systems.

Uploaded by

adamawadallah653
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 14

Mock Examinations

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.

For Examiner’s Use

Grade/Level

Score

1
PART A: PRACTICAL (50 Marks)

Q1.

Laura owns a fruit shop.

This program checks the weight of boxes of strawberries from Laura's shop.

The inputs are 404, 393, 395, 405.


Complete the trace table showing the execution of the program with these inputs.

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

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.

The leisure centre runs fitness classes.

This is an algorithm used by instructors to check the Body Mass Index (BMI) of people attending their
classes.

Lines 4 and 22 of the algorithm are incomplete.

Complete the algorithm by filling in the boxes.


(6)

(Total for question 2 = 6 marks)

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.

Here is the pseudocode for this algorithm.

(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)

(Total for question 3 = 8 marks)

5
Q4.

Suggested time: 25 minutes

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.

The program needs to be amended to meet these requirements:

 Create a table to display the data from the 2D Array.

 Automatically calculate the TotalVote and TotalPercent, which needs to be displayed at the bottom
of the table

This is what the output must look like.

Open file Q04.py

Amend the code to:

 use the most appropriate list


 process and display the data.

Do not add any additional functionality.

Use comments, white space and layout to make the program easier to read and understand.

Save your amended code file as Q4FINISHED.py

(Total for question 4 = 15 marks)

6
Q5.

Suggested time: 20 minutes

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.

Open file Q05.py

You will need to choose the best lines of codes.

Do not change the functionality of the given lines of code.

Do not add any additional functionality.

Save your amended code file as Q05FINISHED.py

a) Investigate and test the subprogram getUserChoice() [2 Marks]

Choose Section A or Section B

7
b) Choose one line from Section C [2 Marks]

c) Explore the subprogram calcFare(pCategory) [8 Marks]

Include the condition between the lines 63-68:

pCategory = “A” FULL_FARE

PCategory = “B” STUDENT* FULL_FARE

pCategory = “C” CHILD*FULL_FARE

pCategory = “D” RETIRED*FULL_FARE

ELSE CONSESSION*FULL_FARE

8
d) Complete the condition on line 81 [2 Marks]

(Total for question 5 = 15 marks)

---------------END OF PRACTICAL----------------
PART B: THEORY (35 Marks)

Q1.

Modern society depends on many different embedded systems to function properly.

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

(Total for question 1 = 1 mark)

Q2.

Binary strings can be used to represent numbers, text, and images.

Describe the result of carrying out an arithmetic shift right, one place, to an 8-bit binary integer.
(2)

............................................................................................................................................. ..................

............................................................................................................................................. ..................

9
............................................................................................................................................. ..................

............................................................................................................................................. ..................

(Total for question 2 = 2 marks)

Q3.

Algorithms are used to store images, solve problems, encrypt and sort data, and to control devices.

A Caesar cipher is a simple encryption algorithm based on shifting.

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'.

You should include a diagram in your answer.


(3)
............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

(Total for question 3 = 3 marks)


Q4.

Different types of compression are used for different purposes.

Compression normally reduces file size.

State two other characteristics of lossy compression.


(2)
1 .......................................................................................................................................... ..................

............................................................................................................................................. ..................

2 .......................................................................................................................................... ..................

............................................................................................................................................. ..................

(Total for question 4 = 2 marks)

10
Q5.

A landscape photographer wishes to publish a series of preview images online.

The images are to be displayed with a background of hex colour code BB4A0F.

Convert the background hex code into a binary number.


(2)

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

(Total for question 5 = 2 marks)


Q6.

Algorithms are used to store images, solve problems, encrypt and sort data, and to control devices.

(i) State what is meant by a 'pixel'.


(1)
............................................................................................................................................. ..................

............................................................................................................................................. ..................

(ii) A simple bitmap image has the following characteristics:


4-bit color depth (bit depth)
100 pixels by 300 pixels.
Calculate the size of this image in bytes.
(2)
............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

(Total for question 6 = 3 marks)

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.

You do not need to carry out the calculation.


(4)
............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

(Total for question 7 = 4 marks)


Q8.

Compare the use of a compiler with the use of an interpreter to translate code.
(6)
............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................ ...................

............................................................................................................................................. ..................

............................................................................................................................................. ..................
12
............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

(Total for question 8 = 6 marks)

Q9.

An operating system is the software that provides the interface between a user and a computer system.

Describe two other functions of an operating system.


(4)

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

(Total for question 9 = 4 marks)

13
Q10.

Computing devices are made up of many different types of internal components that hold, manipulate or
transmit data.

Describe the process for communication in the client-server network model.


(4)
...............................................................................................................................................................

...............................................................................................................................................................

...............................................................................................................................................................

...............................................................................................................................................................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

(Total for question 10 = 4 marks)


Q11.

Jane operates a vintage clothing business from a converted warehouse.

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)

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

............................................................................................................................................. ..................

(Total for question 11 = 4 marks)

----------------END OF THEORY-------------------

14

You might also like