Red = changes from last year |
Green = important for 1st year AP teachers |
Blue = activities for workshop participants |
Orange = personal perspectives by workshop leader |
Morning Session I : Lessons 1, 2, & 3 [9:30-11:00am]
Lesson 1
- Introduction to JavaScript [20min] L14-L35 - John
[Mark start of each Lesson in Leader's Handbook]
-
Stage 1: Plan L14-L16
Stage 2: Teach L17-L30
-
Anticipatory Set - builds a "Real-life story" for motivation and initial discussion with students.
See https://javascript.com and complete first few steps
-
Modeling
-
Activity 1 - find a website that uses JavaScript and/or provide direct instruction to students.
-
Activity 2 - research other interpreted computer languages & Review General Terms & Concepts (L21-23)
-
Activity 3 - L24, Java verus JavaScript Venn Diagram on page 13 (L19)
-
Activity 4 - L24-25 - Students will write their first HTML + JavaScript
-
-
see Guided Practice...focus on :
HTML tags and attributes such as <script type="text/javascript" src="example.js"></script>
commenting,
deprecated code,
differences in browsers, JavaScript versions, device differences (desktop vs smartphone)
-
Checking for Understanding - L27, (Student Worksheet page 15)- commenting
-
Guided Practice - L29 Lesson 1 Lab.htm...edit by removing HTML commenting and JavaScript commenting around the document.write(...) code.
Stage 3: Assess L31-L34 APCS-A style questions in Java...could have students re-write in JavaScript
Stage 4: Act - Supplemental Resources
Lesson 2 - Variables and Data [40min] L36-L51 - John
-
Stage 1: Plan
Stage 2: Teach
-
Anticipatory Set - security story
-
Modeling - complete CIW Lesson 2 curriculum (code completion)...or go to Guided Practice
-
Checking for Understanding - have students read Exercises on page 25-26 (L43-44) these can be used while watching videos in Guided Practice
-
Guided Practice - watch video SEQUENTIALLY in pairs [beginner+experienced], in class, or at home (flipped classroom!)
Stage 3: Assess L
-
Assessments L44 Ex. 2-2 Question 3 answer has a typo. The (true === true) conditional has a true result]...use typos as a "catch the error" problems for students
-
Independent Practice - make sure students are aware that JavaScript allows for multiple ways to reference values and all methods & variables tend to be "public" (clarify scoping rules and "use strict"). In Java and other strongly-typed languages, there is a greater distinction between methods & variables as well as public & private attributes.
Stage 4: Act - Supplemental Resources
Lesson 3
- Functions and Methods [30min] L52-L63 - Jeannie
-
Stage 2: Teach
Anticipatory Set
-
Modeling
-
Checking for Understanding
-
Guided Practice
Stage 3: Assess
Assessments
Independent Practice
Stage 4: Act - Supplemental Resources
Morning Session II : Lessons 3 & 4 [11:15-1:00pm]
Lesson 3 - Functions and Methods [continued] - Jeannie
...see Morning Session 1
Lesson 4 - Program Flow L64-L70 - Jeannie
-
Stage 2: Teach
Anticipatory Set
-
Modeling
-
Checking for Understanding
-
Guided Practice
Stage 3: Assess
Assessments
Independent Practice
Stage 4: Act - Supplemental Resources
Afternoon Session I : Lesson 5 [2:00 - 3:30pm]
Lesson 5 - Introduction to standard Java and JavaScript DOM L71-L83 - John
-
Stage 1: Plan -
-
The lesson contains one complete HTML file and one complete JavaScript file. As a first approach, have students type in each file and re-create the working dynamic webpage.
-
Teachers should demonstrate the two files and point out the connection between HTML id attributes which generates objects in the DOM and the built-in JavaScript document.getElementById() method that finds those objects.
-
There are seven id attributes in the HTML - 1) id="headingIdRed", 2) id="promptIdRed", 3) id="perscentIdRed", 4) id="inputIdRed", 5) id="numberIdRed", 6) id="lowIdRed", and 7) id="highIdRed"
-
Browsers vary on how they implement the DOM. In this Lesson, teachers must be prepared to discuss (but not necessarily solve) DOM compatibility issues. The X/HTML and JavaScript work more completely in more "standards-compliant" browsers. Mozilla Firefox is one such browser.
Stage 2: Teach - using a dynamically-generated color "progress" bar is a popular graphic on a webpage
-
Anticipatory Set - L75-76 : Note the list comparing JavaScript and Java data types; READ the last two paragraphs out loud.
-
Modeling - see Guided Practice for teacher demonstration & discussion
-
Checking for Understanding - student should generate a list (page 42) of predefined variables/methods in the DOM, JavaScript reserved words, programmer-defined variables/methods
-
lesson5noComments.js- sometimes it is difficult to see the forest for the trees
Stage 3: Assess
Stage 4: Act - Supplemental Resources
Afternoon Session II : Lesson 5 continued [3:45 - 5:00pm]
...see Afternoon Session I
Daily Checkout Card:
-
What is at least one thing you learned today? ________________________________________________________________
-
What is at least one thing you would like to know more about? ___________________________________________________
-
What is at least one thing you need to work on? _______________________________________________________________