Principles of Computer Science Daily Lessons - syllabus

October 2017
Date Warm-up Class Activities Objectives. SWBAT:
17 What are the 3 parts of a for statement?
  1. Quiz
  2. Finish How to indent your code in CodeHS ( Clever )
  • Demonstrate understanding of JavaScript code in Karel
  • Indent code to improve readability
16 What kind of loop is represented by this flowchart?
  1. Quiz review for tomorrow:
  2. Finish More examples in CodeHS ( Clever )
  • Draw flowcharts for code
  • Write code for flowcharts
  • Code examples of loops
13 What is the difference between while and for loops?
  1. Plan a solution together for 1.13.4 Random Hurdles considering edge conditions.
  2. Plan a solution together for 2.1.3 Towers considering edge conditions.
  3. Change the 1.14.3 move tennis ball program to put down 2 balls for each ball that was there originally.
  • Consider edge cases
  • Choose the right loop for a problem
12 Write a loop to move until you reach a wall.
  1. Fill in these notes from the Control structures lesson.
  2. Finish the control structures lesson.
  • Combine control structures for problem solving.
11 for(var i=0;i<2;i++)
  if you took the PSAT today write PSAT
  else write in class
  1. PSAT testing.
  2. Complete this while loop puzzle program together with pair programming.
  3. Complete while loops in CodeHS
  • Solve a puzzle with loops using pair programming.
  • Program using while loops
if you're happy write good
     else write OK
if you're looking forward to 
     tomorrow write great
else write hanging in there.
  1. Complete examples of flowcharts to code.
  2. Compare for loops to while loops in code and flowcharts.
  3. Check that your CodeHS ( Clever ) is complete, if not, what help or support do you need?
  4. Visit the history of computers in VR
  • Experience a VR field trip.
  • Draw flowcharts to match code, write code to match flowcharts
  • Compare different iteration structures.
if today is Friday
     if you're happy write good
     else write OK
     if you're looking forward to 
        tomorrow write great
     else write hanging in there.
  1. Investigate some advances in VR and how Java can create VR worlds, as well as new 3d scanners.
  2. Review flowcharts.
  3. Copy down examples of flowcharts to code.
  4. Work on while loops in CodeHS ( Clever ). .
  5. Find missing work for the original programming project.
  • Discuss current applications in VR
  • Translate flowcharts into code
  • Use while loops
if today is Friday write good
    else write great.
  1. Notebook: Write down examples of loops with conditionals.
  2. Review conditional statements in JavaScript.
  3. Complete the section on if/else statements in CodeHS ( Clever ). [do as homework if necessary]or continue to work ahead.
  • Write loops with conditions
4 What symbols mark the beginning of a comment?
  1. Notebook: Write down examples of common, useful, loops.
  2. Review, offer suggestions, and write reflections on original programs while taking a Gallery Walk.
  3. Complete the section on if statements in CodeHS ( Clever ). [do as homework if necessary]
  4. Original programming product due today. Check the rubric for points.
  • Write conditional statements.
  • Review and reflect on coding project
3 What is skeleton code?
  1. With partners: Arrange this code so it will work to solve the problem.
  2. Complete the code for your Original function and loop project. Paste as text onto OneNote PRODUCT page. Check the rubric for points.
  • Complete efficient code using FOR loops and functions


2 What is a precondition for the move() command?
  1. Review: Lots of Hurdles with for loops and functions.
  2. PRODUCT: Work with an elbow partner, as assigned, to design a reasonably complex world with a solution that includes at least 3 functions and 2 for loops. Hand in a paper plan with a sketch of the world, description of the program and functions.
  3. Create your world in CodeHS ( Clever ). Create skeleton code with only comments and empty functions. Screen shot and place in OneNote :: Unit 2:: PRODUCT functions and for loops.
  4. If you want to earn back quiz points: Do these JavaScript tutorials on your own and show me that you completed it. (CounterHack)
  • Use the design process to plan a program
  • Create skeleton code with comments
  • Document the design process
  • Collaborate on a design
September 2017
Date Warm-up Class Activities Objectives. SWBAT:
29 What will this code do?
for (int i=0;i<4;i++)
    turnLeft( );
  1. Practice writing pre and post conditions.
  2. Use for loops to solve the Long Stairs - program
  3. Review quiz.
  • Use for loops to solve problems
  • Write pre and post conditions
28 What are comments in code for?
  1. Review quiz by creating a climb the stairs program using at least 3 well named functions.
  2. Design an original world.
  3. Finish SuperKarel and do the lesson on for loops in CodeHS ( Clever )
  • Write loops that repeat a fixed number of times
  • Create an original World in Karel
27 Describe a way that you demonstrate integrity.
  1. QUIZ: commenting, top down design and functions.
  2. When finished, start the SuperKarel lesson in CodeHS ( Clever )
  • Demonstrate understanding of top down design, commenting and functions.
26 According to the syllabus, how much is an asssignment worth if it is one day late?
  1. Review yesterday's work.
  2. Review commenting code, functions, start function and top down design for the quiz tomorrow.
  • Review commens, top down design, and functions for tomorrow's quiz.
25 According to the syllabus, what percent of the class grade is based on product?
  1. Do the lesson on CodeHS ( Clever ) about Commenting Your Code
  2. Fill in the answers to the questions in OneNote Unit 2 Java: Commenting practice
  3. Read the article about commenting code and answer questions in OneNote Unit 2 Java: Commenting Article
  • Add comments to code
  • Distinguish useful comments from distracting comments.
22 Which function executes first in a Karel JavaScript program?
  1. Return signed syllabi.
  2. Review Karel JavaScript commands.
  3. Do the last problem on the function worksheet. Discuss top down design and program efficiency.
  4. Finish the first 6 lessons in CodeHS ( Clever ) Karel.
  • Develop using top down design.
21 Name a computer language we will learn in this class.
  1. Review the syllabus.Take home and return signed.
  2. Do this function worksheet together.
  3. Complete the start function and top down design with CodeHS ( Clever ) Karel.
  • Develop flexible functions
  • Include all code in functions
20 Why is the CS traveling problem hard to solve?

County Pre-Test

  1. When finished, log in to Office 365 and find the CodeHS page in your Class Notes in the OneNote notebook. Respond to any questions there.
county pretest
19 What is computational thinking?
  1. Summarize the example algorithms and reflect in OneNote class notebook.
 CS: Traveling - Add a screenshot of your best route through South Africa
 Humanities: Words Over Time - Add a screenshot of a comparison of 3 similar terms with your analysis.
 Math: Cellular Automata - Design a pattern that lasts at least 5 clicks. Add a screenshot.
 Science: Genomics
  • Capture examples of algorithms at work.
  • Explain the value of solving complex algorithms

Pretest will be tomorrow

18 How can you earn warm-up points for a day you were absent?
  1. What is computational thinking? How does it apply to different areas?
  2. Explore algorithms and reflect in OneNote class notebook.
  • Define computational thinking
  • Experiment with examples of algorithms.

Pretest will be Wednesday 9/20

14 How can Karel reverse direction?
  1. Consider a logic challenge together. Bebras Challenge. and the Congressional App Challenge,
  2. Log in through CodeHS or Clever and continue work.
  • Apply logic to problem solving
  • Consider challenges
  • Write code for JavaScript .
13 List 2 of the 4 Karel commands
  1. Apple just announced facial recognition and AR on screen for the new Apple phone. What algorithms might be involved?
  2. Look over the Karel Javascript language summary.
  3. Review Make a Tower together.
  4. Log in through CodeHS or Clever
  • Describe algorithms in new technology.
  • Use JavaScript to create repeated commands.
12 Define a recursive procedure.
  1. Join the CodeHS classroom
  2. Do the introduction, quiz and first program.
  3. Discuss features that are the same/different from LightBot to Karel JavaScript.
  • Use JavaScript to call methods to move an object on screen.

Pretest will be Wednesday 9/20

11 What makes a solution efficient?
  1. Define recursion.
  2. Discuss solutions to LightBot loops together 3-1 and 3-3
  3. Solve Lightbot Loops
  • Define recursion
  • Write algorithms to describe recursive solutions
  • Code recursive solutions
8 In what way is a computer literal?
  1. Review problem solving for medal winners
  2. Write pseudocode for Lightbot puzzles. Work through a simple U turn and a zig zag together. Compare solution efficiency
  • Express an algorithm as pseudocode
  • Evaluate solutions for efficiency

Class assemblies today

7 Define algorithm
  1. Solve the problem together about medal winners.
  2. See how many puzzles you can solve in LightBot (on Handout Drive in PCS). Document the concepts and vocabulary that are covered.
  • Apply logic to problem solving.
  • Use symbolic code to control a virtual robot using sequence and functions.

Events today during 2nd(fire drill) and 6th (PRIDE fair)

6 Describe something using a computer that is NOT computer science
  1. Write your first name on your name tent in large print. (Use the name you want to be called: first name or nick name)
  2. Write and decorate your first name on your folder
  3. Design and compare algorithms to create a secure password for any website.
  4. Solve one logic puzzle together, then solve one on your own or with a partner
  • Design a useful algorithm
  • Use logic to step through a solution
5 Define Computer Science in your own words.
  1. Fill out index card with your schedule
  2. Introduction to class presentation
    Save notes for tomorrow.
  3. Oveview of what is covered in Principles of Computer Science
  • Describe basic class structure and rules
  • Describe basic classroom procedures







Rewrite this code with proper indents:

  • Watch the TED talk about the future of work. Fill in the notes in OneNote.
  • Consider how technology could change the workforce of the future.


What could have a positive effect on jobs of the future?

Do Animation and Games Timers in CodeHS ( Clever )

  • Create animation with timers


What is a global variable?

Do Animation and Games Random Circles in CodeHS ( Clever )

  • Create animation with random effects





















Join the CodeHS class.

Work as a row team to draw out the flowchart that decides your morning personality