This preview shows page 1. Sign up to view the full content.
Unformatted text preview: tion 2 Question 3 Question 4 Draw the output of the following piece of code: Question 5 Question 6 Consider the following piece of code: You’ve probably worked with ginput(1) before. ginput(2) is the same as ginput(1) except that instead of taking input for a single mouse click, it takes the input for two mouse clicks. The code does not proceed forward from ginput(2) until the user has clicked twice in the drawn figure. The x and y coordinates of all the clicked points are stored the x and y vectors respectively....
View Full Document
This test prep was uploaded on 03/02/2014 for the course CS 100 taught by Professor Sohaibkhan,arifzaman,murtazataj during the Spring '11 term at Lahore University of Management Sciences.
- Spring '11