IBCS1 - 1112 - October

From WLCS

Monday (10/31/11)

Warmup:

  • Do you have any questions before we take the 1st quarter exam?
  • Functions apology...

Agenda:

  • 1st Quarter Exam
    1. Tear the two pages apart
    2. Write your name on both
    3. Give Mr. Bui the 2nd page
    4. 1st part is closed-book, multiple-choice
    5. After completing the first part, return both and pickup your 2nd page

Thursday (10/27/11)

Agenda:

  • Students should review for the 1st Quarter Exam, which will be on Monday (10/31/11)
  • Unix/Linux Commands will *not* be on the exam
  • 1st Quarter Exam Review - review old assignments and presentations
    • Closed-person, open-book, open-note
    • Turtle - look at old assignments
    • Basic programming terms (e.g. syntax, semantic, run-time, etc.)
    • Functions
    • Variables, values, and data types
    • Comparison operators (e.g. ==, <, >, <=, and >=)
    • Logical operators (e.g. not, and, or)
    • if-statements
    • while loops
  • Be sure you have completed the Looping Exercises and Turtle - Graphing Calculator

Tuesday (10/25/11)

Agenda:

Friday (10/21/11)

Agenda:

Wednesday (10/19/11)

Warmup:

  • What are the 3 major components of the while loop?

Agenda:

Thursday - Monday (10/13/11 - 10/17/11)

Warmup:

  • Write a loop that prints out all the numbers from 20 up to and not including 80

Agenda:

Tuesday (10/11/11)

Warmup:

  1. Create a file named LoopingNotes.py
  2. Copy the code below:
  3. Comment each line and explain what it does (use the # sign)
x = 0
while x < 5:
  print(x)
  x = x + 1

Agenda:

  • Looping practice
    • Print out all the numbers from 0-50
    • Print out all the numbers from 75 down to 25
    • Write a loop that prints out the first 100 even numbers
    • Prompt the user for a number and store it in a variable n, then print out the first n odd numbers (starting at 1) using a loop
    • Print out all the numbers that are divisible by 6 from 0 through 100
  • Guessing Game Assignment

Thursday (10/6/11)

Warmup:

Agenda:

Tuesday (10/4/11)

Warmup:

  • On a scratch sheet of paper or on the computer, complete the truth tables on the board

Agenda: