Unit 3

Unit 3: Parameters and Objects

Day 3: Wednesday October 17th:

Go over test from Monday: Review correct and incorrect questions



Homework:

  • Read Chapter 3 to Read 3.1 up to “Limitations of Parameters”
  • Take notes about important points in the reading: Notes will be graded.

Day 4: Thursday, October 18th

  • Go over Practice Set 2

Hand out and go over Practice Set 3

Parameters: Slides

  • Problem Set 3: Question 1 should be completed
  • Practice it: Self-Check Questions 1, 2 and 3

Day 5: Friday, October 19th

Students will be able to…

  • Correctly construct formal and actual parameters (arguments).
  • Predict output of programs that use parameters

Learning Activities

  • Students demonstrate sections of The Mechanics of Parameters
  • Practice It/Self Check Chapter 3, Questions 1, 2 and 3
  • Programing Project (handed out in class and uploaded to Google Classroom
  • Problem Set 3: Question 2 should be completed

Homework for Monday, October 22nd

  • Read BJP 3.1 “Limitations of Parameters” and “Multiple Parameters”
  • Complete: Notes in notebook
  • Self Check problems 4 & 5

Day 6: Monday, October 22nd

  • Students will be able to…
  • Modify programs using parameters and class constants to create original artworks.


Homework —

  • Read BJP 3.1 “Parameters versus Constants” and “Overloading Methods”
  • Jazz up art projects and programs


Day 7: Tuesday: October 23

  • Presentation: Anthony Chebli
  • Present Artwork from previous day

Return Values

Practice it questions:

math expressions

min

CountQuarters

POKEMON CHALLENGE:


Homework:

  • Complete chapter 3 self-check question 17 and exercise #1


Day 1: Wednesday: October 24

Reviewed return values:

  • Worked on Practice Its

Day 3: Friday: October 26:

Quiz over unit 2


Day 4: Monday: October 29

Go over test

Review Pokemon project

Begin Distance project


Homework:

Review pages 159 - 166

Do: Practice it self check problem 18

Finish Distance exercises

Day 5: Tuesday October 30:

Students will be able to…

  • Differentiate between primitive and object types.
  • Apply 0-indexing and string processing techniques to predict the output of a program.

Review Reading: Interactive Programs and Scanner Objects


Homework:

  • Review 3.3 “Interactive Programming” and “Sample Interactive Program”
  • Complete self-check questions 21 - 22

Day 6: Wednesday: October 31

Students will be able to…

  • Write programs that accept user input using a scanner object.


Day 7: Thursday: November 1

Presentation: Yoseph

Students will be able to…

  • Write a program that requests user input and returns data.
    • Presentation on scanner objects
    • Practice it problems Practice-It SC 3.24 - 3.26; E 3.12, 3.14, 3.15
  • Presentation: Yoseph

Homework:

  • Finish Practice-It SC 3.24 - 3.26; E 3.12, 3.14, 3.15

Outline all of chapter 3: except 3:4

Day 1: Friday November 2

Students will be able to…

  • Write a program that requests user input and returns data.
    • Pokémon Battle Programming Project


Homework:

  • Watch Unit 3 Videos
    • Programming with Parameters
    • Scanners
      • Take notes to be checked in class

Day 3: Wednesday, November 7

Students will be able to…

  • Write a program that requests user input and returns data.
    • Pokémon Battle Programming Project


Homework

Summarize class notes since the last exam

  • If you are missing notes, get them from another student or supplement them from the textbook


Day 4: Thursday, November, 8

Students will be able to…

  • Find errors in their returned homework assignments.
  • Correct their previously submitted homework and classwork


Homework:

  • Read BJP 4.1 up to “Nested if else Statements”
  • Complete Chapter 4 self-check problems 1–6


Day 5, Friday, November 9

Students will be able to…

  • Evaluate relational expressions
  • Predict and trace the flow of an if statement.



Homework

  • Read BJP 4.1 “Nested if/else” and “Object Equality”
  • Complete self-check questions 7–9 and exercises 1 & 2

Day 6: Tuesday, November 13

Students will be able to…

  • Choose which if statements to use for different problems
  • Use correct syntax for the different if statements
  • Students will teach a mini-lesson on sequential or nested if statements
  • Submit several Practice-It questions


Homework:

  • Read BJP 4.1 “Factoring if/else Statements” and “Testing Multiple Conditions”
  • Complete exercises 4 and 5

Day 7: Wednesday, November 14:

  • Presentation: Sepher
  • Students will be able to…
  • Simplify code and reduce redundancy by factoring if/else statements and testing multiple conditions simultaneously.
  • Class competition challenge



Homework:

  • Read BJP 4.2
  • Finish outlining Chapter 4, excluding sections 4.3, 4.4, and 4.5


Day 1, Thursday, November 15

students will be able to…

  • Find and correct syntax errors in conditional cumulative algorithms.

Homework:

  • Read BJP 5.1 (skip “do/while Loops”)
  • Complete Chapter 4 Programming Project #2

Day 3, Monday, November 19

Sephre's presentation: The Dark Web

Finish partner project to correct syntax errors

Students will be able to…

  • Trace while loops to predict:
    • The number of times the body executes
    • The output of the code
  • Differentiate between while loops, if statements, and for loops

Homework

  • Read BJP 5.1 “Random Numbers”
  • Complete self-check questions #1-4 and exercise 2


Day 4, Tuesday November 20

Objectives — Students will be able to…

  • Write expressions that generate a random integer between any two values.

Homework:

  • Read BJP 5.2
  • Complete programming project 1

Day 5, Wednesday, November 21

While Loops and Random Numbers (3:13 & 3:14)

Objectives — Students will be able to…

  • Write expressions that generate a random integer between any two values.
  • Complete programming project 1

Homework:

  • Read BJP 5.2
  • Complete programming project 1


Day 6, Monday, November 26th

Fencepost & Sentinel Loops (3:15)

Handout

Students will be able to…

  • Describe when to use fencepost and sentinel loops.
  • Use proper syntax to construct these control structures.


Homework

  • Read BJP 5.3; pages: 329 -344
  • Complete exercises #6 & 8



Day 7, Tuesday, November 27th

Presentation: Henry

Boolean Logic (3:16)

Handout

DeMorgan's Law

Link to play rock, paper, scissors

  • Students will be able to…(Day 2)
  • Write a game, similar to rock-paper-scissors or a pre-existing dice/card game.
  • Implement the Applied Design stages in order to create a program with an end-user in mind.
    • Whole-group troubleshooting and discussion
    • Student programming activity


Homework

  • Outline Chapter 5 (up to and including BJP 5.3)


Day 1: Wednesday, November 28th

Part 2: Boolean Logic (3:16)

  • complete dice/card game
  • Submit a program at the end of 2 or 3 class periods.
  • Submit any Applied Design documents and resources.

Students will be able to…(Day 2)

  • Write a game, similar to rock-paper-scissors or a pre-existing dice/card game.
  • Implement the Applied Design stages in order to create a program with an end-user in mind.
    • Whole-group troubleshooting and discussion
    • Student programming activity


Homework:

  • Complete: Outline Chapter 5 (up to and including BJP 5.3)

Day 3: Friday November 30th

(3:17)

Go over student generated review questions

Students will be able to…

  • Find errors in their returned homework assignments.
  • Correct their code

Assessments — Students will…

  • Re-submit all homework assignments with corrected answers.


Homework:

  • Complete Boolean programming project
  • Begin Studying for the test by:


Day 4, Monday, December 3rd: (3:18)

Go over student generated review questions

Students will be able to…

  • Find errors in their returned homework assignments.
  • Correct their code

Assessments — Students will…

  • Re-submit all homework assignments with corrected answers.


Homework:

  • Study for the test by:
    • Reviewing all the blue pages at the end of Chapters 3, 4, and 5
    • Re-reading sections as needed
  • Submit 5 questions for review in class tomorrow using electronic survey


Day 5, Tuesday, December 4th

  • Students will be able to…
  • Identify weaknesses in their Unit 1 knowledge.

Students will…

  • Create a personalized list of review topics to guide tonight’s study session.


Homework:

  • Study for tomorrow’s test using your targeted review list


Day 6, Wednesday, December 5th

  • Submit Problem Set 3
  • Unit Test