Calendar for CS 12
Calendar for CS 12
-
8/23/24: Intro to class. We reviewed the class webpage, yearly curriculum, grading and homework policies. Everybody ran “Hello World” to make sure their laptop is OK and we did some
codingbat
problem. Finally we worked on some coding challenges in groups. Day 1 Coding Challenges -
8/27/24: Check your coding challenge solutions with these files Longest Prefix – String to Integer– Roman Numeral – Reverse Integer. Run the file in your local IDE and provide the solution where it’s asked for. Homework: Finish all four problems and bring your solutions to class. If you can’t solve one, come with code and precise questions so you can get help.
- 8/29/24: Go over coding challenge problems in class. Submit coding challenge. Begin lesson on boolean algebra and truth tables. Work through the problems on the Boolean Algebra Worksheet. HW Finish boolean worksheet (doesn’t need to be typed). Do the circuit simulation online if you can figure out the website! If not, we’ll look at it next class. Turn in coding challenge next class if you didn’t already.
-
9/4/24 (Wednesday): Go over 4 coding challenge problems in class. Review Boolean Algebra homework. DeMorgan’s Laws. New coding project: Truth Tables You will need this parser to complete part 4.
- 9/10/24 (Tuesday): Finish and turn in Truth Tables. Work on Credit Card In class work on Coding Bat Arrays 2 or Coding Bat Arrays 3
- test case
(!D || !A) && (!B || C || !C)
- test case
- 9/12/24(Thursday) Benchmark practice AP test in class
- 9/16/24(Monday) Array practice. Review classes. In class do CodingBat array level 2 problems. Class design for a dog, cat, animal set of classes. Turn in Truth Table or Credit Card today if finished. Show me truth table if you didn’t already and it’s done. Quiz Friday!!
- 9/18/24 (Wednesday) No school!
- 9/20/24 (Friday) No school!
- 9/24/24 (Tuesday) School! But Dr. White is out today. There is a quiz review on AP Classroom also a pdf here. It’s set up as a test, but it will not be graded as a test. It’s just for review. Also the FRQ questions might not work (like on the benchmark) so please feel free to do those on paper or in another app. You do not need to turn in the FRQ. Please work through review today; feel free to collaborate. I’ll push the quiz again to next Monday so we can have some face time Thursday before. We’ll also start our next lab Thursday.
- Quiz topics: Booleans, conditionals, simplifying boolean expressions, basic arithmetic, order of precedence, doubles and ints, div and mod, tracing for loops, simple arrays, writing class definitions, constructors, getters and setters, class methods, toString methods. This should all be review from last year and related to our classwork.
- HW: Review for quiz
- 9/26/24 (Thursday) Answers to quiz review posted here. Quiz next class. Will consist of MC and FRQ questions. Be sure you can write loops/conditionals/classes from scratch. Please install Schoology Lockdown Browser if you haven’t already!
- 9/30/24 (Monday) Quiz today! After quiz you may begin Pig latin lab. Create one java file PigLatin.java with a main method to preform the transformations. For now stop at STEP 2 (parsing a file). [this is NOT HW yet unless you want it to be] Please check schoology for completion grades and upload anything you haven’t already (I know many of you added stuff at the end of class today that I still need to update).
- 10/2/24 (Wednesday) PSAT – nothing planned for today!
- 10/4/24 (Friday) No school
- 10/8/24 (Tuesday) Strings and Scanners: Pig latin lab
- Read about strings
- Read about scanners
- Turn in any missing work! (if you need to show me TruthTables, use this test case)
- Next class: Show me Credit Card
- Classwork: write helper classes for PigLatin
- Today in class everyone will finish part 1 of PigLatin, using my helper methods. Your code will
- Read in a file “pig-latin-in.txt” with one word per line
- Convert all words to pig latin
- Write each word out to a new file “pig-latin-out.txt”
- Name your file PigLatin1.java and upload it to the raspberry pi today!
- Go on to parts 2/3 if you finish. 2 is required. 3 will be the optional bonus for an A+.
- 10/10/24 (Thursday) Finish Pig latin lab. The clarified assignment is
- Step 1
- Step 2
- Step 3
- Step 4 is optional
- Due at end of class
- File for testing and Bonus File
- 10/15/24 (Tuesday) Strings review and practice.
- do 5 CodingBat String level 1
- take practice quiz on AP classroom “String MC Practice”
- Read bad solution to PigLatin and figure out what each line does.
- Join Juice Mind Class with this join code
- 10/17/24 (Thursday). String review and practice
- A quick review of array lists
- Try this practice on delimiters
- Next try this on word gaps
- Work through these multiple choice questions
- CodingBat, String-2: endOther, catDog, countCode, xyBalance, plusOut
- Quiz next class, focus on Strings
- AP JOIN CODES for the test
- 10/21 (Monday) String Quiz today in Schoology
- Testing window 11:40-12:55. You may review until then. Be extra sure you understand substring, length, indexOf and equals for string objects.
- Get testing dividers (the 3d printed bases are in the plastic drawers by the wall. You can also borrow some from Dr. Shapiro)
- Test is in Schoology; you have the rest of the block to work on it
- If you are Post-AP, you do not need to test. Instead, please write for me a progress report covering this quarter. What have you been working on? What has succeeded? What has failed? What are next steps? Upload this to the Pi in class.
- New Lab: Heat Map Lab and Example File. Use this shell code
- Good luck!
- 10/23 (Wednesday) Arrays, ArrayLists, References, 2D Arrays
- Quizzes are graded (1 and 2) and grades posted in Schoology
- Whiteboard with your neighbor only: MaxSpan. Get a good algorithm first on paper/board/etc! When your code works, add it here
- If you finish MaxSpan, try SeriesUp
- Try the AP Arrays PreTest in AP Classroom (5 questions, 12 minutes). Do not start until instructed please!
- Tracing Practice
- 2D arrays – initializing and nested loops
- HeatMap Project
- HW: Work on HeatMap. Due in class 10/25/24!
- Some handy arrays notes
- 10/25/24 (Friday) Quiz graded and returned. Turn in any missing work! HeatMap Due Today. Retakes in class on Tuesday for either quiz this quarter. Email me with any questions!
- Heat Map Lab and Example File. Use this shell code
- Extensions for HeatMap are on the description page now (they can be turned in anytime)
- 10/29/24 (Tuesday) End of Quarter
- Check Schoology for missing work
- Please RESUBMIT Credit Card and Pig Latin
- Delete any old Pig/Credit files on the pi
- Upload new ones
- Do NOT put your code in folders or subdirectories
- CreditCard should be named “CreditCard.java”
- CreditCard should ask the user for a number and reply with ONE LINE only, then exit
- I will test it against the 4 test cases in the assignment file
- PigLatin should be named “PigLatin.java” and read “PigLatin.txt” (you may need to change this from what works on your machine)
- PigLatin should read each line from the file and output the words from each line to stdout – do NOT write only to a file. Write to stdout.
- If you did PigLatin Bonus, you should still just read the same PigLatin.txt file
- Submit HeatMap if not done already
- Name it “HeatMap.java”
- 11/7/24 (Thursday) Begin Q2
- Implement findMax, findMin, argMax, argMin, count, findFirst, findSecondLargest (class notes/activity)
- create a java class with all methods and upload to pi
- 11/13/24 (Wednesday)
- Join JuiceMind class at this link and work on Traverse Arrays
- Notes on Array Methods
- Quiz next class over arrays and heatmap!
- JuiceMind local copy is here and here
- Volunteer Opportunity sign up list
- 11/15/24 (Friday)
- Try new server: 192.168.1.242. Same username and password
- SemiSort notes
- Finish JuiceMind and upload code to server (not JuiceMind) ArrayTraverse.java
- Finish ArrayMethods in this file and upload to server
- CodingBat; Array2: bigDiff, sum28, has22, has12
- 11/19/24 (Tuesday)
- Turn in JuiceMind and ArrayMethods (late today)
- Notes on 1D array problems
- Array Checkpoint Quiz 2 next class (study array notes on 1D arrays)
- Test next Monday (1D and 2D arrays)
- Array Review Progress check #6 on AP Classroom (optional review)
- Answer Key to class notes. Study this for the quiz (don’t memorize, just understand because these are good array examples. Also compare to your solutions)
- If you want to run my sample code and get the assertions to work you need to pass “-ea” argument to the java executable. How to do this depends on your IDE. You can probably google it pretty easily!
- 11/21/24 (Thursday)
- 11/25/24 (Monday)
- Array Test!
- 12/2/24 (Monday)
- AP Classroom Classes Checkpoint (complete in class)
- Write and test Student class Student.java and StudentTester.java.
- Here’s a sample class for reference Spaceship.java
- 12/4/24 (Wednesday)
- 12/6/24 (Friday)
- Dr. White absent
- Quiz postponed to next class over classes, objects, inheritance
- Check your grading feedback on the last 2 assignments (can be found on the server). You can resubmit if your code didn’t compile or was incomplete.
- Classwork: Shapes. Practice writing classes. Due end of next class (may not be able to do all of this yet but you can do most)
- If you are caught up on old work you can do work for another class if you would like.
- 12/10/24 (Tuesday)
- Challenge Day signup
- Notes on array lists: notes
- Practice worksheet: array list practice … key
- About primitive types: array list with primitive types
- Lab array list lab this is not an assignment, just an example
- Inheritance Example: Satellites class .. key
- See ArrayList practice quiz on AP Classroom
- 12/12/24 (Thursday)