Difference between revisions of "IB Computer Science 1"

From WLCS
 
Line 1: Line 1:
<!-- == Tuesday - Wednesday (9/26/16 - 9/27/16) ==
+
== [[IBCS1 - Archives]] ==
'''Agenda:'''
 
* Introduction to Processing - Python Mode
 
*# Download and install [https://processing.org/download/?processing Processing]
 
*# Install Python Mode (upper right corner)
 
* [http://py.processing.org/tutorials/drawing/ Processing - Coordinate System]
 
* [http://py.processing.org/tutorials/color/ Processing - Colors]
 
* background(), fill(), stroke()
 
* Complete [https://docs.google.com/document/d/1-TyjK48PtO_dgBDLRxKOk8zvOReC_A5196skWzCI0wk/edit?usp=sharing Processing Lab 1: My First Sketch]
 
* Introduction to Functions
 
** [[Media:PythonFunctions.pptx]]
 
** [[Python Functions Assignment]]
 
** [[https://docs.google.com/document/d/1Rlt_UvfeGlMgN3upOR4rF9-M9w72CfH3aJbot_6_Tk0/edit?usp=sharing Processing House Assignment]]
 
-->
 
 
 
== Friday - Monday (9/23/16 - 9/26/16) ==
 
'''Agenda:'''
 
* Complete and demo [[Tech Support Flow Chart Assignment]]
 
* Introduction to Processing - Python Mode
 
*# Download and install [https://processing.org/download/?processing Processing]
 
*# Install Python Mode (upper right corner)
 
* Complete [https://docs.google.com/document/d/1-TyjK48PtO_dgBDLRxKOk8zvOReC_A5196skWzCI0wk/edit?usp=sharing Processing Lab 1: My First Sketch]
 
* More [[Processing Labs]]
 
 
 
== Back to School Night ==
 
* [https://docs.google.com/presentation/d/1PoA335gHnDCoWpGEpgHLDDaVzxjZ7fdE-oDaQaiENaQ/edit?usp=sharing Back to School Night Presentation]
 
 
 
== Wednesday - Thursday (9/21/16 - 9/22/16) ==
 
'''Warmup:'''
 
* Make sure you completed the Letter Grade Calculator from last class
 
* Submit your Letter Grade Calculator code via Google Classroom
 
 
 
'''Agenda:'''
 
* Go back to your [[Quadratic Formula Assignment]] and add the check for real and imaginary solutions
 
** Your program should print a message if the solution is imaginary (it should print the complex solutions)
 
* Nested if-statements
 
* elif statements
 
* [[Tech Support Flow Chart Assignment]]
 
 
 
== Monday - Tuesday (9/19/16 - 9/20/16) ==
 
'''Warmup:'''
 
* Make sure you completed and submitted [[Comparison operators assignment]]
 
 
 
'''Agenda:'''
 
* Introduction to Booleans & Conditionals
 
** Comparison operators (<, >, <=, >=, ==, !=)
 
** Boolean values: True, False
 
** Logic operators: and, or, not
 
** [[Media:PythonBooleanLogic.pptx]]
 
** [[Logical operators assignment]]
 
** Evaluate the following comparisons with logic operators (assume x = 2; y = 5)
 
**# x + 2 > y or y < 10
 
**# not(x < y) and y > 2 * x
 
**# y > 0 and y < 10 or x > 10 and x < 20
 
**# x + y != 5 and x - y < 0
 
**# x == 2 and y != 5
 
**# x != y or y >= x
 
** if statement
 
*** [[Media:PythonIfStatements.pptx]]
 
** if-else statement
 
** nested if statements
 
* Letter Grade Calculator
 
*# Prompt the user for a number (0-100) (if you don't remember, look at past notes and lectures)
 
*#* Note: Your program should be able to handle floating-point numbers!
 
*# Use if-statements, comparison operators, and logical operators (and, or, not)
 
*# Print out the appropriate letter grade for the number (A, B+, B, C+, C, D+, D, E)
 
*#* Note: Your program should round letter grades appropriately (Example: grade >= 89.5 is an A)
 
 
 
== Thursday - Friday (9/15/16 - 9/16/16) ==
 
'''Warmup:'''
 
* Slope calculation exercise
 
*# Prompt the user to enter x1 (this should be a float)
 
*# Prompt the user to enter y1 (this should be a float)
 
*# Prompt the user to enter x2 (this should be a float)
 
*# Prompt the user to enter y2 (this should be a float)
 
*# Calculate and print out the slope.  Make sure your output looks like: "Slope: ###"
 
 
 
'''Agenda:'''
 
* [[Quadratic Formula Assignment]]
 
** Demo to Mr. Bui when completed
 
* Introduction to Booleans & Conditionals
 
** Comparison operators (<, >, <=, >=, ==, !=)
 
** Boolean values: True, False
 
** [[Comparison operators assignment]]
 
 
 
== Tuesday - Wednesday (9/13/16 - 9/14/16) ==
 
'''Agenda:'''
 
* Complete and turn in [[Values, Types, and Variables Identification assignment]] via Google Classroom
 
* Input and Output
 
** [[Media:PythonInputOutput.ppt]]
 
* Math Operations
 
** Addition +
 
** Subtraction -
 
** Multiplication *
 
** Division /
 
** Exponential **
 
** Order of operations!
 
* 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: ###"
 
* Slope calculation exercise
 
*# Prompt the user to enter x1 (this should be a float)
 
*# Prompt the user to enter y1 (this should be a float)
 
*# Prompt the user to enter x2 (this should be a float)
 
*# Prompt the user to enter y2 (this should be a float)
 
*# Calculate and print out the slope.  Make sure your output looks like: "Slope: ###"
 
 
 
'''Homework:'''
 
# Go to Syllabus (on the left)
 
# Read it
 
# Complete the agreement form with your parent (you will need your APS Google login)
 
 
 
== Friday - Monday (9/9/16 - 9/12/16) ==
 
'''Agenda:'''
 
* Introduction to Python
 
** [http://www.pythontutor.com http://www.pythontutor.com] - Code Visualizer
 
** Processing
 
** WingIDE 101
 
** [http://en.wikipedia.org/wiki/Hello_world_program Hello world program]
 
* Experienced Students Option
 
** Go to Links->Programming Practice
 
** Or work ahead as fast as you can by accessing Links->Archived Websites
 
* [[Media:BasicProgrammingTerms.ppt]]
 
* Introduction to Values, Types, and Variables
 
** [[Media:ValuesTypesVariables.ppt]]
 
** [[Values, Types, and Variables Identification assignment]]
 
 
 
'''Homework:'''
 
# Go to Syllabus (on the left)
 
# Read it
 
# Complete the agreement form with your parent (you will need your APS Google login)
 
 
 
== Wednesday - Thursday (9/7/16 - 9/8/16) ==
 
* Name cards
 
* Complete the [https://docs.google.com/spreadsheet/viewform?key=0ApPgoX5sTp-_cDZfazFTTWJTMnp2TUhKTkpCQmtGUEE Student Survey]
 
* Misc logistics
 
** 20/10 no pass policy
 
** Location of bathrooms
 
** Sign in/out sheets
 
** Mr. Bui has C Lunch (3rd Lunch)
 
* [[IB Computer Science I Syllabus]]
 
** Complete online syllabus agreement form by the end of next week (9/16/16)
 
* [http://classroom.google.com Google Classroom]
 
** Sign into your APS Google accounts
 
** Class code:
 
*** Period 1: n6srblg
 
*** Period 2: ykntyu
 
*** Period 5: 7ejp17p
 
* What is computer science?
 
 
 
'''Homework:'''
 
# Go to Syllabus (on the left)
 
# Read it
 
# Complete the agreement form with your parent (you will need your APS Google login)
 
 
 
== Tuesday (9/6/16) ==
 
* Introductions
 
* Name cards
 
 
 
'''Homework:'''
 
# Go to Syllabus (on the left)
 
# Read it
 
# Complete the agreement form with your parent (you will need your APS Google login)
 
 
 
== Archives ==
 
* [[IBCS1 - 1516]]
 

Latest revision as of 08:28, 13 September 2023