Data Representation and Number Systems

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/18

flashcard set

Earn XP

Description and Tags

A set of flashcards designed to help review key concepts related to data representation, number systems, and compression techniques.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

19 Terms

1
New cards

What base number system is primarily used by computers?

Base 2/Binary

2
New cards

Why is binary used in computers?

Because computers use transistors that have two states, off and on, represented by binary 0s and 1s.

3
New cards

What is the hexadecimal system based on?

The number 16.

4
New cards

What characters represent values 10 to 15 in hexadecimal?

The letters A to F.

5
New cards

How is hexadecimal 13E7 converted to denary?

(116^3) + (316^2) + (1416^1) + (716^0) = 5095.

6
New cards

What is one use of the hexadecimal system?

It is used for HTML colour codes.

7
New cards

What does a logical shift to the left in binary represent?

Multiplying by two.

8
New cards

What is a two's complement used for?

To represent signed integers.

9
New cards

How do you convert -79 into an 8-bit binary using two's complement?

By expressing -79 as binary where the leftmost bit indicates negativity.

10
New cards

What is ASCII?

A 7-bit character set that includes 128 characters.

11
New cards

What is the formula to calculate the size of a sound file?

Number of samples per second x Number of bits per sample x Length of sample in seconds.

12
New cards

What are bitmap images constructed from?

Colored squares called pixels.

13
New cards

What does color depth refer to?

The number of bits required for each pixel.

14
New cards

What is the maximum number of different colors visible to the human eye according to a 24-bit color?

Over 16 million colors.

15
New cards

What are Kibi, Mebi, Gibi, and Tebi?

They are powers of 2.

16
New cards

What is a characteristic of lossy compression?

Some data is lost and cannot be recovered.

17
New cards

What is a characteristic of lossless compression?

No data is lost, just encoded differently.

18
New cards

What algorithm can be used for audio files in lossy compression?

MP3.

19
New cards

What can be discarded in image files during compression without causing noticeable deterioration?

Differences in shades of color or brightness.