Difference between revisions of "CSC111 Midterm Exam Preparation 2015"

From dftwiki3
Jump to: navigation, search
Line 152: Line 152:
 
::<source lang="python">
 
::<source lang="python">
 
line = "Hello World!"
 
line = "Hello World!"
print( line[:5] + line[5: ] )
+
for i in range( 1, 4 ):
 +
    print( line[ :i ] + line[i: ] )
 
</source>
 
</source>
  
 
</onlydft>
 
</onlydft>

Revision as of 21:04, 28 February 2015

--D. Thiebaut (talk) 18:08, 28 February 2015 (EST)


Midterm Exam Prep

The midterm is an in-class exam given under the rules of the honor code. It lasts 70 minutes. It will be closed books, closed notes, closed computers.



...