0% found this document useful (0 votes)
80 views4 pages

G12 - Revision

The document contains revision questions about binary, hexadecimal, binary-coded decimal, sampling resolution, image resolution, data compression, logic circuits, and Boolean algebra. It asks the reader to convert between number systems, perform arithmetic operations, calculate file sizes, describe concepts, draw logic circuits, and complete truth tables.

Uploaded by

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

G12 - Revision

The document contains revision questions about binary, hexadecimal, binary-coded decimal, sampling resolution, image resolution, data compression, logic circuits, and Boolean algebra. It asks the reader to convert between number systems, perform arithmetic operations, calculate file sizes, describe concepts, draw logic circuits, and complete truth tables.

Uploaded by

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

REVISION QUESTIONS

1 a) The following bytes represent binary integers using the two’s


complement form. State the equivalent denary values.
i) 0 1 0 0 1 1 1 1 [1]
ii) 1 0 0 1 1 0 1 0 [1]
iii) Write the integer −53 in two’s complement form. [1]
iv) Write the maximum possible range of numbers using the two’s
complement form of an 8-bit binary number.
Give your answers in denary. [2]
b) i) Write the denary integer 798 in binary-coded decimal (BCD) format.
[1]
ii) Write the denary number that is represented by the following BCD
number.
1001011101110110 [2]
c) Give one use of binary-coded decimal system. [1]
2 A software developer is using a microphone and a sound editing app to
collect and edit sounds for his new game.
When collecting sounds, the software developer can decide on the sampling
resolution he wishes to use.
a) i) State what is meant by sampling resolution. [1]
ii) Describe how sampling resolution will affect how accurate the
stored digitised sound will be. [2]
b) The software developer will include images in his new game.
i) Explain the term image resolution. [1]
ii) The software developer is using 16-colour bit-map images.
State the number of bits required to encode data for one pixel of his
image. [1]
iii) One of the images is 16 384 pixels wide and 512 pixels high.
The developer decides to save it as a 256-colour bit-map image.
Calculate the size of the image file in gibibytes. [3]

iv) The bit-map image will contain a header.


State two items you would expect to see in the header. [2]
v) Give three features you would expect to see in the sound editing app. [3]
3 The editor of a movie is finalising the music score. They will send the final
version of the score to the movie producer by email attachment.
a) Describe how sampling is used to record the music sound clips. [3]
b) The music sound clips need to undergo some form of data compression
before the music editor can send them via email.
Identify the type of compression, lossy or lossless, they should use.
Give a justification for your answer. [3]
c) One method of data compression is known as run length encoding (RLE).
i) Explain what is meant by RLE. [3]
ii) Show how RLE would be used to produce a compressed file for
the image below.
Write down the data you would expect to see in the RLE compressed
format (you may assume that the grey squares have a code value of 85
and the white squares have a code value of 255).

4 a) Write the denary numbers 60, 27 and −27 in 8-bit binary two’s
complement form. [3]
b) Show the result of the addition 60 + 27 using 8-bit binary two’s
complement form. Show all of your working. [2]
c) Show the result of the subtraction 60 − 27 using 8-bit binary two’s
complement form. [2]
d) Give the result of the following addition.
01011001
+
01100001
Explain why the expected result is not obtained. [2]
5 a) Carry out 0.52 + 0.83 using binary-coded decimal (BCD). Show all
of your working. [4]
b) i) Define the term hexadecimal. [1]
ii) Give two uses of the hexadecimal system. [2]
iii) Convert the following binary number into hexadecimal. [2]
0111111011110010
6 a) Convert the denary number 95 into binary coded decimal (BCD). [1]
b) Using two’s complement, carry out the binary subtraction:
00100011–01000100
and convert your answer into denary. [3]
c) Convert the denary number 506 into hexadecimal. [1]

7 A safety system uses three inputs to a logic circuit. An alarm, X, sounds if


input A represents ON and input B represents OFF, or if input B represents
ON and input C represents OFF.
Produce a logic circuit and truth table to show the conditions which cause the
output X to be 1.
8 Draw the logic circuits and complete the truth tables for these logic
statements and Boolean algebra statements.
a) X = 1 if (A = 1 OR B = 1) OR (A = 0 AND B = 1)
b) Y = 1 if (A = 0 AND B = 0) AND (B = 0 OR C = 1)
c) T = 1 if (switch K is ON or switch L is ON) OR (switch K is ON and
switch M is OFF) OR (switch M is ON)
d) X = (A.B) + (B.C)
e) R = 1 if (switch A is ON and switch B is ON) AND (switch B is ON or
switch C is OFF)
9 By drawing a truth table, show which single logic gate has the same
function as the logic circuit drawn below.

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