AP Computer Science-A Daily Lessons

September 2017
Date Warm-up Class Activities Objectives. SWBAT:
22 What's the difference between print and println?
  1. Return signed syllabi
  2. Do the problems on Operators
  3. Homework due next Friday 9/29: Complete Basic Java up through Comparison Operators in CodeHS ( Clever.).
  • Modify code with arithmetic expressions.
21 What's the difference between a syntax and a logic error?
  1. Review the syllabus. Take home and return signed.
  2. Do this worksheet together (here are sample programs developed in class)
  3. Do the Arithmetic expressions lesson in CodeHS ( Clever.)
  • Develop programs for input/output/processing
  • Do math with mixed variable types
20 Which is bigger, a class or method?
  1. Discuss Eclipse/Java projects. Run programs from yesterday.
  2. Copy this code into Eclipse. Fix all 8 errors. Run the program and paste a screenshot of the output into OneNote : Unit 1 intro : Conversation program
  3. Respond to comments in OneNote: Class Notes : CodeHS Basic Java
  • Run programs in Eclipse
  • Fix syntax, runtime and logic errors
19 Define algorithm.
  1. Discuss homework problems.
  2. Explore the code 2.3.3. UserInput
  3. Presentation: real input in Java. Take notes.
  4. Check to see what version of Eclipse we have
  5. Copy the code from the presentation. Create an Eclipse workspace on H:, create a new project,
  • Read different kinds of inputs.
  • Create a Java program in Eclipse
18 What are the 3 simple variable types needed for the AP exam?
  1. What is computational thinking? What is the big picture of algorithm development in CS, humanities, math and science?
  2. How are VR programs created? View the VR coure in CodeHS.

College Fair, majority of class out.

  • Define computational thinking and give examples of complex algorithms
  • Describe the types of code used in creating VR worlds.
14 What does int x = 5; mean?
(describe what is happening inside the computer when it is given that command)
  1. Consider opportunities: Congressional App Challenge, Bebras Challenge, UMBC CWIT, RiseUp4CS, Aspirations, Ladies Explore CS,
  2. Go over a tricky problem together: 28-2
  3. Add to notes, what are the limits for the different variable types? What happens when you mix variable types? Discuss arithmetic expressions.
  4. Do user input in CodeHS ( Clever.)
  5. Remember: Homework #1due tomorrow
  6. Homework #2: Write out the code for these programs on paper.
  • Consider CS opportunities.
  • Find bitsize and maximum values for Java variables.
  • Debug code using functions with parameters.
  • Prompt users to input values for variables
13 What is the command to print "hello" in Java?
  1. Take notes on the kinds of variables we need to know in Java.
  2. Look together at the First Integer Program. Look at how the computer allocates resources and the process of running a program.
  3. Log in through CodeHS or Clever. Do the section on variables.
  • Declare, initialize, and print variables
  • Describe how a program is managed internally.
12 Draw the flowchart for:
if (you miss a class) do the warmup when you return.
  1. Explore the JavaScript behind the puzzles for different kinds of conditions and loops. Look at page 1 of AP Java language features
  2. Join CodeHS classroom. Do section 1) printing in Java. Add notes to your Java book.
  • Print in Java
11 What is the flowchart symbol for a conditional?
  1. Work as a row team to draw out the flowchart that decides what the perfect way is to shake up your summer
  2. Develop algorithms together to solve puzzles 19-4 and 24-11. LOOK FOR PATTERNS!
  • Draw a multistep flowchart
  • Develop efficient algorithms by looking for patterns
8 What symbols mark the beginning and end of a section of Java code?
  1. Write code and flowcharts together for different kinds of conditionals.
  2. Write pseudocode and flowcharts to describe algorithms to solve these 2 conditional/loop problems. Farmer6 and Minecraft12
  3. HOMEWORK: Complete at least 3 puzzles at each puzzle level from 21-29 (excluding 26) of the Code.org Express course. (variables, for loops, functions)
  • Draw flowcharts to demonstrate algorithms
  • Diagram solutions to logic problems using conditions and loops
7 What symbol marks the end of a Java statement?
  1. Types of errors in coding
  2. Comments in Java
  3. Nested ifs in Java
  4. Creating flowcharts for complex logic.
  5. School Lesson: The Warrior Way: Responsibility in Java
  • List different kinds of computer errors
  • Demonstrate how to add single line and multi-line comments in Java
  • Created nested if structures
  • Draw conditionals in flowcharts
  • Review school expectations on Responsibility
6 What are the 2 classroom rules?
  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. Discuss the basic software design process: understand the problem, brainstorm/research solutions, devise a solution, code, debug, analyze and improve.
  4. Review Code.org Express course challenges, vocabulary, and concepts together. Log in through Clever.
  5. School Lesson: The Warrior Way: Respect... in Java
  • Apply steps in software design
  • Debug and code logical problems
  • Create a Java class with a main method to review school expectations on Respect.
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. What is AP Computer Science about?
  4. Join the Code.org Express course and try at least 3 puzzles in 3 different levels. http://studio.code.org/join/YTPTQS. Log in through Clever. Take notes on vocabulary and concepts.
  • Describe basic class structure and rules
  • Describe basic classroom procedures



be sure to use this http://interactivepython.org/runestone/static/JavaReview/index.html