Difference between revisions of "Computer Science"
From WLCS
Line 23: | Line 23: | ||
and comment out (#) the '''print "Washington-Lee" ''' so that it does not run. | and comment out (#) the '''print "Washington-Lee" ''' so that it does not run. | ||
+ | * Submit the HTTLACS: Ch 2 exercises via School Web Lockers | ||
+ | |||
== Friday - Monday (10/1/10 - 10/4/10) == | == Friday - Monday (10/1/10 - 10/4/10) == |
Revision as of 08:39, 5 October 2010
Contents
- 1 Tuesday (10/5/10)
- 2 Friday - Monday (10/1/10 - 10/4/10)
- 3 Back To School Night (9/29/10)
- 4 Wednesday (9/29/10)
- 5 Monday - Tuesday (9/27/10 - 9/28/10)
- 6 Thursday - Friday (9/23/10 - 9/24/10)
- 7 Tuesday - Wednesday (9/21/10 - 9/22/10)
- 8 Friday - Monday (9/17/10 - 9/20/10)
- 9 Tuesday - Thursday (9/14/10 - 9/16/10)
- 10 Friday - Monday (9/10/10 - 9/13/10)
- 11 Tuesday - Thursday (9/7/10 - 9/9/10)
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 How to Think Like a Computer Scientist: Chapter 2
- Complete the following exercises
- Try the following code in a program: print n = 7
- The above should crash, change it to two lines of code so that you can print n and it works
- Take the sentence: All work and no play makes Jack a dull boy. Store each word in a separate variable, then print out the sentence on one line using print.
- Add parenthesis to the expression 6 * 1 - 2 to change its value from 4 to -6.
- Prompt the user for a number and store it in a variable named x. Print out the square of x
- Prompt the user for a noun, verb, and adjective, storing them each in a variable
- You should then print out the following sentence "The NOUN VERB in ADJECTIVE pants" and NOUN, VERB, ADJECTIVE are variables
- Take the following code:
- Try the following code in a program: print n = 7
print "Hello"
print "Washington-Lee"
print "Generals"
and comment out (#) the print "Washington-Lee" so that it does not run.
- Submit the HTTLACS: Ch 2 exercises via 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 How to Think Like a Computer Scientist: Chapter 1
- Complete the following exercises (be sure to number your answers and copy the question text):
- Put your name and date at the top of the text file
- Define the words high-level language and low-level language to a middle-schooler
- What is a program?
- What does debugging mean?
- Define syntax errors, runtime errors, and semantic errors
- What is the difference between a formal language and a natural language?
- Write the print statement that prints the following "YOURNAME is a rock star!"
- Write a program that says “All work and no play makes Jack a dull boy” 10 times.
- Submit your answers via School Web Lockers
- Introduction to data values, variables, and etc.
Back To School Night (9/29/10)
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
- How to Think Like a Computer Scientist: Chapter 1
- Complete the following exercises (be sure to number your answers and copy the question text):
- Put your name and date at the top of the text file
- Define the words high-level language and low-level language to a middle-schooler
- What is a program?
- What does debugging mean?
- Define syntax errors, runtime errors, and semantic errors
- What is the difference between a formal language and a natural language?
- Write the print statement that prints the following "YOURNAME is a rock star!"
- Write a program that says “All work and no play makes Jack a dull boy” 10 times.
- Submit your answers via School Web Lockers
Monday - Tuesday (9/27/10 - 9/28/10)
Warmup:
- Fill out the GvR 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 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 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 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
- 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!
- 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"