CS Assignment

Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

2

1 A computer stores data in binary form. Binary numbers can be represented as hexadecimal and
denary numbers.

(a) Convert the 8-bit binary number 01010101 to denary.


85
............................................................................................................................................. [1]

Working space

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

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

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

(b) Convert the binary number 11000000 to hexadecimal.


C0
............................................................................................................................................. [1]

Working space

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

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

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

(c) Convert the hexadecimal number 1A to denary.


26
............................................................................................................................................. [1]

Working space

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

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

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

(d) Binary numbers can be stored as bytes.

State how many bits are in two bytes.


16
............................................................................................................................................. [1]

© UCLES 2022 0478/12/F/M/22


3

2 Nadia creates a digital image for a school project.

(a) Give one example of an image format.


e.g.JPEG
............................................................................................................................................. [1]

(b) Describe how a digital image file is stored by a computer.

...................................................................................................................................................
An Image is made of pixels and each pixel stores one colour and a set number of pixels wide by pixels
high and they get stored.
...................................................................................................................................................

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

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

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

............................................................................................................................................. [3]

(c) Nadia compresses the digital image file before emailing it to a friend.

(i) State what is meant by data compression.


File reduction
...........................................................................................................................................

..................................................................................................................................... [1]

(ii) Explain why Nadia compresses the digital image file before emailing it.

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

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

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

..................................................................................................................................... [2]

© UCLES 2022 0478/12/F/M/22 [Turn over


4

(iii) Nadia’s email service uses parity bits as a method of error detection during the
transmission of data.

Describe how the parity bits are used to detect errors.

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

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

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

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

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

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

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

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

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

..................................................................................................................................... [5]

(iv) Identify and describe one other method of error detection used during the transmission
of data.

Method ..............................................................................................................................

Description ........................................................................................................................

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

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

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

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

...........................................................................................................................................
[4]

© UCLES 2022 0478/12/F/M/22


5

3 (a) Tick (3) to show which logic gates will give an output of 1 for the given inputs A and B.

Inputs AND OR NAND NOR XOR


A=1
B=1
A=0
B=0
A=1
B=0
[3]

(b) Draw the logic circuit for the given logic statement:

X = (A XOR B) AND (B OR NOT C)

Do not attempt to simplify the logic statement. All logic gates must have a maximum of two
inputs.

B X

[4]

© UCLES 2022 0478/12/F/M/22 [Turn over


6

4 Pradeep uses his personal computer to complete work at home.

(a) Pradeep uses a mouse and a keyboard to control the computer.

(i) Complete the descriptions of the principles of operation of a mouse and a keyboard
using the most appropriate terms from the list. Not all terms in the list need to be used.

• absorbs
• ball
• biometric
• circuit
• colour
• digital
• direction
• Light-Emitting Diode (LED)
• Liquid Crystal Display (LCD)
• reflects
• speed
• switch
• transparency

An optical mouse shines a red light from a ...................................................


LED underneath
reflects
the mouse. The light .................................................. back from a surface through a

lens in the mouse and is converted to a value. This value is transmitted to the

computer. The computer then determines the ...................................................


direction and
speed
................................................... of the movement.

When the user presses a key on a keyboard, the key pushes the

...................................................
switch on the circuit board. This completes a
circuit
................................................... . Signals are sent to the computer. The computer uses

the data to calculate which key was pressed.


[6]

(ii) Identify two other input devices Pradeep could use with his personal computer.
touchpad
Input device 1 ....................................................................................................................
microphone
Input device 2 ....................................................................................................................
[2]

© UCLES 2022 0478/12/F/M/22


7

(b) Pradeep uses a projector attached to the ceiling at his home to watch high-definition (HD)
films.

The projector has broken. He wants to buy a replacement. He needs to choose between an
LCD projector and a Digital Light Projector (DLP).

Explain why an LCD projector would be more appropriate for Pradeep.


More visible pixels and Colours are more accurate
...................................................................................................................................................

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

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

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

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

............................................................................................................................................. [3]

(c) Pradeep stores his collection of films and his work files on his personal computer.

Pradeep wants to save a copy of all his films and files onto a single storage device.

Identify and justify an appropriate storage device to store the copies.

Storage device ..........................................................................................................................

Justification ...............................................................................................................................

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

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

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

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

...................................................................................................................................................
[4]

© UCLES 2022 0478/12/F/M/22 [Turn over


8

5 A holiday company has a website where customers can create accounts and can book and pay for
holidays.

(a) The website is written in Hypertext Markup Language (HTML).

Give two examples of HTML structure and two examples of HTML presentation.

Structure 1 ................................................................................................................................

Structure 2 ................................................................................................................................

Presentation 1 ..........................................................................................................................

Presentation 2 ..........................................................................................................................
[4]

(b) The website is stored on a web server. Customers use their own computers to access the
website.

Uniform Resource Locator (URL), Internet Protocol (IP) and Media Access Control (MAC) are
three types of address used by computers when accessing the Internet.

Give two features of each type of address in the table.

Type of
Features
address

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

............................................................................................................................
URL
............................................................................................................................

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

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

............................................................................................................................
IP
............................................................................................................................

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

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

............................................................................................................................
MAC
............................................................................................................................

............................................................................................................................
[6]

© UCLES 2022 0478/12/F/M/22


9

(c) The company is concerned about threats to its web server.

Complete the table by identifying:

• two potential threats to its web server


• the impact each threat could have on the company
• software the company can use to help to limit each threat.

Each impact must be different.

Threat Impact on company Software

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

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

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

.........................................................................
[6]

© UCLES 2022 0478/12/F/M/22 [Turn over


10

6 A business uses a closed-circuit television (CCTV) system that starts recording when motion is
detected. It stops recording after two minutes if no further motion is detected. The system uses a
motion sensor and a microprocessor.

Describe how the motion sensor and microprocessor work together to control the CCTV system.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.................................................................................................................................................... [7]

© UCLES 2022 0478/12/F/M/22


11

7 Ishani is a software developer who is creating a new computer game.

(a) Ishani uses an interpreter and a compiler at different stages of the game creation.

(i) Explain when it is most appropriate for Ishani to use an interpreter.

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

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

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

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

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

..................................................................................................................................... [3]

(ii) Explain when it is most appropriate for Ishani to use a compiler.

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

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

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

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

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

..................................................................................................................................... [3]

(b) Ishani has to decide between releasing her game as freeware or free software.

Describe freeware and free software.

Freeware ..................................................................................................................................

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

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

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

Free software ............................................................................................................................

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

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

...................................................................................................................................................
[4]

© UCLES 2022 0478/12/F/M/22


12

BLANK PAGE

Permission to reproduce items where third-party owned material protected by copyright is included has been sought and cleared where possible. Every
reasonable effort has been made by the publisher (UCLES) to trace copyright holders, but if any items requiring clearance have unwittingly been included, the
publisher will be pleased to make amends at the earliest possible opportunity.

To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced online in the Cambridge
Assessment International Education Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download
at www.cambridgeinternational.org after the live examination series.

Cambridge Assessment International Education is part of Cambridge Assessment. Cambridge Assessment is the brand name of the University of Cambridge
Local Examinations Syndicate (UCLES), which is a department of the University of Cambridge.

© UCLES 2022 0478/12/F/M/22

You might also like