OCR_Computing_GCSE_DataRepresentation Flashcards

1
Q

Convert the denary number 106 into an 8 bit binary number.

A

01101010

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Convert the denary number 106 into hexadecimal

A

6A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Peter takes a high resolution picture with a digital camera. The picture is stored in a bitmap file.

Describe how a picture is stored in a bitmap file.

A

The picture is split into a grid of pixels. Each pixel is given a binary code (which says what colour it is). The bitmap file contains the list of pixels along with meta data about the image e.g. height, width, colour depth, resolution etc.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Peter wants to send the picture as an email attachment. State methods for reducing the size of the picture file so that it is suitable for sending as an email.

A
  1. Use image manipulation software to resize the image so that it uses less pixels.
  2. Reduce the colour depth to reduce the number of bits required to store each pixel.

3.Compress the file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Data stored in computers can be measured in bits, bytes and kilobytes.

State what is meant by a bit

A

A single binary digit, 0 or 1.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Data stored in computers can be measured in bits, bytes and kilobytes.

State what is meant by a byte

A

A group of 8 bits.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

A file contains 5120 bytes. Calculate the size of the file in kilobytes. You must show your working.

A

5120 / 1024 = 5kB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

An artist is recording sound using a computer. The graph below represents the pressure wave of the sound being recorded.

At point A on the graph, the size of the sound wave is 90. This is stored digitally using the binary value of 0101 1010 (or 5A in Hex).

What is the the size of the sound wave, the binary value and hex value at point C?

A

Size=60,

Binary=00111100,

Hex=3C

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

An artist is recording sound using a computer. The graph below represents the pressure wave of the sound being recorded.

At point A on the graph, the size of the sound wave is 90. This is stored digitally using the binary value of 0101 1010 (or 5A in Hex).

What is the the size of the sound wave, the binary value and hex value at point B?

A

Size=120,

Binary=01111000,

Hex=78

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Explain how sampling intervals and compression can affect the size of a sound file and the quality of its playback. The quality of your written communication will be assessed in your answer to this question.

A

Sampling Rate
how close together the samples are taken the closer together, the more numbers need to be stored (and therefore larger file) but the sound that is created is closer to the original analogue mention of variable bit rates
Compression
use algorithms to make the file smaller (e.g for transmitting over Internet) and then recreated to be played can be lossy (eg mp3) and the recreated file is of poorer quality or lossless (eg flac) and the recreated file is exactly the same as it was before compression

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Calculate the denary value of the 8-bit binary number 10010111. You must show your working.

A

128 64 32 16 8 4 2 1

1 0 0 1 0 1 1 1

128+16+4+2+1

151

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Add the following two 8-bit binary numbers and explain the result. You must show your working.

1 0 0 1 0 1 1 1

1 1 0 1 1 0 0 0

A

An overflow has occurred because the result is more than 255 (cannot be represented in 8 bits).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Explain how ASCII is used to represent text in a computer system.

A

Each character is given a numeric code including symbols, digits, upper and lower case. This code is then stored in binary. Each character takes 1 byte. Text is stored as a series of bytes (1 per character). Some codes are reserved for control characters (eg TAB, Carriage Return)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

State what is meant by the character set of a computer.

A

All the characters which are recognised/can be represented by the computer system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Unicode is also used to represent text in a computer system. Explain the difference between the character sets of Unicode and ASCII.

A

Unicode has a much larger character set, representing symbols from many different alphabets. This is possible because each character uses 16 bits whereas ASCII only uses 8 bits.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Describe the difference between lossy and lossless compression and give an example where each would be used.

A

In lossy compression, when the data is uncompressed it is not exactly the same as the original but the difference is so small that it cannot normally be noticed eg music files(mp3) or large resolution images for displaying on small screens.

In lossless compression, when the data is uncompressed it is restored completely to the original file eg compressed text files.

17
Q

Convert the hexadecimal number 6A to binary.

A

6 A

0110 1010

18
Q

Convert the hexadecimal number 6A to denary. You must show your working.

A

6 A

0110 1010

128 64 32 16 8 4 2 1

0 1 1 0 1 0 1 0

64+ 32 +8 + 2 =

106

19
Q

Convert the binary number 00111101 to hexadecimal.Show your working

A

8421 8421

0011 1101

3 D

20
Q

Explain why hexadecimal numbers are often used to represent binary numbers.

A

Hex numbers are shorter/more memorable than equivalent binary numbers and can easily be converted to and from binary as each hex digit corresponds to 4 binary digits (a nibble).

21
Q

Bytes, Kilobytes and Megabytes are units used for the amount of data stored in a computer.

State which of these units is most appropriate for the following item of data.

A one page text document

A

Kilobyte(s)

22
Q

Bytes, Kilobytes and Megabytes are units used for the amount of data stored in a computer.

State which of these units is most appropriate for the following item of data.

A ten minute movie clip

A

Megabyte(s)

23
Q

Bytes, Kilobytes and Megabytes are units used for the amount of data stored in a computer.

State which of these units is most appropriate for the following item of data.

A person’s surname

A

Byte(s)

24
Q

A computer has a hard disk of 2 Terabytes. How much is this in Gigabytes? You must show your working.

A

2 * 1024GB

2048GB

25
Q

What is meant by the resolution of the picture?

A

The concentration of pixels.

26
Q

How does the resolution affect the size of the bitmap file?

A

The higher the resolution the more pixels that are required for the picture which will increase the size of the bitmap file.