Uses a computer program to take in data, transform data, and output data.
3
New cards
Collaboration
Occurs in the planning, testing, or designing step of the process.
4
New cards
Benefits of collaboration
Includes the ability to exchange ideas, multiple perspectives, addressing misunderstandings, development of thinking skills, increased student responsibility, and elimination of bias.
5
New cards
Pair programming
When two programmers develop software side-by-side at one computer on the same algorithm.
6
New cards
User interface
The inputs and outputs that allow a user to interact with a piece of software.
7
New cards
Camel case
A naming convention where the first letter of each word is capitalized, e.g., stopButton.
8
New cards
Input
Data that is sent to a computer for processing.
9
New cards
Output
Data sent from a program to a device.
10
New cards
Program
A collection of instructions that a computing device executes.
11
New cards
Code segments
Smaller collections of statements that are part of a program.
12
New cards
Program event
An action or occurrence within a computer program that triggers specific actions or behaviors.
13
New cards
Event driven program
A type of program that responds to events triggered by user actions, system events, or other sources.
14
New cards
Sequential program
A program that executes instructions in a specific order.
15
New cards
Iterative development process
Programmers develop working prototypes and revisit stages of their development method.
16
New cards
Incremental development process
Programmers break the program into smaller pieces and ensure each piece works before adding it to the whole.
17
New cards
Program Documentation
A description of how something in your program works.
18
New cards
Comments
The most common form of program documentation, written directly into the program.
19
New cards
Library
A collection of functions that can be used in different programs.
20
New cards
Application Program Interface (API)
Describes how each function works, a complete list of parameters, and what is returned.
21
New cards
Syntax Errors
Occurs when the spelling and/or punctuation rules of the programming language aren't followed.
22
New cards
Syntax Error
An error caused by incorrect syntax, such as forgetting to close a set of parentheses or spelling a variable wrong.
23
New cards
Logic Errors
A mistake in a program's base logic that causes unexpected behavior.
24
New cards
Run-Time Errors
An error that occurs when the program is running, allowing the program to start but causing issues during use.
25
New cards
Overflow Errors
An error that occurs when a computer tries to handle a number that's outside of its defined range of values.
26
New cards
Debugging
The process of finding and fixing errors in a program.
27
New cards
Data
A collection of facts.
28
New cards
Number Base
The number of digits or digit combinations that a system uses to represent values.
29
New cards
Decimal System
A system with a base of 10 that uses combinations of 0-9 to represent values.
30
New cards
Binary System
A system that only uses combinations of 0 and 1 to represent values.
31
New cards
Bits
The smallest unit of information stored or manipulated on a computer, represented as 0 or 1.
32
New cards
Byte
A unit of data that consists of 8 bits.
33
New cards
Analog Data
Data that is measured continuously and changes smoothly.
34
New cards
Digital Data
Data that is formatted in a finite set of possible values.
35
New cards
Sampling
The process of recording an analog signal at regular discrete moments and converting them into digital signals.
36
New cards
Data Abstraction
Filtering out specific details to focus on the information needed to process the data.
37
New cards
Unique Combinations of 8 Bits
8 bits can represent 256 unique combinations.
38
New cards
Representation of Number 5 in Binary
The binary representation of the number 5 is 101.
39
New cards
Representation of Number 5729 in Decimal
The decimal representation of the number is 5,729.
40
New cards
Black and White in Binary
Black is represented as 1 and white as 0.
41
New cards
Digital Representation of Analog Data
Digital data approximates real-world analog data by leaving out extra details.
42
New cards
Example of Digital Data
Watching a video on YouTube, where the duration is displayed in finite values.
43
New cards
Example of Analog Data
Observing a live game at a venue, where the data is continuous.
44
New cards
Largest value calculation
To Calculate the largest value: do the power of 2 -1. For example, what's the largest value you can represent with 7 bits: 2 to the 8th -1 which is 255.
45
New cards
Largest numerical values calculation
To calculate the largest amount of numerical values you just do the power like 2 to the 8th which is 256. That's because we count 0-255.
46
New cards
Data compression
Set of steps of packing data into a smaller space while allowing for the original data to be seen.
47
New cards
Two way process of data compression
Make a data package smaller or decompress packet to original form.
48
New cards
Purpose of data compression
Useful in computing to save disk space or to reduce bandwidth.
49
New cards
Data compression process
Deals with a string of bytes and compressing it down to a smaller set of bytes, taking less bandwidth.
50
New cards
Condensing large files
Condense large files by getting rid of data that isn't needed while retaining the information in the file.
51
New cards
Redundancy in data compression
Contain large amounts of redundancy to get a compact representation of the data.
52
New cards
Encoding algorithm
An encoding algorithm that takes a message or image and generates a compressed representation.
53
New cards
Decoding algorithm
A decoding algorithm that reconstructs the original message or an approximation of it.
54
New cards
Factors affecting data compression
Depends on the amount of redundancy or repeated information and the method you use to compress your file.
55
New cards
Run length encoding
Works by replacing repeating data with a run that represents the number and value of the repeated data.
56
New cards
Example of run length encoding
For example, FFFFFIIIIIIVVVVVVVEEEE could be written as 5F6I7V4E.
57
New cards
Lossless data compression
Allows you to reduce your file size without sacrificing any of the original data in the process.
58
New cards
Inverting pixel colors
Inverting pixel colors and brightness values can reconstruct the original message exactly from the compressed message.
59
New cards
Lossy data compression
Sacrifices some data in order to achieve greater compression.
60
New cards
Methods of lossy compression
Converting to grayscale, lowering resolution.
61
New cards
Reconstruction in lossy compression
Can only reconstruct an approximation of the original message.
62
New cards
Usage of lossy compression
Used mainly for images and sound.
63
New cards
Effects of lossy compression
High degrees of compression result in smaller compressed files but some number of original pixels, sound waves, or frames are removed FOREVER.
64
New cards
Compression and file size
Amount of compression ⬆️ Size of resulting file ⬇️.
65
New cards
Information extraction from data
Large data sets: big data.
66
New cards
Correlation definition
Correlation DOES NOT CAUSE: Correlations refer to the statistical relationship between two or more variables.
67
New cards
Correlation range
It measures how closely these variables are related to each other, ranging from -1 (perfect negative correlation) to 1 (perfect positive correlation).
68
New cards
Outliers in data
Data points that significantly deviate from the overall pattern or trend.
69
New cards
Metadata definition
Metadata is data about data. IT DOES NOT AFFECT THE DATA ITSELF!! Changes and deletions made to metadata do not change the primary data.
70
New cards
Purpose of metadata
IT IS USED TO help find and organize data.
71
New cards
Data cleaning
Data may not be uniform so you have to clean data. Cleaning data creates a uniform of data.
72
New cards
Data cleaning
The need to clean data.
73
New cards
Incomplete data
Data that is missing some values.
74
New cards
Invalid data
Data that is incorrect or not usable.
75
New cards
Combining data sources
The need to combine data from different sources.
76
New cards
Parallel systems
Systems that may be required to process large data sets using multiple computers.
77
New cards
Bias in data
Problems of bias created by the type or source of data being collected.
78
New cards
Data mining
The process of examining very large data sets to find useful information such as patterns.
79
New cards
Spreadsheets
Programs that help efficiently organize and find trends in information.
80
New cards
Data transformation
Modifying every element of a data set.
81
New cards
Arithmetic modification
An example of data transformation, such as multiplying each number by some constant value.
82
New cards
Non-arithmetic modification
Adding a grade level or class rank to a list of student records.
83
New cards
Filtering data
Filtering a data set by category, such as extracurricular activities.
84
New cards
Data visualization tools
Tools such as graphs, charts, and word-bubbles used to represent data.
85
New cards
Bar chart
A chart that presents categorical data with rectangular bars with heights or lengths proportional to the values they represent.
86
New cards
Scatter plots
Uses dots to represent values for two different numeric variables.
87
New cards
Correlation
A measure that indicates the relationship between two variables.
88
New cards
Causation
Indicates that one event is the result of the occurrence of another event.
89
New cards
Strong positive correlation
A correlation value close to 1.
90
New cards
Line graphs
Graphs that use lines to represent values.
91
New cards
Histogram
Uses bars to represent values, usually using frequency and ranges.
92
New cards
Grades range
Grades were about 60-80.
93
New cards
Variable
A placeholder in your program for a value, usually represented by letters or words.
94
New cards
Assignment operator
Used to assign values to variables.
95
New cards
Global variable
A variable that can be used anywhere in the code.
96
New cards
Local variable
A variable used only in part of the code it was created and deleted once the event is done.
97
New cards
Avoid local variables
Best practice to create variables once and place them on top of the code.
98
New cards
Data value
Each variable can only hold one data value at a time and can be reassigned.
99
New cards
Animal
The variable Animal is now 'dog'
100
New cards
Data types
Different categories of data that your computer can represent, such as integers, strings, lists, and booleans.