MskProd Year 7 Summer 60 minutes 41 marks Original paper

Year 7 Computing: Summer Assessment

The whole of Year 7, with most of the marks on the units taught after Christmas: Python, what is inside the computer, binary, and vector graphics.

Exam timer

Sit this to the clock. Working under time pressure is a separate skill from knowing the content, and it is the one most students never practise.

00:00

Instructions

  • Answer every question.
  • The marks tell you how many creditworthy points are wanted.
  • No calculator is permitted.
  • Show your working in every calculation, because marks are given for the method as well as the answer. In the programming questions, write real Python and keep your indentation clear.

Questions

Write a full answer to every question, then mark the whole paper at the end. Marking as you go teaches you far less.

41 marks
1State how many bits there are in one byte.1 mark
State

Mark scheme0 / 1
  • L8
Model answer

There are 8 bits in one byte.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
2Name the component that carries out the instructions in a program, and name the component that holds the programs and data that are in use right now.2 marks
Name

Mark scheme0 / 2
  • LCPU or processor
  • LRAM or main memory
Model answer

The component that carries out the instructions is the CPU, the central processing unit. The component that holds the programs and data in use right now is RAM, which is wiped as soon as the power is switched off.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
3State what the Python function int() does, and state why it is needed after input().2 marks
State

Mark scheme0 / 2
  • LIt converts a value into a whole number
  • Linput always gives back text, which cannot be used in a calculation
Model answer

The int function converts a value into a whole number. It is needed after input because input always hands back text, even when the user typed digits, and text cannot be used in a calculation. Without the conversion, adding one to the answer would either cause an error or join the characters together instead of doing arithmetic.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
4Convert the binary number 10110100 into denary. Show your working.3 marks
Calculate

Mark scheme0 / 3
  • LWrites the place values 128 64 32 16 8 4 2 1 above the digits
  • LIdentifies the columns holding a 1 as 128, 32, 16 and 4
  • LGives the answer 180
Model answer

First I write the place values 128, 64, 32, 16, 8, 4, 2 and 1 above the eight digits. The digits 1 appear in the 128, 32, 16 and 4 columns. Adding those place values gives 128 + 32 + 16 + 4, which is 180. The answer is 180.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
5Convert the denary number 73 into 8 bit binary. Show your working.3 marks
Calculate

Mark scheme0 / 3
  • LTakes 64 first, leaving 9
  • LThen 8 fits leaving 1, and then 1 fits leaving 0
  • LGives the answer 01001001 written as 8 bits
Model answer

Working from the left, 128 does not fit into 73 so I write 0. 64 does fit, so I write 1 and 73 minus 64 leaves 9. 32 and 16 do not fit, so I write 0 and 0. 8 fits, so I write 1 and 9 minus 8 leaves 1. 4 and 2 do not fit, so I write 0 and 0. 1 fits, so I write 1 and nothing is left. The answer is 01001001, and checking it gives 64 + 8 + 1, which is 73.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
6Explain why computers use binary rather than the ten digits people use for counting.3 marks
Explain

Mark scheme0 / 3
  • LA circuit can easily be in one of two states, on or off
  • LThose two states are easy to tell apart reliably
  • LTen different levels would be far harder to build and easier to get wrong
Model answer

The reason is electrical. Everything inside a computer is built from circuits that are either on or off, and those two states are extremely easy to tell apart even when the components are tiny and the signal is weak. Binary needs only two digits, so 1 can mean on and 0 can mean off. Building circuits that could reliably tell ten different voltage levels apart would be far more expensive and far more likely to make mistakes, so two states are used and everything else is built up from them.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
7Describe the three steps that the CPU repeats over and over while the computer is switched on.3 marks
Describe

Mark scheme0 / 3
  • LFetch the next instruction from memory
  • LDecode it to work out what it means
  • LExecute it, actually carrying out the instruction
Model answer

The CPU fetches the next instruction from memory, then decodes it to work out what that instruction actually means, then executes it by carrying out the work, which might be a calculation, a comparison or moving data. It then goes straight back to the beginning and fetches the next one. This cycle never stops while the computer is on, and a processor running at 3 GHz goes round it three billion times a second.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
8A student writes tickets = input('How many tickets? ') and then total = tickets * 3. Instead of the cost, the program prints the number typed in three times over. Explain why this happens, and how to fix it.3 marks
Explain

Mark scheme0 / 3
  • Linput hands back text rather than a number
  • LMultiplying text by 3 repeats the characters three times
  • LConvert the input with int so the multiplication is arithmetic
Model answer

The problem is that input always hands back text, so tickets holds the characters typed rather than a number. In Python, multiplying a piece of text by 3 does not do arithmetic, it repeats the text three times, which is exactly what the student is seeing on the screen. The fix is to convert the input into a whole number first, by writing tickets = int(input('How many tickets? ')), after which total = tickets * 3 does real arithmetic and gives the cost.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
9Write a Python program that asks the user for a mark out of 100, then prints Pass if the mark is 50 or more and prints Fail if it is not.4 marks
Write

Mark scheme0 / 4
  • LUses input to get the mark and converts it to a whole number
  • LUses an if statement with the condition mark >= 50
  • LPrints Pass when the condition is true
  • LUses else to print Fail otherwise
Model answer

The program is mark = int(input('Enter your mark: ')). Then if mark >= 50: print('Pass'). Then else: print('Fail'). The int function is needed because input gives text and the comparison needs a number. The two lines under the if and the else must be indented by four spaces, and there must be a colon at the end of both the if line and the else line.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
10Compare bitmap and vector images. Give two differences, and state which of the two should be used for a photograph.4 marks
Compare

Mark scheme0 / 4
  • LA bitmap is stored as a grid of pixels, each with its own colour
  • LA vector is stored as instructions for drawing shapes
  • LA bitmap becomes blocky when enlarged but a vector stays sharp at any size
  • LA photograph should be stored as a bitmap
Model answer

A bitmap image is stored as a grid of pixels, with the colour of every single pixel recorded, while a vector image is stored as a list of instructions for drawing shapes, such as a circle at a certain position with a certain radius and fill colour. The second difference follows from the first. Enlarging a bitmap makes it blocky, because there is no extra detail to show and the existing pixels simply get bigger, whereas a vector stays perfectly sharp at any size because the shapes are worked out and drawn again each time. A photograph should be stored as a bitmap, because it is full of irregular detail and slight colour changes that could not sensibly be described as a set of shapes.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
11Describe two things that make a logo effective, and explain why each one matters.4 marks
Describe

Mark scheme0 / 4
  • LIt is simple
  • LSo it is still recognisable when it is very small, such as on a browser tab
  • LA second feature, such as working in one colour, being distinctive, or suiting the audience
  • LExplains why that second feature matters
Model answer

The first thing is simplicity. A logo has to be recognisable at sixteen pixels across on a browser tab as well as a metre wide on a banner, and a complicated design turns into a smudge the moment it is made small. The second thing is that it should work in a single colour. Logos end up printed cheaply, stamped, engraved or photocopied, and a design that only reads when every colour is present fails completely in all of those situations. Testing a logo small and in black and white early on saves redesigning it later.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
12Explain how a photograph is stored on a computer, and explain why a photograph taken at a higher resolution takes up more storage space.4 marks
Explain

Mark scheme0 / 4
  • LThe image is a grid of pixels
  • LThe colour of each pixel is stored as a binary number
  • LA higher resolution means there are more pixels in the image
  • LEvery extra pixel needs its own number, so the file is bigger
Model answer

A photograph is stored as a grid of tiny squares called pixels, and the colour of each pixel is recorded as a binary number. The computer also stores the width and height so that it knows how to arrange the pixels back into a picture. Resolution means how many pixels the image contains, so a photograph taken at a higher resolution simply has more of them. Since every single pixel needs its own binary number to record its colour, doubling the number of pixels doubles the number of values stored, and the file gets bigger. That is why a higher quality photograph always takes up more space.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
13A student records a 30 second sound clip and takes a photograph on the same phone. Explain how both of these are stored using only 1s and 0s, and explain what makes each file larger.5 marks
Explain

Mark scheme0 / 5
  • LEverything on a computer is stored as binary numbers
  • LSound is measured, or sampled, many times a second
  • LEach measurement of the wave is stored as a number
  • LAn image is a grid of pixels and each pixel colour is stored as a number
  • LMore samples per second, or more pixels and more colours, means more numbers and a bigger file
Model answer

Everything a computer stores is stored as binary numbers, so both files are really just very long lists of 1s and 0s. Sound is a wave, so the phone measures the height of that wave thousands of times every second, which is called sampling, and each measurement is written down as a number. CD quality takes 44,100 measurements every second. A photograph is a grid of pixels, and the colour of each pixel is also written down as a number, so the picture becomes a long list of colour values. In both cases better quality means more numbers. Taking more samples every second gives a recording that follows the original wave more closely, and using more pixels or more bits for each pixel colour gives a sharper picture with more shades, but each of those choices means more values to store and so a bigger file.

The marker looks for key phrases. If you said it another way and it is still right, give yourself the mark.
Machine mark 0 / 41
About this paper

This is an original paper written to match the structure, question style, command words and mark allocation of the real MskProd Year 7 Summer assessment. It is not a past paper. Real past papers are the copyright of the exam board and cannot be republished here, so links to the official papers on the board's own site are provided on the exam papers page.