Back to marketplace

Chapter 4 (Pt. 2)

No description yet. This curated deck is ready for daily study.

Total cards: 24•Content version: v4•Public deck•Updated: 8/1/2026

Card preview (24)

#1
Front (Question)

How does black/white encoding differ from RGB?

Back (Answer)

Each pixel is encoded with either 0 (white) or 1 (black).

#2
Front (Question)

How is the greyscale encoded?

Back (Answer)

• 8 bits can be used to represent 256 different shades of gray • 0 (black) to 255 (white)

#3
Front (Question)

How are color images encoded?

Back (Answer)

16 colors (4 bits per pexl)… use a color palette 256 colors (8 bits per pixel) RGB True Color (Red Value, Green Value, Blue Value) • Typically 8 bits per color (total of 24 bits per pixel) • 16.7 million different colors.

#4
Front (Question)

Define: Vector Graphics

Back (Answer)

All components of the image are stored Can be easily scaled without losing image quality Common Vector Formats • Adobe Illustrator • CorelDRAW • MathML

#5
Front (Question)

Define: Data Compression Algorithms

Back (Answer)

Attempt to represent information in ways that preserve accuracy while using significanlty less space.

#6
Front (Question)

Define: Compression Ratio

Back (Answer)

Measures how much compression schemes reduce storage requirements of data.

#7
Front (Question)

Define: Run-length Encoding

Back (Answer)

Replaces a sequence of identical v1, v2,…,vn by a pair of values (v, n).

#8
Front (Question)

Define: Variable Length Code Sets

Back (Answer)

• Often used to compress text • More efficient • Can also be used with other forms of data.

Card back image
#9
Front (Question)

Define: Lossless Compression Schemes

Back (Answer)

• No information is lost in the compression • It is possible to exactly reproduce the original data.

#10
Front (Question)

Define: Lossy Compression Schemes

Back (Answer)

• Do not gaurantee that all of the information in the original data can be fully and completely recreated • Trade image quality for file size

#11
Front (Question)

Which are the common Raster Image File Formats?

Back (Answer)

JPEG (Joint Photographic Experts Group) • 8 bit grayscale, 24 bit color • Compression is lossy TIFF (Tagged Image File Format) • 8 bit or 16 bits per color • Compression can be lossy or lossless GIF (Graphics Interchange Format) • 8 bit color palette • LZW lossless compression • Is now patent-free BMP • Uncompressed, large, lossless, simple structure PNG (Portable Network Graphics) • Free open-source alternative to GIF • 8 bit color palette, 24-bit truecolor, 48-bit true color • Compression is lossless • Patent-free replacement for GIF

#12
Front (Question)

Why is binary representation reliable?

Back (Answer)

Computers use binary representation for reasons of reliability. Building a base-10 “decimal computer” • Requires finding a device with 10 distinct and stable energy states that can be used to represent the 10 unique digits (0,1,….,9) of the decimal system. Bistable Environment • Only two (rather than 10) stable states separated by a huge energy barrier.

#13
Front (Question)

What is the universal storage medium?

Back (Answer)

• No practical universal storage medium exists • All forms of storage have drawbacks • Computer systems contain several kinds of storage

#14
Front (Question)

Describe the storage hierarchy.

Back (Answer)

Primary • Directly accesible to the CPU • Relatively expensive • RAM (volatile) … access time in nanoseconds • ROM (non-volatile) • Contains a small startup program (BIOS) • Reads a larger program from non-volatile secondary storage to RAM and start to execute it. Secondary • Not direclty acessible by the CPU • Relatively cheap • Non-volatile

#15
Front (Question)

What are the types of secondary storage mediums?

Back (Answer)

Hard disk drives … access time in milliseconds Rotating optical storage devices • Longer access times than hard disk drives • CD drive • DVD drive Flash Memory • USB Flash drives • SD cards • Memory Stick (Sony) Solid State Drives Hybrid Drives

#16
Front (Question)

Describe virtual memory

Back (Answer)

• As primary memory fills up, the least-used data is moved to secondary storage devices (swap file) • This data is retrieved when needed • More retreivals mean overall system performance is degraded

#17
Front (Question)

Describe offline storage

Back (Answer)

• Storage that can be physically removed or disconnected • Inreases general information security • Useful for archiving data

#18
Front (Question)

What are the seven characteristics of storage?

Back (Answer)

• Volatility • Mutability • Accessibility • Addressability • Capacity • Performance • Energy Use

#19
Front (Question)

Define: Non-volatile Memory

Back (Answer)

• Retain stored information without power • Suitable for long-term storage

#20
Front (Question)

Define: Volatile Memory

Back (Answer)

Requires constant power to maintain stored information Types • Dynamic Random-Access Memory (DRAM): requires stored information to be preriodically re-read and re-written (refresh) or it will be lost • Static Random-Access Memory (SRAM): does not need to be refreshed as long as power is applied.

#21
Front (Question)

Define: Mutable Storage

Back (Answer)

Read/Write Storage • Allows information to be overwritten at any time • Example: RAM, hard disk drives

#22
Front (Question)

Define: Immutable Storage

Back (Answer)

Read Only Storage • Retains information stored at the time of manufacture Write Once Storage • Allows information to be written only once at some point after manufacture • Example: CD-R

#23
Front (Question)

Define: Slow Write, Fast Read Storage (Mutability)

Back (Answer)

Allows information to be overwritten multiple times, but with the write operation being much slower than the read operation. • Example: CD-RW and Flash Memory

#24
Front (Question)

Define: Random Access

Back (Answer)

• Any location in storage can be accessed at any moment in approximately the same amount of time • Most semiconductor memories and disk drives provide random access.