AP Computer Science-A Daily Lessons - syllabus

October 2017
Date Warm-up Class Activities - Pacing Guide Objectives. SWBAT: Homework
  Given int z=7; what is the value after z--;z--;z++;
  1. Quiz (\t means tab)
  2. Go over random numbers together
  3. Finish Edhesive Lesson 9: Math function Coding Activity
  • Generate random numbers within a certain range.
HW#6:
Edhesive Unit 1 lessons 11-12 due Monday 10/23 7am
16 Given int size=42; What equation will tell how many feet are in size inches?
  1. Math functions: pow, sqrt, abs and random . (quick reference)
  2. Quiz review for tomorrow:
  3. Finish Edhesive Lesson 9: Math functions Fast Start and Review questions.
  • Review variable names, Use built in Math functions
         
13 If z = 22, what would z/=4 be?
  1. Complete Edhesive Lesson 8 string and number output.
  2. IF YOU DID NOT COMPLETE Assignment 1: Movie Ratings due Oct 5, you MUST come in during PRIDE time by Wednesday for help or get a 0 on the assignment. (It must be done in Dr. Java if not done previously)
  • Combine calculations with output and strings.
HW#5: Edhesive Unit 1 lessons 4-5 due Monday 10/16 7am
12

x +=1 means x = x + 1;
What will this code print given int x=3, int y=-7? 

while ( x>-10 ){
   x += 3;
   x += x%7;
   x = x + y;
   System.out.print(x + " ");
}

  1. Pair programming exercise. Use Dr. Java to do the coding activities in Lessons 6 and 7.
  • Use the new IDE and blended learning system to download, code, test and then upload coding assignments.

NOTE: You should be spending at least 1 hour a week outside of class working on AP Java lessons and practices.

11 Write the equation to show the number in the 10's place for a 2 digit number.
  1. Long class today because of PSAT.
  2. Review Mod and Quiz Review. Quiz will be next Monday.
  3. Use Dr. Java to create a program to solve the warmup.
  4. Figure out how to use the Dr. Java debugger.
  • Use the new IDE, Dr. Java
10 What is the output:
for(int s=15;s>10;s--)
System.out.print(s + "\n" + s%2);
  1. Review the design process and stages of development (code/compile/run/debug).
  2. Do the Mod and Quiz review in OneNote Unit 1
  3. Experience a shared VR experience.
  4. What support/help do people need who are far behind in Edhesive?
  • Review mod, loops, print,
         
6 What is the answer to 38 % 8 % 5?
  1. Investigate some advances in VR and how Java can create VR worlds, as well as harware/software advances in new 3d scanners.
  2. Complete lesson 7 on mod including the coding assignment
  3. HOMEWORK #4 DUE at the break of dawn Monday morning.
  • Discuss advances in VR that can be programmed.
  • Program using modular operators.

HW #4:

Complete all Edhesive activities for points in Unit 1 lessons 1-3
due Monday 10/9 7am

Need help with hw? Come during PRIDE time

5 What is a widening cast?
  1. Review debugging and submitting assignments in Edhesive.
  2. Review and plan for Assignment 1: Movie Ratings together. due today, 10 pts
  3. Do Lesson 7: Modular Division assignments for points. (should be a review)
  • Create an IPO program with varied data types.
  • Use modular division to find remainders.
4 Write the correct cast for int x = 7.5;
  1. Review casting, formal and informal.
  2. Complete Edhesive Term 1: Lesson 6 - Review Questions 5 pts
  3. Term 1: Lesson 6 - Coding Activity 3 pts
  4. Assignment 1: Movie Ratings due Oct 5, 10 pts
  • Review casting in a strongly typed language.
  • Download template code, complete, and upload to Edhesive.
3 Write a for loop that prints:
0.51.01.52.0
  1. Ice breaker: who is in the room?
  2. Talk about casting. Do the program in Edhesive with the video in Term 1: lesson 6.
  • Change the way information is stored by casting.
2 What is the value of double x if x = 3 / 4 * 12 + 2.5 * 5 - 15 % 6
  1. Review FOR Loops.
  2. Megan, Mike, Jared, Abby, Haley and Gavin need to join the Edhesive class (see 9/29)
  3. Discuss professional honor codes and Edhesive.
  4. Complete the Edhesive introduction. Take the honor code survey.
  5. Review materials in Lessons 1-5.
  • Describe conventions for blended learning environments.
  • Submit assignments through Edhesive
September 2017
Date Warm-up Class Activities Objectives. SWBAT: Homework
29 What is the output:
for(int s=8;s<10;s++)
System.out.print(s + "\n" + s%5);
  1. Type your slope program into CodeHS ( Clever.) as a Java console program and make it work.
  2. Go to Edhesive.com and click SIGN UP.
    Click I HAVE A SECTION TOKEN
    Create an account with a real email address.
    Section token is 2a7239
    Click email confirmation to complete sign up.
  3. Regain quiz points if needed: show completion of For Loop review, operators,
  • Join class account
  • Predict the output of for loops
  • Use math operators on different kinds of variables.
hw3
28 What is the output:
for(int x=9;x>6;x--)
System.out.print(x);
  1. Review quiz.
  2. Do the worksheet on loops and output
  3. Complete required lessons in CodeHS ( Clever.).
  • Review Java for loops and output
27 Describe a way that you demonstrate integrity.
  1. Quiz on writing arithmetic expressions, basic for loops, I/P/O programs.
  2. Start the lesson on While Loops in CodeHS ( Clever.).
  • Demonstrate understanding of for loops, arithmetic expressions and I/P/O programs.
26 According to the syllabus, how much is an asssignment worth if it is one day late?
  1. Review for loops. Look at AP types of for loop questions.
  2. Review HW#2
  3. Review arithmetic expressions
  4. QUIZ TOMORROW
  • Review loops, expressions and code design patterns for I/P/O, decision trees.
25 According to the syllabus, what percent of the class grade is based on product?
  1. Do the section on For Loops in CodeHS ( Clever.).
  2. Answer questions in OneNote : Unit 1 intro : For Loops
  3. Let me know tomorrow if there were any challenges or issues.
  • Write for loops in Java
  • Read and interpret for loops
         
22 What's the difference between print and println?
  1. Return signed syllabi
  2. Do the problems on Operators
  3. Homework #3: due next Friday 9/29: Complete Basic Java up through Comparison Operators in CodeHS ( Clever.).
  • Modify code with arithmetic expressions.
h2w
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
hw1
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 #1: 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

National Cybersecurity Career Awareness Week Nov 13-18

lifejourney

prod.lifejourney.us class code 5pxcnvg

Review hw#2 (advanced students make codingbat problems) and for loop/print

HW #4: Complete all Edhesive activities for points in Unit 1 lessons 1-3
due Monday 10/8 7am

Homework #3: due next Friday 9/29: Complete Basic Java up through
Comparison Operators in CodeHS ( Clever.).

Homework #2: Write out the code for these programs on paper.

HOMEWORK #1: Complete at least 3 puzzles at each puzzle level from 21-29 (excluding 26)
of the Code.org Express course. (variables, for loops, functions)

https://runestone.academy/runestone/static/LaPlataAPCS/index.html

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