CSC 105 MT1- Deck 6: Data Representation

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/18

encourage image

There's no tags or description

Looks like no tags are added yet.

19 Terms

1
New cards

Analog Data

Continuous data that represents real-world signals or measurements. It can vary smoothly between values.

Examples: Sound waves, temperature and light intensity.

2
New cards

Digital Data

Data represented using discrete (separate) values, usually binary digits (0 and 1).

Examples: Digital photographs, MP3 files and text documents.

3
New cards

Analog vs. Digital Data

Analog data changes continuously, while digital data uses separate, distinct values.

Example: A continuous sound wave is analog; a digital recording represents that sound using numerical samples.

4
New cards

Analog-to-Digital Converter (ADC)

A device that converts continuous analog signals into digital numbers that a computer can process.

Example: Converting a microphone's analog sound signal into digital audio data.

5
New cards

Bit (b)

The smallest unit of digital information.

A bit can have only two possible values: 0 or 1.

Example: A switch that is OFF (0) or ON (1).

6
New cards

Using Multiple Bits

Multiple bits allow computers to represent more than two possibilities.

Example: Two bits create four combinations: 00, 01, 10 and 11. These could represent Park, Drive, Reverse and Neutral.

7
New cards

Number of Possibilities Rule

With n bits, the number of possible combinations is 2^n.


Examples: 1 bit = 2 possibilities; 2 bits = 4; 3 bits = 8; 5 bits = 32; 8 bits = 256.

8
New cards

Byte (B)

A group of 8 bits. One byte can represent 2^8 = 256 different combinations (values 0–255).

Example: A basic English character can be stored in one byte.

9
New cards

Bit vs. Byte

A bit (b) is one binary digit (0 or 1).

A byte (B) contains 8 bits.

Remember: lowercase b = bit; uppercase B = byte.

10
New cards

Kilobyte (KB)

A unit of digital storage. In your course's convention, 1 KB = 1,024 bytes.

Example: A small text document.Megabyte (MB)

11
New cards

Gigabyte (GB)

A unit of digital storage.

In your course's convention, 1 GB = 1,024 MB.

Example: A movie or phone storage capacity.

12
New cards

Terabyte (TB)

A large unit of digital storage.

In your course's convention, 1 TB = 1,024 GB.

Example: A large hard drive or server.

13
New cards

Binary-Coded Decimal (BCD)

A coding system in which each decimal digit is represented separately using 4 bits.

Example: Decimal 69 becomes 0110 1001 in BCD because 6 = 0110 and 9 = 1001.

14
New cards

BCD vs. Ordinary Binary

BCD encodes each decimal digit separately using 4 bits, while ordinary binary represents the entire number in base 2.

Example: Decimal 69 = 0110 1001 in BCD, but 01000101 in ordinary binary.

15
New cards

Character Set

A collection of characters that a computer can represent using numeric codes.

Examples: ASCII and Unicode.

Characters may include letters, numbers, punctuation and symbols.

16
New cards

ASCII (American Standard Code for Information Interchange)

A character encoding system that assigns numeric codes to letters, digits and symbols.

Standard ASCII uses 7 bits (128 possible characters), although codes are commonly stored in 8-bit bytes.

Example: A = 65 = 01000001 in 8-bit binary.

17
New cards

Pixel

The smallest individual element of a digital image.

Each pixel stores colour information.

Many pixels arranged together form a complete image.

18
New cards

Image Resolution

The number of pixels used to represent a digital image, often expressed as width × height.

Example: 1920 × 1080 pixels. Higher resolution generally allows more detail but requires more storage when other factors are equal.

19
New cards

RGB Colour Model

A colour system that combines Red, Green and Blue light.

In standard 8-bit-per-channel RGB, each colour value ranges from 0–255.

Examples: Red (255,0,0), Green (0,255,0), Blue (0,0,255), White (255,255,255), Black (0,0,0).