Difference between revisions of "IB Computer Science 1"

From WLCS
(→‎Wednesday (10/20/10))
 
Line 1: Line 1:
−
== Wednesday (10/20/10) ==
+
== [[IBCS1 - Archives]] ==
−
'''Warmup:'''
 
−
# Prompt the user with the following question: "What is the Washington-Lee mascot?"
 
−
#* Be sure to save the raw_input() into a variable!
 
−
# Use an if statement to check if the user's answer is equal to "Generals"
 
−
#* If so, then print out "You got it right!"
 
−
#* It not, then print out "Wrong answer buddy!"
 
−
 
 
−
'''Agenda:'''
 
−
* Conditional Review
 
−
** Comparison operators
 
−
** Logical operators
 
−
* Complete [[HTTLACS: Ch 4 Exercises]]
 
−
* Menus and options
 
−
* [[Geek Flow Chart Assignment]]
 
−
 
 
−
== Monday (10/18/10) ==
 
−
'''Warmup:'''
 
−
* You will create a program that calculates the amount of time it takes for an object to hit the ground (when dropped from a distance)
 
−
*# Prompt the user to enter a number (which will be how high the object is in meters) and store it in a variable '''s'''
 
−
*# Calculate '''t''' using the formula: t = (s/(0.5*9.8))**0.5
 
−
*# Print out the message: "Your object will hit the ground in '''t''' seconds"
 
−
 
 
−
'''Agenda:'''
 
−
* Field trip discussion
 
−
* Introduction to Conditionals (if statement)
 
−
** Comparison operators
 
−
** if-statement
 
−
** if-else statement
 
−
** if-elif-else statement
 
−
* [[MPAA calculator assignment]]
 
−
* [[Media:BooleanLogic.ppt]]
 
−
* [[HTTLACS: Ch 4 Exercises]]
 
−
 
 
−
== Thursday (10/14/10) ==
 
−
'''Agenda:'''
 
−
* [[HTTLACS: Ch 3 Exercises]]
 
−
* Field trip slips!
 
−
* Field trip tomorrow - meet in Cafeteria @ 8:10 AM
 
−
* Introduction to Security
 
−
** Authentication - [[Media:Authentication.ppt]]
 
−
 
 
−
== Tuesday (10/12/10) ==
 
−
'''Agenda:'''
 
−
* Field trip slips
 
−
* [[Quadratic Formula Assignment]]
 
−
* Read through [http://openbookproject.net/thinkcs/python/english2e/ch03.html How to Think Like a Computer Scientist: Chapter 3]
 
−
* [[HTTLACS: Ch 3 Exercises]]
 
−
 
 
−
== Thursday (10/7/10) ==
 
−
'''Warmup:'''
 
−
* Prompt the user to enter a word and store it in a variable named '''word''' (HINT: use raw_input())
 
−
* Prompt the user to enter a number and store it in a variable named '''num''' (HINT: use input())
 
−
* Print '''word''' '''num''' times (HINT: multiple '''word''' by '''num''')
 
−
 
 
−
'''Agenda:'''
 
−
* Make sure that the following have been submitted to School Web Lockers
 
−
* [[HTTLACS: Ch 1 Exercises]]
 
−
* [[Values, Types, and Variables Identification assignment]]
 
−
* [[HTTLACS: Ch 2 Exercises]]
 
−
* [[Quadratic Formula Assignment]]
 
−
* Read through [http://openbookproject.net/thinkcs/python/english2e/ch03.html How to Think Like a Computer Scientist: Chapter 3]
 
−
* [[HTTLACS: Ch 3 Exercises]]
 
−
 
 
−
== Tuesday (10/5/10) ==
 
−
'''Warmup:'''
 
−
* Prompt the user to enter a number using input() and store it in a variable x
 
−
* Print out the square of the number with a message: "The square of", x, "is", _______
 
−
* Print out the square root of the number with a message: "The square root of", x, "is", _______
 
−
 
 
−
'''Agenda:'''
 
−
* Field trip slips!
 
−
* [[HTTLACS: Ch 2 Exercises]]
 
−
* [[Values, Types, and Variables Identification assignment]]
 
−
 
 
−
== Friday (10/1/10) ==
 
−
'''Warmup:'''
 
−
* Research on the interwebz the following:
 
−
*# Who invented the Python programming language?
 
−
*# Where was it invented?
 
−
*# Who funded the project to develop Python? (Hint: [http://en.wikipedia.org/wiki/Guido_van_Rossum Guido Van Rossum])
 
−
 
 
−
'''Agenda:'''
 
−
* Any missing quiz demonstrations should be shown when Mr. Bui gets back
 
−
* Introduction to data values, variables, and etc. 
 
−
* Read through [http://openbookproject.net/thinkcs/python/english2e/ch02.html How to Think Like a Computer Scientist: Chapter 2]
 
−
* Complete the [[HTTLACS: Ch 2 Exercises]]
 
−
 
 
−
== Back To School Night (9/29/10) ==
 
−
* [[Media:B2snIBCS1.ppt]]
 
−
 
 
−
== Wednesday (9/29/10) ==
 
−
'''Warmup:'''
 
−
* Use the internets and find images of a "computer punch card" and the machine that uses them
 
−
 
 
−
'''Agenda:'''
 
−
* Cybersecurity Field Trip - October 15th
 
−
* Introduction to Python
 
−
* [http://openbookproject.net/thinkcs/python/english2e/ch01.html How to Think Like a Computer Scientist: Chapter 1]
 
−
* Complete the [[HTTLACS: Ch 1 Exercises]]
 
−
* Introduction to data values, variables, and etc.
 
−
 
 
−
== Monday (9/27/10) ==
 
−
'''Warmup:'''
 
−
* Please update Mr. Bui on the GvR Step that you are on by filling out this [http://spreadsheets.google.com/viewform?key=p6_k1SMbS2zsXAmxEmXZlOQ survey]
 
−
 
 
−
'''Agenda:'''
 
−
* GvR Quiz today during 2nd half of class (Steps 1-13)
 
−
* [[GvR Steps 1-13 Quiz]]
 
−
* Finish any GvR step demos
 
−
* Introduction to Python
 
−
* [http://openbookproject.net/thinkcs/python/english2e/ch01.html How to Think Like a Computer Scientist: Chapter 1]
 
−
* Complete the [[HTTLACS: Ch 1 Exercises]]
 
−
 
 
−
== Thursday (9/23/10) ==
 
−
'''Warmup:'''
 
−
* Please update Mr. Bui on the GvR Step that you are on by filling out this [http://spreadsheets.google.com/viewform?key=p6_k1SMbS2zsXAmxEmXZlOQ survey]
 
−
* Create a world that looks like the on the board.  It should have a single wall on the same line as Guido
 
−
* Using an if statement, check to see if the front is clear
 
−
** If true, then drop a beeper on the ground
 
−
** Move forward (this should also be under the if statement)
 
−
* Repeat the above if statement 8 times
 
−
 
 
−
'''Agenda:'''
 
−
* Review If conditionals
 
−
* Review Do looping
 
−
* Work on GvR Steps
 
−
* Introduction to While loops
 
−
* Random GvR 7-13 Demo Checkoffs
 
−
* Quiz next Monday (9/27/10)
 
−
 
 
−
== Tuesday (9/21/10) ==
 
−
'''Warmup:'''
 
−
* Start Guido in the lower left hand corner
 
−
* Create a GvR program named gvr_warmup_9_20.gvr
 
−
* At the top of the code, define turnright
 
−
* Below turnright, define an instruction named stairs
 
−
*# Move Guido one step forward
 
−
*# Make Guido turn left once
 
−
*# Move Guido one step forward
 
−
*# Turn right
 
−
* In the main code, run stairs 5 times
 
−
 
 
−
'''Agenda:'''
 
−
* Please update Mr. Bui on the GvR Step that you are on by filling out this [http://spreadsheets.google.com/viewform?key=p6_k1SMbS2zsXAmxEmXZlOQ survey]
 
−
* Introduction to Conditionals
 
−
* Work on GvR Steps
 
−
 
 
−
== Friday (9/17/10) ==
 
−
'''Warmup:'''
 
−
* Please update Mr. Bui on the GvR Step that you are on by filling out this [http://spreadsheets.google.com/viewform?key=p6_k1SMbS2zsXAmxEmXZlOQ survey]
 
−
 
 
−
'''Agenda:'''
 
−
* GvR Steps #1-5 overview
 
−
* Complete GvR Steps #6-10
 
−
* GvR Steps 1-10 Checkoff & Quiz next week
 
−
* If you are done with 1-10...keep going!
 
−
 
 
−
== Wednesday (9/15/10) ==
 
−
* Complete the [[Introduction to Unix/Linux]]
 
−
* When you are done, demo to Mr. Bui
 
−
* Introduction to GvRng (GvR)
 
−
** Applications -> Programming -> GvRng
 
−
* [http://gvr.sourceforge.net/lessons/rfrank/ GvR Lessons]
 
−
* Work through Step 1 of GvR as a class
 
−
** Proper [[GvR File Naming Rules]]
 
−
 
 
−
== Monday (9/13/10) ==
 
−
'''Warmup:'''
 
−
* Using the power of the internets, what was the first commercial graphical user interface (GUI) developed for the personal computer?
 
−
* In what year was the first GUI introduced?
 
−
* In what year was the Unix operating system developed?
 
−
 
 
−
'''Agenda:'''
 
−
* What does ''programming'' mean?
 
−
** Hint: Think in terms of "programming a robot"
 
−
* [[Introduction to Unix/Linux]]
 
−
 
 
−
== Thursday (9/9/10)==
 
−
* Finish going over syllabus
 
−
 
 
−
* What is computer science?
 
−
# Pair up
 
−
# Take out a sheet of paper
 
−
# Put both of your names on the top right of the page
 
−
# Complete the following:
 
−
## List 3 people/things/systems that use computers (e.g. air traffic control)
 
−
## For each of the above people/things/systems, write down the information that they use (e.g. flight information)
 
−
## List 3 things you have done in any science class
 
−
## Define the term: "to compute" or "computation"
 
−
 
 
−
* How do we solve problems?
 
−
# Pair up again (with a different partner)
 
−
# Take out a new sheet of paper and write your names on it
 
−
# Problem: Mr. Bui is hungry. How would you solve that problem? Write out the steps.
 
−
# Pause until Mr. Bui says to continue
 
−
# One solution: Make him a PB&J sandwich. Write out the steps involved in making a PB&J sandwich.
 
−
# How many steps are necessary in making a PB&J sandwich?
 
−
# Turn in your steps
 
−
 
 
−
* Share sandwich stories
 
−
 
 
−
== Tuesday (9/7/10) ==
 
−
* Introductions
 
−
* [[IB Computer Science I Syllabus]]
 
−
* Name cards
 
−
* Misc logistics
 
−
** 20/10 no pass policy
 
−
** Location of bathrooms
 
−
** Sign in/out sheets
 
−
* Lab setup/config
 
−
** Login username is your first initial and lastname (e.g. pbui)
 
−
** Your password is your student ID number
 
−
** Go to System -> Preferences -> About Me -> Change Password
 
−
** Acceptable-use policies apply in this lab!
 
−
* [http://spreadsheets.google.com/viewform?key=p6_k1SMbS2zvMHJNJBBkFPA Student Surveys]
 
−
** Fill out and submit
 

Latest revision as of 08:28, 13 September 2023