0% found this document useful (0 votes)
13 views

Mod 4 guided notes

Uploaded by

woodruem
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views

Mod 4 guided notes

Uploaded by

woodruem
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

04.

01 Extracting Information from Data


Vocabulary
Definition
Term
Data Values that do not carry any specific meaning
Information Knowledge gained from data
Correlation A relationship between 2 or more data sets
Scatter plot A graph that represents values of two data set used to detect correlation
Causation One data set influences the change of another data set
Metadata Data that describes other data
Hierarchy A system where groups are ranked one above another
Data engineer A specialized programmer who prepares data to be used for information

Data sets that are too large to be processed by traditional computing


Big data
methods

A systems ability to increase or decrease performance based on


Scalability
processing demands
Parallel
A method using multiple processors to run tasks simultaneously.
processing

What types of data do programmers collect in programs?

Describe the difference between correlation and causation as they relate to data:

What information can be extracted from images?

Describe the hierarchical metadata storage structure:

Explain the challenges that come with data:


Describe the three main characteristics of data:

Volume Velocity Variety

Volume is the amount of Velocity is the rate that new


data companies, data is acquired.
governments, or
organizations collect.

Explain the challenges to big data:

04.02 Using Programs with Data

Vocabulary
Definition
Term
List An organized way to express data

The ability of a computer program to learn and improve accuracy through


Machine learning
data and algorithms
Cross-tabulation A table showing a relationship between 2 or more variables
Query A request for data from a data base
Raw data Data in its original form

Describe how to extract data:

Explain the relationship between lists and data:


Explain the difference between spreadsheets and databases:

Spreadsheets Databases

How is data displayed visually?

What are two ways to narrow data to extra information?

1.

2.

What two issues exist when using raw data?


1.

2.

What are the paths to insight as they relate to data?


1.

2.

3.

4.
5.

04.03 Data Abstraction

Vocabulary
Definition
Term
Data abstraction A simplified and reusable representation of raw data

A programming data structure that consists of a collection of elements


Arrays
identified by an index
Lists A data structure similar to an array, a finite number of ordered values
Element A smaller component in a larger system

How does the use of variables reduce complexity?

List some examples of arrays:

1.

2.

3.

Using the code below, list the name of the element at the specified index:

let days = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday",


"Friday"];

Index Element

2
5

Using the code below, what would be displayed as a result?

let days = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday",


"Friday"];

console.log(days[3]);

Using the code below, what would be displayed as a result?


let class = "geometry";

console.log(class.substr(0, 3));

On the AP Exam, you will declare lists using the 🡨. Use the code below to determine where the
value is located in the list.

newList 🡨 ["apples", "nectarines", "oranges", "bananas"]

Element Index

oranges

nectarines

bananas

04.04 Arrays

Vocabulary
Definition
Term
Appends

Traversing

Loop

Write out the code to assign the values below to an array called gpa:
Elemen
Code
t

4.2

3.7

4.0

Write the code to update the values below to an array called gpa:

Instructions Code

Add 3.0 to the end of the array

Change the 3.7 to a 3.8 in the array

Insert 4.8 at the beginning of the


array

Remove the last element in the array

What is the code for the length of the gpa array to be displayed?

_________________________________________________________

What is the most efficient way to traverse through an array?

What is the value of sum after the code below executes:


let nums = ["2", "7", "5", "0", "1", "5"];
let sum = 0;
for (let element of nums)
{
sum = sum + element;
}
sum: ________

What is the code to call on a function named printAlpha with an array named alphabet as a
parameter?

What is the value of total after the AP Block below is executed?


aList ß [9, 2, 4]
total 🡨 0
FOR EACH item IN aList
{
total 🡨 total + item
}
total: ________

You might also like