|
|
(982 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
− | == Tuesday - Wednesday (11/9/10 - 11/10/10) == | + | == Archives == |
− | '''Warmup:'''
| + | * CS1 - 1819 (Poland) - APS Canvas |
− | * Open [[Geek Flow Chart Assignment]] and scroll down to the bottom | + | * CS1 - 1718 (Poland) - APS Canvas |
− | * Type out the example at the bottom
| + | * CS1 - 1617 (Poland) - Google Classroom |
− | | + | ** [https://docs.google.com/a/apsva.us/document/d/1VnXYBgVIABKBGVYNuoQQ6E_6kUzcNah2TFlM5QgTOW0/edit?usp=sharing 2017 Syllabus] |
− | '''Agenda:'''
| + | * [https://sites.google.com/a/apsva.us/ocopcompsci/ CS1 - 1516 (MacLeod)] |
− | * Complete and demo [[Geek Flow Chart Assignment]]
| + | * [[CS1 - 1415]] |
− | | + | * [[CS1 - 1314]] |
− | == Monday (11/8/10) ==
| + | * [[CS1 - 1213]] |
− | '''Warmup:'''
| + | * [[CS1 - 1112]] |
− | # Prompt the user by asking them "Have you passed enough classes (y/n)?"
| + | * [[CS1 - 1011]] |
− | # Prompt the user by asking them "Have you passed all your SOLs (y/n)?"
| + | * [[CS1 - 0910]] |
− | # Using an if-statement, if both answers are "y", then print "You are able to graduate"
| + | * [[CS1 - 0809]] |
− | # Else, print "You are not able to graduate. Try again later."
| + | * [http://www.paulbui.net/wl0708/cs1 CS1 - 0708] |
− | | + | * [http://www.paulbui.net/wl0607/cs1/schedule.html CS1 - 0607] |
− | '''Agenda:'''
| |
− | * Be sure you turned in the following: | |
− | ** [[Logical operators assignment]]
| |
− | ** [[HTTLACS: Ch 4 Exercises]]
| |
− | * Demo [[Geek Flow Chart Assignment]]
| |
− | * Reintroduction to Functions (but for realz this time)
| |
− | * [http://openbookproject.net/thinkcs/python/english2e/ch05.html HTTLACS: Ch 5] | |
− | * Complete the exercises at the end of [http://openbookproject.net/thinkcs/python/english2e/ch05.html HTTLACS: Ch 5]
| |
− | | |
− | == Friday (11/5/10) ==
| |
− | '''Agenda:'''
| |
− | * Review Conditionals | |
− | * Logic operators
| |
− | ** [[Media:BooleanLogic.ppt]]
| |
− | * Be sure you turn in the following:
| |
− | ** [[Logical operators assignment]]
| |
− | ** [[HTTLACS: Ch 4 Exercises]] | |
− | * Complete and demo [[Geek Flow Chart Assignment]]
| |
− | | |
− | == Thursday (11/4/10) ==
| |
− | '''Warmup:'''
| |
− | # Prompt the user to enter his/her name
| |
− | # Check if the name matches (equals) your name
| |
− | #* If it is a match, then print, "Welcome NAME!"
| |
− | # Else
| |
− | #* Print "You are not welcome here NAME!"
| |
− | | |
− | '''Agenda:'''
| |
− | * Be sure you turned in the following:
| |
− | ** [[Logical operators assignment]]
| |
− | ** [[HTTLACS: Ch 4 Exercises]]
| |
− | * Complete and demo [[Geek Flow Chart Assignment]]
| |
− | * Begin reading [http://openbookproject.net/thinkcs/python/english2e/ch05.html HTTLACS: Ch 5]
| |
− | * Return and go over 1st Quarter Exam
| |
− | | |
− | == Wednesday (11/3/10) ==
| |
− | '''Warmup:'''
| |
− | # Prompt the user to enter his/her name
| |
− | # Check if the name matches (equals) your name
| |
− | #* If it is a match, then print, "Welcome NAME!"
| |
− | # Else
| |
− | #* Print "You are not welcome here NAME!"
| |
− | | |
− | '''Agenda:'''
| |
− | * Review Conditionals
| |
− | * Logic operators
| |
− | ** [[Media:BooleanLogic.ppt]]
| |
− | * Be sure you turn in the following:
| |
− | ** [[Logical operators assignment]]
| |
− | ** [[HTTLACS: Ch 4 Exercises]]
| |
− | * Complete and demo [[Geek Flow Chart Assignment]]
| |
− | | |
− | == Tuesday (11/2/10) ==
| |
− | * Teacher Work Day
| |
− | | |
− | == Monday (11/1/10) ==
| |
− | '''Warmup:'''
| |
− | * Prompt the user to enter his/her grade (0-100)
| |
− | * Using if statements, do the following:
| |
− | ** if the grade is greater than or equal to 90, then print "You have an A"
| |
− | ** if the grade is less than 90 '''and''' the grade is greater than or equal to 80, then print "You have a B"
| |
− | ** if the grade is less than 80 '''and''' the grade is greater than or equal to 70, then print "You have a C"
| |
− | ** if the grade is less than 70 '''and''' the grade is greater than or equal to 60, then print "You have a D"
| |
− | ** if the grade is less than 60, then print "You have an E"
| |
− | | |
− | '''Agenda:'''
| |
− | * Logic operators
| |
− | ** [[Media:BooleanLogic.ppt]]
| |
− | * [[Logical operators assignment]]
| |
− | * [[HTTLACS: Ch 4 Exercises]]
| |
− | * [[Geek Flow Chart Assignment]]
| |
− | | |
− | == Friday (10/29/30) ==
| |
− | '''Agenda:'''
| |
− | * Functions review
| |
− | * Be sure you've turned in [[HTTLACS: Ch 3 Exercises]]
| |
− | * Introduction to Conditionals
| |
− | * [[Comparison operators assignment]]
| |
− | * [[MPAA calculator assignment]]
| |
− | * Demo your MPAA Calculator
| |
− | | |
− | == Wednesday - Thursday (10/27/10 - 10/28/10) ==
| |
− | * 1st Quarter Exam
| |
− | | |
− | == Tuesday (10/26/10) ==
| |
− | '''Warmup:'''
| |
− | # Prompt the user to enter the day of the week (Monday, Tuesday, Wednesday, etc.)
| |
− | # Use an if statement to check if the user's input matches Monday or Wednesday or Friday
| |
− | #* Print out your classes for that day
| |
− | # Otherwise, print out the classes for Tuesday or Thursday
| |
− | | |
− | '''Agenda:'''
| |
− | * Introduction to Mr. Fowler
| |
− | * Conditional Review
| |
− | * 1st Quarter Exam Review
| |
− | ** HTTLACS Ch 1, 2, 3, 4
| |
− | * Make sure that [[Comparison operators assignment]] is turned in
| |
− | * Logic operators | |
− | ** [[Media:BooleanLogic.ppt]]
| |
− | * [[Logical operators assignment]]
| |
− | * [[HTTLACS: Ch 4 Exercises]]
| |
− | * [[Geek Flow Chart Assignment]]
| |
− | | |
− | == Monday (10/25/10) ==
| |
− | '''Warmup:'''
| |
− | # Prompt the user to input numbers for the following variables: '''m''', '''x''', and '''b'''
| |
− | #* Be sure to save them as variables
| |
− | # Calculate the '''y''' variable from the formula: y=m*x+b
| |
− | # Print out the '''y''' variable
| |
− | | |
− | '''Agenda:'''
| |
− | * Demo [[Quadratic Formula Assignment]]
| |
− | * 1st Quarter Exam Review
| |
− | ** HTTLACS Ch 1, 2, 3
| |
− | * Introduction to Python Functions
| |
− | ** [http://openbookproject.net/thinkcs/python/english2e/ch03.html HTTLACS: Ch 3]
| |
− | ** [[HTTLACS: Ch 3 Exercises]]
| |
− | | |
− | == Friday (10/22/10) ==
| |
− | '''Warmup:'''
| |
− | # Prompt the user to answer the following Yes/No question: "Do you have any siblings? (y/n)"
| |
− | #* Be sure to save the response into a variable
| |
− | # Check if the variable is "y", then print out "Awesome...you have brothers and sisters!"
| |
− | # Else, if they say "n", then print out "Awesome...you're an only child!"
| |
− | | |
− | '''Period 2 - Agenda:'''
| |
− | * if-statement review
| |
− | * Nested if-statements
| |
− | * [[Comparison operators assignment]]
| |
− | | |
− | == Thursday (10/21/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"
| |
− | | |
− | '''Period 1 - Agenda:'''
| |
− | * Be sure you've turned in the following:
| |
− | ** [[Values, Types, and Variables Identification assignment]]
| |
− | ** [[HTTLACS: Ch 2 Exercises]]
| |
− | * Work on [[Quadratic Formula Assignment]]
| |
− | | |
− | == Wednesday (10/20/10) ==
| |
− | '''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!"
| |
− | | |
− | '''Period 2 - Agenda:'''
| |
− | * Review of Conditionals
| |
− | ** Comparison operators
| |
− | * [[MPAA calculator assignment]]
| |
− | * Demo your MPAA Calculator
| |
− | * Make sure you've turned in all the assignments
| |
− | | |
− | == Monday - Tuesday (10/18/10 - 10/19/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"
| |
− | | |
− | '''Period 1 - Agenda:'''
| |
− | * Introduction to Mr. Fowler
| |
− | * Review problems with homework
| |
− | * [[Values, Types, and Variables Identification assignment]]
| |
− | * [[HTTLACS: Ch 2 Exercises]]
| |
− | * [[Quadratic Formula Assignment]] | |
− | | |
− | '''Period 2 - Agenda:'''
| |
− | * [[HTTLACS: Ch 3 Exercises]]
| |
− | * Introduction to Conditionals (if statement)
| |
− | * [[MPAA calculator assignment]] | |
− | | |
− | == Thursday - Friday (10/14/10 - 10/15/10) ==
| |
− | '''Warmup:'''
| |
− | * You will create a program that calculates speed
| |
− | *# Prompt the user (ask for input) for distance traveled and store it in a variable named '''distance'''
| |
− | *# Prompt the user (ask for input) for total time and store it in a variable named '''time'''
| |
− | *# Calculate the speed by dividing distance by time (distance/time) and store it in a variable named '''speed'''
| |
− | *# Print '''speed'''
| |
− | | |
− | '''Agenda:'''
| |
− | * [[Quadratic Formula Assignment]]
| |
− | * [[HTTLACS: Ch 3 Exercises]] | |
− | * Turn in Chapter 3 exercises (everybody should turn these in by the end of the day)
| |
− | * Begin reading [http://openbookproject.net/thinkcs/python/english2e/ch04.html HTTLACS: Ch 4]
| |
− | ** Be sure to try out all the examples
| |
− | ** Skip the GASP section
| |
− | <!--* Complete exercises #1, 4, 6-8 at the end of Chapter 4-->
| |
− | | |
− | == Tuesday (10/12/10) ==
| |
− | '''Warmup:'''
| |
− | * Assume you have the following code:
| |
− | | |
− | <source lang="Python">
| |
− | x = 5
| |
− | a = 8
| |
− | b = a-x*2
| |
− | print b
| |
− | </source>
| |
− | | |
− | * What does the above program print?
| |
− | | |
− | '''Agenda:'''
| |
− | * Values, data types, and variables review
| |
− | * Input review
| |
− | ** Write a program that prompts the user to enter his/her first name and store it in a variable named fn. Your program should print out the name like so: '''Hello FIRSTNAME! Happy Tuesday!'''
| |
− | * Make sure you have turned in BOTH of the following assignments:
| |
− | ** [[Values, Types, and Variables Identification assignment]]
| |
− | ** [[HTTLACS: Ch 2 Exercises]]
| |
− | * Introduction to Functions
| |
− | ** [[HTTLACS: Ch 3 Exercises]]
| |
− | | |
− | == Thursday - Friday (10/7/10 - 10/8/10) ==
| |
− | '''Warmup:'''
| |
− | * Identify the types for the following variables:
| |
− | *# 43
| |
− | *# 3.5
| |
− | *# 2
| |
− | *# "washington"
| |
− | *# "2"
| |
− | *# "lee"
| |
− | | |
− | '''Agenda:'''
| |
− | * [[Values, Types, and Variables Identification assignment]]
| |
− | * [[HTTLACS: Ch 2 Exercises]] | |
− | | |
− | == Tuesday (10/5/10) ==
| |
− | '''Warmup:'''
| |
− | * Complete and submit the HTTLACS: Ch 1 exercises
| |
− | * Submit via School Web Lockers
| |
− | | |
− | '''Agenda:'''
| |
− | * 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 [[Values, Types, and Variables Identification assignment]]
| |
− | * Complete the [[HTTLACS: Ch 2 Exercises]]
| |
− | * Submit both to School Web Lockers
| |
− | | |
− | == Friday - Monday (10/1/10 - 10/4/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?
| |
− | | |
− | '''Agenda:'''
| |
− | * Any missing quiz demonstrations should be shown when Mr. Bui gets back
| |
− | * Introduction to Python
| |
− | * Begin reading through [http://openbookproject.net/thinkcs/python/english2e/ch01.html How to Think Like a Computer Scientist: Chapter 1]
| |
− | * Complete the [[HTTLACS: Ch 1 Exercises]]
| |
− | * Submit it all in one file to School Web Lockers
| |
− | | |
− | == Back To School Night (9/29/10) ==
| |
− | * [[Media:B2snCS1.ppt]] | |
− | | |
− | == Wednesday (9/29/10) ==
| |
− | '''Agenda:'''
| |
− | * Work on GvR
| |
− | * 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 following exercises (be sure to number your answers and copy the question text):
| |
− | * [[HTTLACS: Ch 1 Exercises]]
| |
− | * Submit your answers via School Web Lockers
| |
− | | |
− | == Monday - Tuesday (9/27/10 - 9/28/10) ==
| |
− | '''Warmup:'''
| |
− | * Fill out the GvR [http://spreadsheets.google.com/viewform?key=p6_k1SMbS2zsXAmxEmXZlOQ survey] if you made progress since the last time you completed it
| |
− | * Open a text editor
| |
− | * How would you give each student in the class a random number from 8-10 and another random number from 11-14?
| |
− | * Write down your steps
| |
− | | |
− | '''Agenda:'''
| |
− | * GvR Demos
| |
− | * GvR Quiz later this week
| |
− | | |
− | == Thursday - Friday (9/23/10 - 9/24/10) ==
| |
− | '''Warmup:'''
| |
− | * 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:'''
| |
− | * GvR Conditionals Review
| |
− | * 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 GvR Loops | |
− | * Work on GvR Steps
| |
− | | |
− | == Tuesday - Wednesday (9/21/10 - 9/22/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:'''
| |
− | * Work on GvR Steps
| |
− | * Introduction to Conditionals
| |
− | * 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]
| |
− | | |
− | == Friday - Monday (9/17/10 - 9/20/10) ==
| |
− | '''Agenda:'''
| |
− | * GvR Steps #1-5 overview
| |
− | * Complete GvR Steps #6-10
| |
− | * GvR Steps 1-10 Checkoff & Quiz next week
| |
− | * 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]
| |
− | | |
− | == Tuesday - Thursday (9/14/10 - 9/16/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]]
| |
− | | |
− | == Friday - Monday (9/10/10 - 9/13/10) ==
| |
− | '''Warmup:'''
| |
− | * How do we solve problems?
| |
− | # Pair up (with a partner on the other side of the room)
| |
− | # 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
| |
− | | |
− | '''Agenda:'''
| |
− | * Share sandwich stories
| |
− | * What does ''programming'' mean?
| |
− | * 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?
| |
− | * [[Introduction to Unix/Linux]]
| |
− | | |
− | == Tuesday - Thursday (9/7/10 - 9/9/10) ==
| |
− | * Introductions
| |
− | * Name cards
| |
− | * 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
| |
− | * Misc logistics
| |
− | ** 20/10 no pass policy
| |
− | ** Location of bathrooms
| |
− | ** Sign in/out sheets
| |
− | * [[Computer Science I 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"
| |