

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The solutions and explanations for quiz #1 of cosc 235b, which covers python identifiers, output of print statements, and basic program structure. Students will find answers to quiz questions, as well as explanations for programming concepts such as variables and assignments.
Typology: Quizzes
1 / 2
This page cannot be seen from the preview
Don't miss anything!


COSC 235B David A. Sykes
- 1 – Continued on reverse
Name: Pledged:
Answer all questions. Write legibly.
k Connecticut New Mexico
_7_Up 7Up [email protected]
SevenUp Seven_Up wofford.edu
x = 7 y = 9 print x, y
print "Tricky..."
def main(): print "XOX" print "OXO" print "XOX"
def show(): print "XXXXX"
print "+++++" for i in range(5): show() print print "-----"
- 2 -
program
variable
assignment