



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!




NAME: KEY Section: Vocabulary (14 pts) Match each term in the word bank with one of the statements below:
Python Interpretations (20 pts) Act like python to interpret the following expression, and it’s type (integer, float, string, Boolean) Expression Result (2pts) Type (2 pts) 7 + 5 12 integer ‘Forty ’ + ‘seven’ Forty seven string 7/4 + 24 + 7**2.0 38 integer 3 < 8 True Boolean (‘a’ < ‘b’) False Boolean
Draw (20 pts) Using your code for mergesort, show how the computer reads and interprets the code to get to the results of [0.5, 3, 5, 7, 8, 14]
Writing Code (20 pts) Write a code that takes a picture and repaints it to have a green tint.