Difference between revisions of "Computer Science I"

From WLCS
(Redirected page to Computer Science)
 
(243 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Friday (11/7/08) ==
+
#REDIRECT [[Computer Science]]
'''Warmup:'''
 
* Play this example of a Harry Potter [http://editthis.info/choose_your_own_adventure/Harry_Potter Choose Your Own Adventure Game]
 
'''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?
 
 
 
 
 
<source lang="python">
 
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
 
</source>
 
 
 
 
 
'''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 ==
 
* [[CS1 - October]]
 
* [[CS1 - September]]
 

Latest revision as of 11:13, 24 August 2010

Redirect to: