CSC108H1_09SUMMER1_608

Setbluepixel intblue 07 id r de nt bu dd y c 168

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: function does not return anything (it has no return statement). Clearly explain how this function is able to do its job in spite of this. Refer to specific properties of pictures in your answer. Test ID: 1680 Test ID: 1680 Part (b) [3 marks] In the lines that use set_green and set_blue, why do we use the int function? Explain the purpose of int, and what might happen if we did not include it. Do wn lo ad er ID : 29 85 UofT Student Buddy @ http://utoronto.studentbuddy.com This test is copyrighted by the uploader and/or course instructor. Downloader id is shown and also encrypted throughout the document. Unauthorized reproduction/distribution is strictly prohibited. Page 4 of 6 Solution (if any) is NOT audited, so use at your discretion. Test ID: 1680 cont’d. . . 298 Dow nlo ade r ID: 5 Downloader ID: 2985 ID: 1680 Test JUNE 2009 CSC 108H1Y Midterm Exam 80 : 16 ID st Te Question 4. [7 marks] Complete the following function according to its docstring description. The function is designed to ask for a valid password (presumably f...
View Full Document

Ask a homework question - tutors are online