




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





NOTE: Question 33 & 34 are located on the back of this sheet! Your Name:_____________________ Your TA's Name: ________________ (5pts) Please answer multiple choice questions 1 20 in the following spaces. Mark you answer by completely filling the circle to the right of the corresponding letter.
A O B O C O D O E O 11. A O B O C O D O E O
A O B O C O D O E O 12. A O B O C O D O E O
A O B O C O D O E O 13. A O B O C O D O E O
A O B O C O D O E O 14. A O B O C O D O E O
A O B O C O D O E O 15. A O B O C O D O E O
A O B O C O D O E O 16. A O B O C O D O E O
A O B O C O D O E O 17. A O B O C O D O E O
A O B O C O D O E O 18. A O B O C O D O E O
A O B O C O D O E O 19. A O B O C O D O E O
A O B O C O D O E O 20. A O B O C O D O E O B. Please answer True/False questions 2130 in the following spaces. Mark you answer by completely filling the circle under the corresponding answer. True False True False
O O 26. O O
O O 27. O O
O O 28. O O
O O 29. O O
O O 30. O O
Python Expression Evaluation (14 points) Pretend that you are the Python Interpreter (IDLE window). What do you print or return when each of the following statements are entered? What type is it? Example: (7+4) / 2 Result: 5 Type: int Example: "Hi" + “Bye” Result: "HiBye" Type: string
Write the number from the correct definition in the blank next to each term on the left: (14 points) ___Print statement ___Program ___Runtime error ___Semantic error ___Syntax error ___Floatingpoint ___Integer ___Integer division ___Keyword ___Operator ___Variable ___Function ___function call ___Type conversion
This page is intentionally left blank. Feel free to use it for scratch work. This test has a total of 34 questions (question 33 & 34 are on the back of page 1, the answer sheet). Did you do them all?