Computer Science I

From WLCS
Revision as of 09:05, 7 November 2008 by Admin (talk | contribs)

Friday (11/7/08)

Warmup:

Agenda:

  • Discuss Choose Your Own Adventure (CYOA)
  • Discuss engineering design & implementation
    • Requirements, design, implementation, testing, evaluation
  • Requirements Analysis
    • Each menu should have at least 3 options
    • Your CYOA should have at least 5 levels of depth
    • MUST be school appropriate
  • Design
    • We will create a flow chart to design your CYOA game
  • Implementation
    • We will create our game in Python using input and if-statements
  • Testing
    • We will test each others' games as a class
  • Evaluation
    • You are going to grade each other

Wednesday (11/5/08)

Warmup:

  • Take out a sheet of scratch paper and trace the code below. You should be writing down the values of different variables as they change
  • What are the final values of a, b, and c?


a = 1
b = 5
c = 10

if a == b or b < c:
    temp = c - b
    if temp >= b:
        a = 3
    else:
        a = 2
else:
    b = 10 - a
    a = 2*a


Agenda:

  • Return assignments and 1st Quarter Exam
  • Review 1st Quarter Exam
  • Geek Flow Chart Assignment
  • Read through HTTLACS: Ch 5 and complete the exercises

Archives