Java+Script+Continued

In this section, you will pick up from where you left off in the area of JavaScript Programming on CodeHS. You will need to do the following to get started:

1. Ensure that you are able to login to your old CodeHS account or create a new account. 2. Review the "Basic JavaScript and Graphics" section by going through the videos for section 1 (Hello World) through section 15 (Loop and a Half). The reviewing of the videos/slides should take 1 class period (Thursday, February 25th).


 * *As we work through the materials on CodeHS, you will be given checkpoints that you will need to complete and hand in along the way. These checkpoints will confirm your understanding of the materials. ** *

Once you have completed the steps above, here is what you need to do...


 * __Friday, February 26th__ **

Lesson 16 - Functions and Parameters a."Functions and Parameters 1" video b. Functions and Parameters Quiz 1 c. Double Number example d. "Square" Exercise e. "Triple" Exercise **(Please email your solution so I can send you the explanation)**


 * __Monday, February 29th__ **

- the horizontal value of the start of the line (example: 0) - the vertical value of the start of the line (example: 40) - the horizontal value of the end of the line (example: 300) - the vertical value of the end of the line (example: 40)
 * Parameters for drawing a line in JavaScript **

(0,40,300,40)

media type="youtube" key="VXZ6yqr-n68" width="560" height="315"
 * Here is a short video that will help you a bit more: **

Lesson 17 - Functions and Parameters a."Functions and Parameters 2" video b.Functions and Parameters Quiz 2 c. Sum Function example d. "Area of Triangle" Exercise e."Height in Meters" Exercise **(Please email your solution so I can send you the explanation)**


 * __Tuesday, March 1st__ **

Lesson 18 - Functions and Parameters a."Functions and Parameters 3" video b. Functions and Parameters Quiz 3 c. Draw Circles example d. "Horizontal Lines" Exercise e. "Graphics Stop Light" Exercise **(Please email your solution so I can send you the explanation)**


 * __Wednesday, March 2nd and Thursday, March 3rd (Extended until Friday March 4th)__ **

Please complete the following checkpoint in the "sandbox" and send it to me once it is completed.




 * __Monday, March 7th__ **

Staff PD - No school for students


 * __Tuesday, March 8th__ **

One of the required elements of Computer Science is to look at data structure known as "Arrays". The visual below will make more sense once you complete the related content in W3 Schools and CodeHS.

**Array:** Arrays are used to store multiple values in a single variable.



Section in CodeHS: "Basic Data Structures"

Lesson 1 - Intro to Lists/Arrays a. "Intro to Lists/Arrays" Video b. "Intro to Lists/Arrays" Quiz c. Review "Making an Array" example d. "List of Places to Travel" exercise e. "List of Even Numbers" exercise

Lesson 2 - Indexing into an Array a. "Indexing into an Array" Video b. "Indexing into an Array" Quiz c. "Array Indexing Practice" example d. "Top Websites" exercise **(Please send to me)**


 * __Wednesday, March 9th__ **

Lesson 3 - Adding/Removing from an Array a. "Adding/Removing from an Array" Video b. "Adding/Removing from an Array" Quiz c. "Add/Remove from Array" example d. "Practice Push and Pop" exercise

Lesson 4 - Array Length and Looping Through Arrays a. "Array Length and Looping Through Arrays" Video b. "Array Length and Looping Through Arrays" Quiz c. "Print Shopping List" example d. "Sum Array" example e. "Product of List" exercise f. "Print Flight Itinerary" example


 * We will complete this section tomorrow*


 * __Thursday, March 10th__ **


 * Consult your Google Drive for solution to "Print Flight Itinerary"*

Lesson 4 Continued - Array Length and Looping Through Arrays a. Complete the questions in the document below and send to me for marking.


 * __Friday, March 11th__ **