Difference between revisions of "IB Computer Science 1"

From WLCS
(Friday (10/6/18))
Line 8: Line 8:
 
*# Setup your screen size to be a large square (e.g. 600x600)
 
*# Setup your screen size to be a large square (e.g. 600x600)
 
*# Within the draw() function, give the background a color()
 
*# Within the draw() function, give the background a color()
*# Draw tic-tac-toe lines on your screen
+
*# Draw tic-tac-toe lines on your screen (make sure that the rows and columns are exactly 1/3 the size of the height and width)
 
*# Add conditional statements in the draw() function to detect which square you are in
 
*# Add conditional statements in the draw() function to detect which square you are in
 
*#* You'll need to access the mouse's current coordinates with mouseX and mouseY variables
 
*#* You'll need to access the mouse's current coordinates with mouseX and mouseY variables

Revision as of 20:13, 3 October 2018

Friday (10/6/18)

Agenda:

  • Introduction to Animation
    • setup()
    • draw()
    • mouseX and mouseY variables
  • Tic-Tac-Toe Board
    1. Setup your screen size to be a large square (e.g. 600x600)
    2. Within the draw() function, give the background a color()
    3. Draw tic-tac-toe lines on your screen (make sure that the rows and columns are exactly 1/3 the size of the height and width)
    4. Add conditional statements in the draw() function to detect which square you are in
      • You'll need to access the mouse's current coordinates with mouseX and mouseY variables
      • Draw a square of a different color inside the particular square that you are in
      • The effect that you will generate will look like it is highlighting the current square where the mouse is
    5. Challenge: Can you modify your code so that the screensize changes, but all the rest of your code behaves the same? Hint: use height and width variables

Wednesday (10/3/18)

Agenda:

  • Complete and demo Introduction: My First Sketch
  • Processing review
    • size()
    • rect()
    • ellipse()
    • line()
    • background()
    • fill()
    • stroke()
  • Draw and demo your favorite emoji / logo / cartoon character using Processing before the end of class

Monday (10/1/18)

Warmup:

  • Take the Conditionals Quiz in Canvas

Agenda:

Thursday (9/27/18)

Agenda:

Back to School Night

Tuesday (9/25/18)

Warmup:

  1. Write a simple password program that does the following:
  2. Prompt the user to enter a password
  3. Check if the input matches your secret password (you make up the password string)
    • Print out a successful match message
  4. Otherwise, print out a message saying incorrect password

Agenda:

  • picoCTF - CMU Cybersecurity Capture the Flag
  • Resubmit your Letter Grade Calculator on repl.it
    • Mr. Bui updated the strict test cases, so all submissions were deleted
  • Flowchart your morning exercise
  • Nested-if statements example
  • if-elif-else statements example
  • Boolean Logic Operators (Python)
  • Boolean Bingo
    1. You can only sign off the center square
    2. You must try to find other people to sign off all the other squares (towards a blackout bingo board)
    3. You can have a person sign off a maximum of 2 squares
  • Logical operators assignment

Wednesday - Friday (9/19/18 - 9/21/18)

Agenda:

  • Bishop Ireton Hackathon - November 3-4
    • You need to register ahead of time!
  • Experienced Programming Challenges - if you finish your work early, you are encouraged to work on any of these
  • Complete the following repl.it assignments:
    • Rectangle Area
    • Distance Formula
    • Quadratic Formula
  • Introduction to Booleans & Conditionals
  • if statements
  • Complete the Letter Grade Calculator on repl.it

Monday (9/17/18)

Warmup:

  • Take the Values, Types, & Variables Quiz on Canvas

Agenda:

  • Mad Libs exercise
    1. Prompt the user to enter a noun and store it in a variable named noun
    2. Prompt the user to enter a verb and store it in a variable named verb
    3. Prompt the user to enter another noun and store it in a variable named noun2
    4. Print out a message that contains noun, verb, and noun2
  • Circle calculations exercise
    1. Prompt the user to enter the radius of a circle (this should be a float)
    2. Calculate and print out the circumference of the circle. Make sure your output looks like: "Circumference: ###"
    3. Calculate and print out the area of the circle. Make sure your output looks like: "Area: ###"
  • Repl.it assignment(s) and running tests
    • Rectangle area assignment
    • Distance formula assignment
    • Complete the assignments on repl.it

Thursday (9/13/18)

Agenda:

  • Complete the Values, Types & Variables Assignment and upload to Canvas
    • If you have recently transferred into the class, you may not have our Canvas page, please let Mr. Bui know and he can add you.
  • Repl.it
    • Login to Repl.it using your APS Google credentials
    • Enroll into our class by clicking here
  • Input and Output
  • Math Operations
    • Addition +
    • Subtraction -
    • Multiplication *
    • Division /
    • Modulo %
    • Exponential **
    • Order of operations!

Friday - Tuesday (9/7/18 - 9/11/18)

Warmup:

  • Make sure that your Introduction w/ Pictures is ready (at least 4 images)

Agenda:

Homework:

  • Signed electronic syllabus by Monday (9/10/18)

Wednesday (9/5/18)

Warmup:

Agenda:

  • Attendance
  • Misc logistics
    • 20/10 no pass policy
    • Location of bathrooms
    • Sign in/out sheets
    • Mr. Bui has B Lunch
  • IB Computer Science I Syllabus
    • Sign electronic form by next Monday (9/10/18)
  • Introductions w/ Pictures
    1. You will be given a group Google presentation
    2. Create a new slide
    3. Use your first and last name as your title
    4. Paste 4 or more images that describe who you are

Homework:

  • Complete you Introductions w/ Pictures slide. We will all present our slide at the beginning of next class
  • Signed electronic syllabus by Monday (9/10/18)

Tuesday (9/4/18)

  • Introductions & attendance
  • App Catalog (AirWatch) installers
    • Assuming your logins work

Archives