APCSP.CodeHS with JS.Unit 8-Digital Information (47) v2

0.0(0)Studied by 0 people
Build your Mastery score
multiple choiceMultiple Choice & FRQ
call kaiCall Kai
Locked
Card Sorting

1/34

35 Terms

1
New cards

binary

A base 2 system of numbers that represents data through 0s and 1s

2
New cards

Byte

8 bits

3
New cards

Overflow

When a number becomes too large to fit into the number of bits allocated

4
New cards

What happens when there is overflow

The computer will report an error and truncate the number (cap all results to the max number and lose data)

5
New cards

Encodings

A system in which certain sequences of bits represent different things. Computers that both understand an encoding can pass and open files between each other with it.

6
New cards

ASCII

American Standard Code for Information Interchange system using 8 bits to store the alphanumeric and other characters

7
New cards

Unicode

Universal system using hexadecimal numbers to make character sets for languages -- a superset that includes ASCII

8
New cards

Analog data

Real world data, infinitely detailed

9
New cards

Digital data

Finite data in a binary representation

10
New cards

Sampling

Taking a snippet of analog data at regular time intervals and storing it as digital data

11
New cards

Sampling rate

Number of samples in a second (how OFTEN)

12
New cards

Compression algorithms

Algorithms that reduce space needed to represent a file

13
New cards

Lossless compression algorithms

Algorithms that reduce the size without loss of information, so original data can be reconstructed

14
New cards

Lossy compression algorithms

Algorithms that reduce size by discarding non-important information, reducing size but affecting quality

15
New cards

Run-length encoding (RLE) algorithm

A type of lossless image compression in which the computer replaces each row with numbers that say how many consecutive pixels are the same color (3W, 4R, 3W) For black and white always starts with white

16
New cards

What should you consider when choosing how to compress

Consider scenario. If you need a picture for something important (big screen) you want high quality but if it is for a website you can use lower quality to allow faster download

17
New cards

Bit width

How many bits are used to store sampled analog data (how MUCH)

18
New cards

Heuristic

A problem solving approach (algorithm) to find a satisfactory solution where finding an optimal or exact solution is impractical or impossible. “Rule of Thumb”

19
New cards

Kilobyte (KB)

about 1 thousand bytes

20
New cards

Megabyte (MB)

about 1 million bytes

21
New cards

Gigabyte (GB)

about a billion bytes

1,073,741,824 (2^30) bytes. 1,024 Megabytes, or 1,048,576 Kilobytes.

22
New cards

Terabyte (TB)

1,099,511,627,776 (2^40) bytes, 1,024 Gigabytes, or 1,048,576 Megabytes.

23
New cards

Image

A data format used for graphics or pictures.

24
New cards

metadata

Data that describes other data. Ex. A digital image may include metadata that describes the size of the image, number of colors, or resolution.

25
New cards

pixel

short for "picture element;" it is the fundamental unit of a digital image, typically a tiny square or dot which contains a single point of color of a larger image.

26
New cards

filetype

A name given to a specific kind of file that indicates how the bits contained in the file should be read. Examples are .pdf, .png, and .doc.

27
New cards

.jpeg

Stands for "Joint Photographic Experts Group." A popular image file format which is commonly used by digital cameras to store photos since it supports 224 or 16,777,216 colors. This format uses "lossy compression" by exploiting the eye's inability to perceive small colour details as well as small details of light-and-dark in an image.

28
New cards

.gif

Stands for "Graphics Interchange Format." This format is often used for line drawings and animations because of it's limited ability to represent colors (8 bit format which means the maximum number of colors supported by the format is 256.) This format uses lossless compression.

29
New cards

.mp3

audio file - lossy compression

30
New cards

.mp4

video file - lossy compression

31
New cards

.png

image file - lossless compression

32
New cards

.pdf

portable document format is a file format used to present documents in a manner independent of application software, hardware, and operating systems

33
New cards

.zip

an archive file format that supports lossless data compression of any type of file.

34
New cards

abstraction

Removing unnecessary details to focus on the essential characteristics. To break problems up into separate parts which can then be solved separately and recombined to form a complete solution. To focus on and use something based only on what it does and without concern for how that functionality is accomplished.

The level of abstraction has an inverse relationship with detail.

35
New cards

hexadecimal number system

A base-16 number system which consists of the digits 0-9 and A-F. Each of these symbols can occur in each place value position.