Binary & Hexadecimal
Data Storage
Compression Techniques
Audio & Images
General Knowledge
100

What is the smallest unit of data in a computer?

A bit.

100

Which unit is larger, a kibibyte (KiB) or a kilobyte (KB)?

A kibibyte (KiB)

100

What is the main purpose of data compression?

To reduce the size of files

100

What is the file format commonly used for storing compressed audio data?

MP3

100

What are the two main types of data compression?

Lossy and lossless

200

Convert the binary number 1010 to hexadecimal.

A

200

What is the size of a byte?

8 bits

200

Name a type of lossless compression.

Run-length encoding (RLE)

200

What type of compression is typically used for MP3 audio files?

Lossy compression

200

What is the base system of binary numbers?

Base 2

300

How many values can be represented with 4 bits?

16

300

How many bytes are in 1 tebibyte (TiB)?

 240  bytes (or 1.099 trillion)

300

Which compression method is better for media files like images or videos, lossy or lossless?

Lossy compression, because it reduces file size more significantly at the cost of some quality

300

How does a bitmap image represent an image?

A bitmap image represents an image using a grid of pixels, where each pixel has a specific color value

300

How many characters can standard ASCII encode?

128 characters

400

What is an overflow error in binary addition?

It occurs when a calculation results in a value that exceeds the maximum number that can be stored in the given number of bits

400

Why are unsigned integers used to count the number of cars in a parking system?

Unsigned integers store only positive values, which is useful for counting cars, as negative values don’t make sense in this context

400

What is one key difference between lossy and lossless compression?

Lossy compression permanently removes some data, while lossless preserves all original data

400

What does the term “bit depth” refer to in relation to images?

Bit depth refers to the number of bits used to represent the color of a single pixel in an image

400

How does two’s complement represent negative numbers in binary?

In two’s complement, the most significant bit (MSB) is used to represent the sign, with ‘1’ indicating a negative number and ‘0’ indicating a positive number

500

Convert the decimal number 255 to hexadecimal.

FF
500

If a file is 2.5 GiB, how many bytes is that in decimal?

Approximately  2.5 x 230 = 2,684,354,560 bytes

500

Which type of compression is preferred for compressing text files, and why?

Lossless compression, because no information can be lost when compressing text

500

Why is JPEG a popular format for images on the web?

JPEG uses lossy compression, reducing file size while maintaining a reasonable quality, which is ideal for web use

500

What is the purpose of using hexadecimal instead of binary for representing large numbers?

Hexadecimal simplifies binary notation, making it easier for humans to read and understand since each hex digit represents four binary digits