Big Idea 2: Data (17-22%) Flashcards
(18 cards)
Bit
A single binary digit using either 0 or 1.
Byte
8 bits
Abstractions
- Find common features to generalize a program, enabling code shrinking using procedures
- Reducing # of code = reducing errors
- Bits are grouped to represent abstractions
Analog Data
- Values change smoothly over time, continuous signals (Ex. Pitch, volume, painting colors, sprinter position in a race)
Digital Data
- Values change in discrete intervals, discrete time signals
- Can approx digital data using sampling, which involves measuring values of the analog signal at regular intervals (samples)
- Smaller the sample rate, more accurate the signal
- This is an example of abstraction
Round off Error
When decimals (real numbers) are rounded differently (Ex. ⅓ may be 0.33 on one computer and 0.3333 on another, making them unequal)
Data Compression
Reducing the size (# of bits) of transmitted/stored data
Lossless Compression
No data loss, original file can be reproduced, difficult to store, transfer, and handle
Lossy Compression
Significantly reduces the file size, decreasing resolution, will not recover original file due to data loss, used to minimize size or transmission time (utilized for audio and video)
Correlation
There’s a relation but one does not cause the other so additional research is needed
Causation
One directly causes the other
Cleaning Data
Makes data uniform without changing the meaning (Ex. Changing “seven” to 7)
Filtering Data
Looking at a subset of data (Ex. keeping only the positive numbers from a list, or keeping only students who signed up for band from a record of all the students)
Metadata
Data that describe your data, increases the effective use of data/data sets by providing additional information about various aspects of the data (Ex. Data = photo, Metadata = date, time, and location of photo)
What can binary represent?
- ALL DIGITAL DATA (colors, Boolean loops, lists, etc.)
- Anything stored on a computer
What does data size affect?
The size/amount of info you extract
Extract or Modify Data: Transforming
doubling every element in a list, or adding a parent’s email to every student record
Extract or Modify Data: Visualizing
Using a chart, graph, or other visual representation