0% found this document useful (0 votes)
125 views13 pages

Chap 1 Data Representation TPP

Uploaded by

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

Chap 1 Data Representation TPP

Uploaded by

abdmagi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 13
Topical Past Papers Data representation Number Systems 2023 Specimen Paper 1, question 1 4 Aschool network has several computers. Each computer in the network has a media access control (MAC) address. Hexadecimal is used for MAC addresses. Part of a MAC address is given. 97-5C-E1 Each pair of digits is stored as binary in an 8-bit register. (a) Complete the binary register for these two pairs of digits. 97 5c [4] (b) Describe what is meant by a MAC address. . [4] Prepared by: Sir Junaid Zahid +92 303 9399310 Topical Past Papers (c) Give two other uses of hexadecimal in computer science. 1 2 2 (d) Another value is stored as binary in a register. (i) A logical left shift of two places is performed on the binary value. Complete the binary register to show its contents after this logical left shift. a (ii) State one effect this logical shift has on the binary value. (1) (e) Negative denary numbers can also be represented as binary using two's complement. Complete the binary register for the denary value -54. You must show all your working. Working space... Register: 2) Prepared by: Sir Junaid Zahid +92 303 9399310 Topical Past Papers March 2019 Paper 12, question 3(a) 3 (a) Along distance running race uses an electronic counter that counts each competitor who finishes the race. ‘The count is stored as binary in a 12-bit register. Adenary value of the count is displayed on a screen above the finish line. (The screen currently displays: State the binary value that is currently stored to display the count shown cvoennse 2] (il) More competitors cross the finish line and the screen now displays: State the binary value that is currently stored to display the count shown. : 2) (ili) At the end of the race the binary value stored is: 011011000111 Give the denary value that would be displayed on the screen at the end of the race. Screen display (2) Prepared by: Sir Junaid Zahid +92 303 9399310 Topical Past Papers June 2019 Paper 11, question 1 1 Hexadecimal is used for MAG addresses. Part of a MAC adaress is given: 97-5C-E1 Each pair of digits is stored as binary in an 8-bit register. (a) Show what the binary register stores for each pair of the given digits. 7 5c Et (6] (b) Explain what is meant by a MAC address. (4) (6). Give two other examples where hexadecimal can be used Example 4 Example 2 ... 2) Prepared by: Sir Junaid Zahid +92 303 9399310 Topical Past Papers June 2019 Paper 13, question 1(a) 1 Victoria is building a website for her cake design business. (a) She uses the hexadecimal colour code #D2E3F5 as the background colour for her website. ‘The colour code is stored in two 12-bit binary registers. ‘Show how the code would be stored in the registers. D2E | 3F5 | (6) Nov 2019 Paper 11, question 2 2 An electronic guessing game compares denary integer values input by a user with pre-stored values. The pre-stored values are held in 10-bit binary format. (a) Convert the binary values in the table to denary. Binary Denary 0001001110 0110110141 1900000001 3) (b) When planning the game, the designer decided to use hexadecimal notation to represent the binary values. Explain why the designer used hexadecimal notation. - 2 Prepared by: Sir Junaid Zahid +92 303 9399310 Topical Past Papers (c) State the hexadecimal equivalent of the binary value 1010110101 [3] Nov 2019 Paper 12, question 4 4 An8-bit binary register contains the value: (a) Convert the binary value to denary. (b) The contents of the register shifted one place to the right would give the result: 0 0 oO 1 1 ° 1 0 The contents of the register shown at the start of question 4 are shifted two places to the left. ‘Show the contents of the register after this shift has taken place. 1) (c) State the effect this shift has on the denary value in part (a). Nov 2019 Paper 13, question 1(c)(i) (c) The library has a website that customers can use to search for a book (i) The website has a background colour with the hexadecimal colour code #F92A10 The colour code is stored in two 12-bit binary registers. Prepared by: Sir Junaid Zahid +92 303 9399310 Topical Past Papers Show how the colour code would be stored in the registers. Fo2 A10 (6) March 2020 Paper 12, question 5 5 Programmers can use denary and hexadecimal values. These values are stored in a computer ‘system using binary. {a) Explain why binary is used to store data in a computer system. - 2) (b) Complete the table to show how the denary value would be stored as binary in an 8-bit register. Denary value B-bit register 129 56 (2) (c) Complete the table to show how the hexadecimal value 3A9 would be stored as binary in a 12-bit register. (3) (d) Identify two uses of hexadecimal values in computer science. 1 a [2] Prepared by: Sir Junaid Zahid +92 303 9399310 Topical Past Papers June 2020 Paper 11, question 9(d) (d) A low-level language needs to be converted to binary before it can be processed by a computer. (i) Give the 8-bit binary value of the two denary values: 180 201 (2) June 2020 Paper 12, question 7 7 (a) Give the denary value of each of the three 12-bit binary values. (i) 000000001100 a) soo ee] (b) 12-bit binary values can also be represented as hexadecimal values. Give the hexadecimal value of the 12-bit binary value. 000011101001 (3] June 2020 Paper 13, question 1 1 Pradeep is reading hexadecimal values for a project he is working on. (a) The first three hexadecimal values he reads are 15, 102 and A9. Give the denary values for the three hexadecimal values. 15 102 .... Ag 8) Prepared by: Sir Junaid Zahid +92 303 9399310 Topical Past Papers (b) Pradeep has two 8-bit binary values that he needs to convert to hexadecimal values for his project. Give the hexadecimal values for the two 8-bit binary values. 01010000 ....-acesseene Ss ccs panorrman mss eR 2 z 0111104 aacsoceessesceenesneensesnenneessenncen se . cece eee 4] Text, Sound and Images Data storage and compression March 2019 Paper 12, question 1 1 (a) Elle has a file stored on her computer that is 20 MB in size. Jordan has a file that is 10GB in size. Tick (/) to show which is the larger file. Tick ) File size 20MB 10GB tt) (b) Bob has a file stored on his computer that is 3500kB in size. Gerty has a file that is 3MB in size, Tick (V) to show which is the larger file. Tick w) File size 3500 kB. 3MB ta Prepared by: Sir Junaid Zahid +92 303 9399310 Topical Past Papers June 2019 Paper 12, question 4(b) () (i) Marley also needs to store ten 8-bit colour images in a file for his project. Each image is 500 pixels wide and 300 pixels high. Calculate the total file size in megabytes (MB) for all Marley's images. Show alll your working File size 13] Nov 2019 Pay 11, question 6(4 (d) The program files for the games are compressed before they are published on the Internet (i) Describe one benefit of compressing the program files. (ii) State whether lossy or lossless compression should be used Prepared by: Sir Junaid Zahid +92 303 9399310 Topical Past Papers Nov 2019 Paper 12, question 5(a) and 5(b) 5 Audrey wants to send a sound file to Nico using email ‘The file is too large to attach to an email so Audrey decides to compress the file. ‘She uses lossy compression to reduce the size of the sound file. (a) Describe how lossy compression reduces the size of the sound file. 4 (b) Nico asks Audrey why she used lossy compression rather than lossless. (i) State one advantage Audrey could give of using lossy rather than lossless to compress the sound file. = (fil (ii) State one disadvantage Nico could give of using lossy rather than lossless to compress the sound file. Prepared by: Sir Junaid Zahid +92 303 9399310 Topical Past Papers Nov 2019 Paper 13, question 1(c)(ii) (ii) Videos on the library website show customers which books the library will soon have in stock. ‘The library wants the file size of a video to be as small as possible. Identity and describe a method the library could use to reduce the file size of a video as much as possible. co : (4) March 2020 Paper 12, question 3(d) (d) Priya shares her sound files with other students. Before sharing the sound files, she compresses the files using lossless compression Describe how lossless compression reduces the size of a sound file. » (2) Prepared by: Sir Junaid Zahid +92 303 9399310 Topical Past Papers June 2020 Paper 11, question 3(c) (c) Carla wants to reduce the file size of the photos she has transferred to her computer. She does not want the quality of the photos to be reduced, so she uses lossless compression. Describe how lossless compression reduces the file size of the photos. . Prepared by: Sir Junaid Zahid +92 303 9399310

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy