Lecture 11 • Alice Project Deliverable 1: Extension to Midnight! • Midterm next class – Midterm review 4-6pm WED Pepper Canyon Hall 106 – Red scantron (1/2 page) at bookstore (get 2) and pencil – Closed book, no cheat sheet – Sample midterm: PeerWise and posted “explain” – DOES NOT COVER Chapter 7 – Seated by random seat number as you walk in the door • Get assignment in lobby • If you have an AFA for midterm, please use course communication form: put “AFA MIDTERM” in comment area
Lecture 11. Alice Project Deliverable 1: Extension to Midnight! Midterm next class Midterm review 4-6pm WED Pepper Canyon Hall 106 R ed scantron (1/2 page) at bookstore (get 2) and pencil Closed book, no cheat sheet Sample midterm: PeerWise and posted “explain” - PowerPoint PPT Presentation
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Lecture 11
• Alice Project Deliverable 1: Extension to Midnight!• Midterm next class– Midterm review 4-6pm WED Pepper Canyon Hall 106– Red scantron (1/2 page) at bookstore (get 2) and pencil– Closed book, no cheat sheet– Sample midterm: PeerWise and posted “explain”– DOES NOT COVER Chapter 7– Seated by random seat number as you walk in the door
• Get assignment in lobby
• If you have an AFA for midterm, please use course communication form: put “AFA MIDTERM” in comment area
Deliverable 2:Due beginning of Lab next week!
• Fix up storyboards (expand, change, etc. as needed)
• Implementation Strategy Diagram (what methods call what other methods?)
• Background Scenes created with objects in them
• Methods "created" with comments inside about what goes on there– The actual code you can fill in during lab
How To Study For Exams in CSE3(also redo homeworks and labs (or at least review) )
• Re-Take Clicker questions (not just “review” them)– Use PeerWise, read and re-phrase for yourself an
explanation• Practice writing down your explanation, use the sample
midterm as a guide
• Midterm Review with Sarah– Wed, 4-5:50pm– Pepper Canyon Hall, 106– Bring specific questions you want her to review…• E.g., their name on PeerWise…
You will need a red half-page scantron -- bookstore
What is the BEST description of how many times a while loop executes?
A. Some fixed number of times that the programmer can determine before the code runs
B. Some fixed number of times that can be calculated with a function
C. Some variable number of times that is determined by the distance of one object to another
D. Some variable number of times that programmer cannot determine before the code runs
What loop header would keep a shark swimming after a goldfish until he was within 0.5 meters behind the goldfish?
We change the while loop Boolean expression controlling the chase to this
What does it do (when will the loop iterate)?
A. Chase until the goldfish turns blueB. Chase until the goldfish turns a color other
than blueC. Chase until the shark gets close
Bunny Square Dance
• We want to direct the bunny to hop in a square pattern. The “length” of each side of his square should be 5 hops.
• Here’s the structure of our code, what numbers would you put in for each missing number?