Docsity

Exam paper format relating data presentation, Study Guides, Projects, Research of Computer science

Toggle sidebar
bg1
This document consists of 15 printed pages and 1 blank page.
DC (LEG/CGW) 111631
© UCLES 2015
[Turn over
Data Representation
Cambridge Ordinary Level
*0758609995*
COMPUTER SCIENCE 2210/11
Paper 1 Theory May/June 2015
1 hour 45 minutes
Candidates answer on the Question Paper.
No Additional Materials are required.
No calculators allowed.
READ THESE INSTRUCTIONS FIRST
Write your Centre number, candidate number and name in the spaces at the top of this page.
Write in dark blue or black pen.
You may use an HB pencil for any diagrams, graphs or rough working.
Do not use staples, paper clips, glue or correction fluid.
DO NOT WRITE IN ANY BARCODES.
Answer all questions.
No marks will be awarded for using brand names of software packages or hardware.
At the end of the examination, fasten all your work securely together.
The number of marks is given in brackets [ ] at the end of each question or part question.
The maximum number of marks is 75.
Chap 1 Data Representation
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b

Partial preview of the text

Download Exam paper format relating data presentation and more Study Guides, Projects, Research Computer science in PDF only on Docsity!

[Turn over

Data Representation Cambridge Ordinary Level

COMPUTER SCIENCE 2210/ Paper 1 Theory May/June 2015 1 hour 45 minutes Candidates answer on the Question Paper. No Additional Materials are required. No calculators allowed.

READ THESE INSTRUCTIONS FIRST Write your Centre number, candidate number and name in the spaces at the top of this page.Write in dark blue or black pen. You may use an HB pencil for any diagrams, graphs or rough working.Do not use staples, paper clips, glue or correction fluid. DO NOT WRITE IN ANY BARCODES. AnswerNo marks will be awarded for using brand names of software packages or hardware. all questions.

At the end of the examination, fasten all your work securely together.The number of marks is given in brackets [ ] at the end of each question or part question.

The maximum number of marks is 75.

Chap 1 Data Representation

12

© UCLES 2015 2210/11/M/J/

8 An alarm clock is controlled by a microprocessor. It uses the 24 hour clock. The hour is represented by an 8-bit register, A , and the number of minutes is represented by another 8-bit register, B. (a) Identify what time is represented by the following two 8-bit registers. A B 128 64 32 16 8 4 2 1 128 64 32 16 8 4 2 1

Hours ............................................ Minutes ......................................... [2] (b) An alarm has been set for 07:30. Two 8-bit registers, C and D , are used to represent the hours and minutes of the alarm time. Show how 07:30 would be represented by these two registers: C D

Hours Minutes [2] (c) Describe how the microprocessor can determine when to sound the clock alarm. ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ...............................................................................................................................................[3]

14

© UCLES 2015 2210/12/M/J/

10 Letters from the alphabet are represented in a computer by the following denary (base 10) values: A = 97 G = 103 I = 105 L = 108 N = 110 The word “ A L I G N ” is stored as: 97 108 105 103 110 (a) Convert each of the five values to binary. The first one has been done for you. Letter Denary value

A (97): 0 1 1 0 0 0 0

L (108):
I (105):
G (103):
N (110):

[2] (b) An encryption system works by shifting the binary value for a letter one place to the left. “A” then becomes:

This binary value is then converted to hexadecimal; the hexadecimal value for “A” will be:

C 2

For the two letters “L” and “G”, shift the binary values one place to the left and convert these values into hexadecimal:

hexadecimal
L: .............................................
G: .............................................

[4]

7

© UCLES 2015 2210/12/M/J/15 [Turn over

(ii) Explain how you arrived at your answer for part (b)(i). ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... .......................................................................................................................................[2]

(c) Give the denary (base 10) value of the byte: 1 0 1 1 1 1 1 0

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

8

© UCLES 2016 2210/11/M/J/

7 Each seat on a flight is uniquely identified on an LCD above the seat. For example, seat 035C is shown as:

The first three characters are digits that represent the row. The fourth character is the seat position in that row. This is a single letter, A to F, that is stored as a hexadecimal value. Each of the four display characters can be stored in a 4-bit register. For example, 0 and C would be represented as:

C: 1 1 0 0

8 4 2 1 0:

(a) Show how the 4-bit registers would store the remaining two characters, 3 and 5.

3

5 [2] (b) Identify which seat is stored in the following 4-bit registers.

[2]

3

© UCLES 2016 2210/12/M/J/16 [Turn over

3 (a) Convert the following hexadecimal number into 12-bit binary:

4 A F

[3] (b) The 2016 Olympic Games will be held in Rio de Janeiro. A timer that counts down to the opening of the Games is shown on a microprocessor-controlled display. The number of hours, minutes and seconds until the Games open are held in three 8-bit registers. The present register values are:

0 1 1 0 1 0 0 1 105 hours

0 0 1 0 0 0 0 0 32 minutes

0 0 0 1 0 1 0 0 20 seconds

The timer will count down in seconds. (i) Show the values in each 8-bit register 30 seconds after the time shown above: hours

minutes

seconds [3] (ii) Write the hexadecimal value of the minutes register from part (b)(i). .......................................................................................................................................[1]

5

©UCLES 2016 2210/12/O/N/16 [Turn over

5 A computer uses an 8-bit register. The 8-bit register contains binary integers. (a) Write the denary (base 10) value represented by:

128 64 32 16 8 4 2 1

...............................................................................................................................................[1] (b) All the bits in the register are shifted one place to the right as shown below.

Write the denary number that is represented after this shift. ...............................................................................................................................................[1] (c) State the effect the shift to the right had on the original denary number from part (a). ...............................................................................................................................................[1] (d) The original number in part (a) is shifted three places to the right. (i) Show the new binary number:

[1] (ii) Write the equivalent denary number. .......................................................................................................................................[1]

6

© UCLES 2016 2210/12/O/N/

(e) Describe the problems that could be caused if the original binary number in part (a) is shifted five places to the right. ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ...............................................................................................................................................[2]

12

©UCLES 2016 2210/13/O/N/

10 (a) A manufacturer of aeroplane engines assigns a denary identification number (ID) to each engine.

One engine has the ID: 0431

(i) Convert this denary number to a 12-bit binary format.

[2] (ii) Show how this number would be represented in hexadecimal. ........................................................................................................................................... ........................................................................................................................................... [3] (b) The current status of the engine is sent to a computer in the aeroplane. Each piece of data collected is 8 bytes in size. Data collection occurs every 30 seconds. Calculate the number of kilobytes that would be needed to store the data collected during a 10-hour flight. Show your working. ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................. kilobytes [3]

9

© UCLES 2016 2210/12/O/N/16 [Turn over

8 Identify whether the four statements about file compression are correct by writing TRUE or FALSE in the following table. Statement TRUE or FALSE MIDI files store the actual music notes in a compressed format JPEG files are examples of lossless file compression MP3 files are, on average, 90% smaller than the music files stored on a CD MP4 files are examples of lossy file compression [4]

3

© UCLES 2025 2210/11/M/J/25 [Turn over

(b) Each ticket number is stored as a binary number in the ticket machine. (i) Two ticket numbers are 14B and 97A. Convert the two ticket numbers from hexadecimal to binary. 14B .................................................................................................................................... 97A ....................................................................................................................................[2] Working space ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... (ii) Give two reasons why the ticket number is displayed as hexadecimal instead of binary. 1 ........................................................................................................................................ ........................................................................................................................................... 2 ........................................................................................................................................ ........................................................................................................................................... [2] (c) The ticket numbers could also be represented as denary. (i) Convert the two ticket numbers from hexadecimal to denary. 02C .................................................................................................................................... 10B .................................................................................................................................... [2] (ii) Convert the two denary numbers into hexadecimal. 109 .................................................................................................................................... 415 .................................................................................................................................... [2] Working space ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... ...........................................................................................................................................

  • 0000800000003 * , ,

Ĭ×ú¾Ġ´íÈõÏĪÅĊßü·þ×ĬĠÝüÜĩĝćÝĉôĤÄćĒĜĂĥμąĕμõÅõĥÅÕąÅĕåμåÕ DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

2

© UCLES 2025 2210/12/M/J/

(c) The denary numbers 19 and 230 are converted to binary numbers to be stored in the RAM. Convert the two denary numbers to binary numbers. 19 .............................................................................................................................................. 230 ............................................................................................................................................ Working space ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... (d) The hexadecimal numbers 35 and 8AD are converted to binary numbers to be stored in the RAM. Convert the two hexadecimal numbers to binary numbers. 35 .............................................................................................................................................. 8AD ........................................................................................................................................... Working space ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ...................................................................................................................................................

  • 0000800000002 * , ,

ĬÕú¾Ġ´íÈõÏĪÅĊàû¸þ×ĬĬÜúÕĬīĎÛõăÅĘď÷ÚĤĂĥμÕĕμĕĥÕμĕÅÅąÕĥμåÕ DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

2

© UCLES 2025 2210/12/O/N/

1 A toy store gives each of the toys it sells a unique code. The codes are 3-digit hexadecimal codes, for example A4B. A computer is used to store a database of the codes. The computer has 12-bit registers. (a) Give the largest hexadecimal number that can be stored in a 12-bit register. ............................................................................................................................................. [1] (b) Give the largest denary number that can be stored in a 12-bit register. ............................................................................................................................................. [1] (c) Two toys have the hexadecimal codes 429 and 1A3. Convert the two hexadecimal codes to 12-bit binary numbers. 429 ............................................................................................................................................ 1A ........................................................................................................................................... [2] Working space ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... (d) Two binary numbers that are stored in the registers are 100010100001 and 011100001011. Convert the two binary numbers to hexadecimal numbers. 100010100001 .......................................................................................................................... 011100001011 .......................................................................................................................... [2] Working space ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ...................................................................................................................................................

  • 0000800000002 * , ,

ĬÖú¾Ġ´íÈõÏĪÅĊÝù¸þ×ĬÀËòÖĬęĔÚĈðÃÒÛÝāÏĂĥμĥÕμõÅÕÕÕμÅąÕąÕĕÕ DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DFD

4

© UCLES 2025 2210/12/O/N/

2 Two binary numbers are stored in a computer. (a) Add the two binary numbers using binary addition. Give your answer in binary. Show all of your working.

[4] (b) A logic right shift of three places is performed on the binary number 11110101. Give the denary number for the binary number that would be stored after the logical shift of three places has occurred. Show all of your working. Working space .......................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... Denary number ......................................................................................................................... [3]

  • 0000800000004 * , ,

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DO NOT WRITE IN THIS MARGIN

DFD