Difference between revisions of "IB Computer Science 1"

From WLCS
Line 47: Line 47:
 
*# Complete [https://docs.google.com/document/d/1-TyjK48PtO_dgBDLRxKOk8zvOReC_A5196skWzCI0wk/edit?usp=sharing Introduction: My First Sketch]
 
*# Complete [https://docs.google.com/document/d/1-TyjK48PtO_dgBDLRxKOk8zvOReC_A5196skWzCI0wk/edit?usp=sharing Introduction: My First Sketch]
 
* Draw and demo your favorite emoji / logo / cartoon character using Processing
 
* Draw and demo your favorite emoji / logo / cartoon character using Processing
 
== Thursday (9/27/18) ==
 
'''Agenda:'''
 
* Complete and turn in [[Logical operators assignment]] if you have not already done so
 
* Complete the 6 new if/else statement assignments in Repl.it
 
* Work on [[Tech Support Flow Chart Assignment]]
 
* Mr. Bui will check on everybody's progress on the above tasks on Monday
 
 
== [https://docs.google.com/presentation/d/1PoA335gHnDCoWpGEpgHLDDaVzxjZ7fdE-oDaQaiENaQ/edit?usp=sharing Back to School Night] ==
 
 
== Tuesday (9/25/18) ==
 
'''Warmup:'''
 
# Write a simple password program that does the following:
 
# Prompt the user to enter a password
 
# Check if the input matches your secret password (you make up the password string)
 
#* Print out a successful match message
 
# Otherwise, print out a message saying incorrect password
 
 
'''Agenda:'''
 
* [https://picoctf.com/ 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
 
* [https://docs.google.com/presentation/d/1CRIXFRAQNH5AT6P7_W4BS-hjIZoPrOGuJ94WFwNK5Bc/edit?usp=sharing Boolean Logic Operators (Python)]
 
* Boolean Bingo
 
*# You can only sign off the center square
 
*# You must try to find other people to sign off all the other squares (towards a blackout bingo board)
 
*# You can have a person sign off a maximum of 2 squares
 
* [[Logical operators assignment]]
 
 
== Wednesday - Friday (9/19/18 - 9/21/18) ==
 
'''Agenda:'''
 
* [http://hackbi.org/ 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
 
** [http://projecteuler.net Project Euler] - Math Programming Quest
 
** [http://rosalind.info/ Rosalind] - Bioinformatics Programming Quest
 
** [http://reddit.com/r/dailyprogrammer Reddit r/dailyprogrammer] - Daily challenges of varying difficulty
 
* Complete the following repl.it assignments:
 
** Rectangle Area
 
** Distance Formula
 
** Quadratic Formula
 
* Introduction to Booleans & Conditionals
 
** Look over this table about [https://realpython.com/python-operators-expressions/#comparison-operators Python comparison operators]
 
** Boolean values: True, False
 
** Comparison operators (<, >, <=, >=, ==, !=)
 
** Complete the [[Comparison operators assignment]]
 
* if statements
 
** [https://docs.google.com/presentation/d/1cl55tY5xpHsH11H0QxtC8k9oJ1D6JYoz9FFSuimrVvw/edit?usp=sharing if statements (Python)]
 
** if-statement examples
 
** if-else examples
 
* 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
 
*# Prompt the user to enter a noun and store it in a variable named '''noun'''
 
*# Prompt the user to enter a verb and store it in a variable named '''verb'''
 
*# Prompt the user to enter another noun and store it in a variable named '''noun2'''
 
*# Print out a message that contains noun, verb, and noun2
 
* Circle calculations exercise
 
*# Prompt the user to enter the radius of a circle (this should be a float)
 
*# Calculate and print out the circumference of the circle.  Make sure your output looks like: "Circumference: ###"
 
*# 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 [https://colab.research.google.com/drive/1eVHC1dYFoD22esCGTkbkVOLBuhlPg-cE 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 [http://repl.it Repl.it] using your APS Google credentials
 
** Enroll into our class by clicking [https://repl.it/classroom/invite/YutbrYV here]
 
* Input and Output
 
** [https://docs.google.com/a/apsva.us/presentation/d/18oxLyc3PCjcpSEsXHNpsu-Op97dCbo-VwYKjmU_-d5A/edit?usp=sharing Input/Output (Python)]
 
* 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:'''
 
* Introductions w/ Pictures
 
* [[Media:BasicProgrammingTerms.ppt]]
 
* [https://colab.research.google.com/ Google's Colaboratory]
 
** My First Notebook Test walk-through
 
** If you open a shared Google colab document from Mr. Bui, you should always make a copy so you can interact with it
 
** [https://colab.research.google.com/drive/1Tuk-PCuJ2y2Sst7VvOaBiQ2VPIGXDic3 Hello World, print(), and comments]
 
** [https://colab.research.google.com/drive/1ET1Oxc3TmH9jkkxxEHbLxARN_N72wuKz Values, Types & Variables]
 
** Complete the [https://colab.research.google.com/drive/1eVHC1dYFoD22esCGTkbkVOLBuhlPg-cE Values, Types & Variables Assignment]
 
 
'''Homework:'''
 
* Signed electronic syllabus by Monday (9/10/18)
 
 
== Wednesday (9/5/18) ==
 
'''Warmup:'''
 
* Complete the [https://goo.gl/forms/I5pkQ43Yo1LaXRxx2 Student Survey]
 
 
'''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
 
*# You will be given a group Google presentation
 
*#* [https://docs.google.com/presentation/d/1Kb-sKkHAtwOlFzYm-Wp7t0gTxRnCvRyQ30MFT84ll6c/edit?usp=sharing Period 1]
 
*#* [https://docs.google.com/presentation/d/1xNCaOS3Q7e5kacaKElA22KW2KQIRIpzW7njnKoKRv8U/edit?usp=sharing Period 5]
 
*# Create a new slide
 
*# Use your first and last name as your title
 
*# 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
 
** [https://docs.google.com/presentation/d/1Nzo-2anihJvunXw6plSr3pdw9mS26Mv0CZLT-inhGoc/edit?usp=sharing About Me]
 
* App Catalog (AirWatch) installers
 
** Assuming your logins work
 
  
 
== Archives ==
 
== Archives ==
 +
* [[IBCS1 - 1819 - September]]
 
* [[IBCS1 - 1718]]
 
* [[IBCS1 - 1718]]

Revision as of 10:29, 8 October 2018

Friday (10/6/18)

Agenda:

  • Introduction to Animation
    • setup() function
    • draw() function
    • mouseX and mouseY variables
    • width and height variables
  • Tic-Tac-Toe Select-a-Square
    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: Modify your code so that changing the screen size, will automatically be adjusted and accounted for by the rest of your code. Hint: use height and width variables
    6. Challenge 2: Modify your code so that it works without any conditionals. Hint: use division and multiplication
  • Coming soon...
    • Functions
    • Global variables
    • Mouse clicks

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:

Archives