Guided Notes 04 Using Data
Guided Notes 04 Using Data
Guided Notes
Describe the difference between correlation and causation as they relate to data:
Unless Otherwise Noted All Content © 2023 Florida Virtual School. FlexPoint™ is a trademark of Florida Virtual
School.
Explain the challenges that come with data:
Unless Otherwise Noted All Content © 2023 Florida Virtual School. FlexPoint™ is a trademark of Florida Virtual
School.
Explain the difference between spreadsheets and databases:
Spreadsheets Databases
1.
2.
2.
2.
3.
4.
5.
Unless Otherwise Noted All Content © 2023 Florida Virtual School. FlexPoint™ is a trademark of Florida Virtual
School.
Data Abstraction
1.
2.
3.
Using the code below, list the name of the element at the specified index:
Index Element
3
console.log(days[3]);
Unless Otherwise Noted All Content © 2023 Florida Virtual School. FlexPoint™ is a trademark of Florida Virtual
School.
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.
Element Index
oranges
nectarines
bananas
Arrays
Write out the code to assign the values below to an array called gpa:
Element Code
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
Unless Otherwise Noted All Content © 2023 Florida Virtual School. FlexPoint™ is a trademark of Florida Virtual
School.
Change the 3.7 to a 3.8 in the array
What is the code for the length of the gpa array to be displayed?
_________________________________________________________
What is the code to call on a function named printAlpha with an array named alphabet as a
parameter?
Unless Otherwise Noted All Content © 2023 Florida Virtual School. FlexPoint™ is a trademark of Florida Virtual
School.