comp sci 3

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

1/36

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

37 Terms

1
New cards

logic gate

A little machine that decides yes/no using 0s and 1s.

2
New cards

transistors

Tiny switches that turn electricity on/off.

3
New cards

NOT gate

Flips the input! (0 becomes 1, and 1 becomes 0)

4
New cards

AND gate

Only gives 1 if both inputs are 1.

5
New cards

OR gate

Gives 1 if at least one input is 1.

6
New cards

XOR

Gives 1 if only one input is 1 (not both).

7
New cards

truth table

A list of all possible input combinations and their outputs.

8
New cards

half adder

A circuit that adds two bits and gives sum + carry.

9
New cards

full adder

Adds two bits and a carry bit. Gives a new sum + carry.

10
New cards

4-bit adder

A bunch of adders working together to add bigger numbers.

11
New cards

microphone

A transducer that converts sound waves (analog) into electric signals (digital).

12
New cards

speaker

Converts electric signals into sound waves.

13
New cards

sine wave in audio

A mathematical function representing pure tones: S(t)=asin(2πft−θ)

14
New cards

amplitude

Loudness or intensity, measured in decibels (dB).

15
New cards

frequency

Pitch, measured in Hertz (Hz).

16
New cards

Nyquist-Shannon sampling theorem

To capture all info, the sampling rate must be at least twice the highest frequency (fs≥2f).

17
New cards

bit depth in audio

The number of bits used per sample, affecting dynamic range and accuracy.

18
New cards

bit rate formula for digital audio

Bit Rate = Bit Depth × Sampling Rate × Number of Channels.

19
New cards

CD-quality audio

16-bit depth, 44.1 kHz sampling rate, stereo (2 channels), 1.4 Mbps bit rate.

20
New cards

lossless audio compression

Preserves original data exactly.

21
New cards

lossy audio compression

Removes imperceptible details to save space.

22
New cards

lossless audio codec

FLAC - uses LPC and Rice coding.

23
New cards

lossy audio codecs

MP3 and AAC - use psychoacoustic models and Huffman coding.

24
New cards

primary colors in RGB model

Red, Green, Blue.

25
New cards

typical range for RGB values

0 to 255 for each channel.

26
New cards

color representation in hexadecimal

As #RRGGBB, e.g., (178,102,255) = #B266FF.

27
New cards

CMYK color

Used for printing - Cyan, Magenta, Yellow, and blacK on white paper.

28
New cards

pixel

A single dot of color in a digital image.

29
New cards

image resolution

The number of pixels in width × height (e.g., 1920x1080).

30
New cards

raster graphics

Images made of pixels (bitmaps), good for photos.

31
New cards

vector graphics

Images made from mathematical equations; scalable without losing quality.

32
New cards

vector image format

SVG (Scalable Vector Graphics).

33
New cards

indexed color

Technique that uses a color palette to reduce file size by referencing only used colors.

34
New cards

GIF

Best used for simple animations, line drawings - supports transparency.

35
New cards

PNG

Best used for lossless compression; good for diagrams and logos; supports transparency.

36
New cards

JPEG

Best used for photographs; uses lossy compression, not good for sharp lines or text.

37
New cards

JPEG compression

Works by breaking image into 8×8 blocks, stores average intensity and pixel differences.