cs1301-exam2 - 1/8 Your Name: _ CS 1301 Summer 2009 Exam...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
1/8 Your Name: _________________________ CS 1301 Summer 2009 Exam 2/2 Problem Earned Points Points Possible Vocabulary Matching 22 Python Expressions 20 8 Phonebook 6 Fill in the Blank 4 LongWords 12 Pixel Swap 14 Robot Photographer 14 Total: 100
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
2/8 Your Name: _________________________ 1. Vocabulary Matching (22 points) Write the number before the definition on the right on the line before the matching vocabulary word. ____ aliases ____ clone ____ compound data type ____ decrement ____ dictionary ____ exception ____ file ____ format operator ____ global variables ____ immutable type ____ increment ____ iteration ____ lambda ____ local variables ____ mutable type ____ nested list ____ pixel ____ recursion ____ sequence ____ short circuit evaluation ____ slice ____ traverse 1. Smallest addressable element of a picture. 2. A variable that can only be accessed within the function that it was defined in. 3. The % operator takes a format string and a tuple of values and generates a string by inserting the data values into the format string at the appropriate locations. 4. When a boolean expression is evaluated the evaluation starts at the left hand expression and proceeds to the right, stopping when it is no longer necessary to evaluate any further to determine the final outcome. 5. A block of code which can be executed as if it were a function but without a name. 6. Can be seen through a program module, even inside of functions. 7. A named entity, usually stored on a hard drive, floppy disk, or CD-ROM, that contains a stream of characters. 8. Raised by the runtime system if something goes wrong while the program is running. 9.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/25/2012 for the course CS 1301 taught by Professor Staff during the Fall '08 term at Georgia Institute of Technology.

Page1 / 8

cs1301-exam2 - 1/8 Your Name: _ CS 1301 Summer 2009 Exam...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online