Data Representation questions

By Interwoven Maths

Data Representation question collection

Review Data Representation questions for Computer Science, with correct answers shown and coverage across binary and denary conversion; hexadecimal; character encoding.

Back to Data Representation practice Back to Computer Science

Question 1

What is a bit?
  1. A binary digit
  2. A decimal digit
  3. Eight bytes
  4. A text character

Question 2

How many bits are in 1 byte?
  1. 8
  2. 4
  3. 16
  4. 1024

Question 3

What is the largest unsigned value in 8 bits?
  1. 255
  2. 127
  3. 256
  4. 511

Question 4

What is binary 1011 in denary?
  1. 11
  2. 10
  3. 12
  4. 13

Question 5

What is denary 14 in binary?
  1. 1110
  2. 1010
  3. 1100
  4. 1111

Question 6

What base is hexadecimal?
  1. 16
  2. 2
  3. 8
  4. 10

Question 7

Which hex digit comes after 9?
  1. A
  2. B
  3. 10
  4. F

Question 8

What is denary 15 in hexadecimal?
  1. F
  2. E
  3. 10
  4. 1F

Question 9

What is hexadecimal 1A in denary?
  1. 26
  2. 16
  3. 20
  4. 36

Question 10

What is hexadecimal FF in denary?
  1. 255
  2. 225
  3. 240
  4. 511

Question 11

Which type of data does ASCII represent?
  1. Text characters
  2. Bitmap pixels
  3. Audio samples
  4. Video frames

Question 12

Standard ASCII uses how many bits per character?
  1. 7
  2. 8
  3. 16
  4. 32

Question 13

What is Unicode's main advantage over ASCII?
  1. More writing systems and symbols
  2. Fewer numeric codes
  3. Smaller image files
  4. Faster processor instructions

Question 14

What happens in lossy compression?
  1. Some original data is removed permanently
  2. Every original bit can be restored
  3. Extra detail is added to the file
  4. The data is encrypted instead of compressed

Question 15

What does lossless compression mean?
  1. All original data can be restored
  2. Some data is lost forever
  3. Images can be compressed
  4. The file cannot be edited

Question 16

Image resolution is the number of what?
  1. Pixels in an image
  2. Colours in a palette
  3. Bytes in a file
  4. Frames per second

Question 17

Colour depth is measured in bits per what?
  1. Pixel
  2. Byte
  3. Second
  4. Character

Question 18

What does increasing colour depth allow?
  1. More possible colours
  2. Fewer possible colours
  3. Fewer pixels in the image
  4. A lower uncompressed file size

Question 19

What unit is sample rate measured in?
  1. Hz
  2. Bytes
  3. Pixels
  4. Volts

Question 20

Why compress a file?
  1. To reduce file size
  2. To increase battery life
  3. To change file type
  4. To add metadata

Question 21

Ignoring overflow, what does a one-bit left shift do to an unsigned value?
  1. Doubles it
  2. Halves it
  3. Adds one
  4. Flips every bit

Question 22

When does binary overflow occur?
  1. A value needs more bits than are available
  2. A value contains several zero bits
  3. A calculation uses two operands
  4. A byte is converted to hexadecimal

Question 23

Which bit fills the rightmost position after a logical left shift?
  1. 0
  2. 1
  3. The discarded left bit
  4. The original right bit

Question 24

Why is hexadecimal useful for binary data?
  1. Shorter notation for long bit patterns
  2. Fewer bits stored in memory
  3. Faster arithmetic in the processor
  4. Built-in detection of bit errors

Question 25

What is 1100 after a one-bit logical right shift?
  1. 0110
  2. 1000
  3. 1101
  4. 0011

Question 26

What is 0101 + 0011 in binary?
  1. 1000
  2. 0110
  3. 0111
  4. 1010

Question 27

A 100 × 50 bitmap uses 8-bit colour. What is its uncompressed size?
  1. 40,000 bits
  2. 5,000 bits
  3. 800 bits
  4. 4,000 bits

Question 28

Mono audio uses 8,000 samples/s, 8 bits/sample for 2 s. What is its size in bits?
  1. 128000
  2. 64000
  3. 16000
  4. 8000

Question 29

Which change usually increases image file size?
  1. Increasing resolution
  2. Reducing colour depth
  3. Using fewer pixels
  4. Applying compression

Question 30

Which change usually increases sound file size?
  1. Increasing sample rate
  2. Reducing duration
  3. Using fewer bits per sample
  4. Using compression

About this topic

Review Data Representation questions for Computer Science, with correct answers shown and coverage across binary and denary conversion; hexadecimal; character encoding.

This topic covers

Example question types