CDAT - Computer Science‎ > ‎2015-16‎ > ‎CSP‎ > ‎News and Assignments‎ > ‎

1-2 SEP

posted Aug 31, 2015, 12:27 PM by Tom Culpepper   [ updated Sep 2, 2015, 10:25 AM ]
Let's start off with something easy today

1)  Check out this code.  We're going fix a couple of things in it.

2)  A while loop assignment was released last time in class, but it's a little hard.  I'm going to give you a choice between the original, harder assignment or an easier, but longer assignment.  It's due Monday at 0600am.  This basically means you need to be done with it on Friday.  You can find them on dropbox on eClass.

Clarifications:
    a)  On the second problem of the easy assignment you should print 1, 4, 9, 16, 25...
    b)   On the second problem of the hard assignment you should not repeat the subtraction problem they get wrong.  This part should be done with only one while loop.
    c)  NO BREAK STATEMENTS!!!!1.  -20 points for each break statement in your code.
    d)  Instructions on dropbox have been updated to reflect these changes.

3)  If you're a sophomore or freshman then you need to be working on Innovation Nation projects too.  

** project files are attached because people are having trouble with connecting to eClass.
ċ
pythonDrill03_WhileLoops_easy.py
(1k)
Tom Culpepper,
Sep 2, 2015, 10:25 AM
ċ
pythonDrill03_WhileLoops_hard.py
(1k)
Tom Culpepper,
Sep 2, 2015, 10:25 AM
Comments