Question: Chapter 4. Objects and Graphics 124 from (0,0) in 4. What command would set the coordinates of win to go 0,10) in the upper-right? lower-left

 Chapter 4. Objects and Graphics 124 from (0,0) in 4. What
command would set the coordinates of win to go 0,10) in the

Chapter 4. Objects and Graphics 124 from (0,0) in 4. What command would set the coordinates of win to go 0,10) in the upper-right? lower-left corner to (1 win. setcoords (Point Co,o), Point (10,10)) win. setcoords (Co,o), (10,10)) c) win. setcoords (O, 0, 10, 10) d) win.setcoords (Point (10, 10), Point (o,o)) 5. What expression would create a line from (2,3) to (4,5)? a) Line (2, 3, 4, 5) b) Line ( (2,3), (4,5)) c) Line (2, 4, 3, 5) d) Line (Point (2,3), Point (4,5)) 6. What command would be used to draw the graphics object shape into the graphics window win? a) win.draw (shape) b) win.show (shape) c) shape.draw) d) shape.draw(win) 7. Which of the following computes the horizontal distance between po ints p1 and p2? a) abs (p1-p2) b) p2.getxO p1.getX) c) abs (p1.getY ) p2.getYO) d) abs(p1.getXO - p2.getX()) 8. What kind of object can be used to get text input in a graphics window? a) Text b) Entry c) Input d) Keyboard 9. A user interface organized around visual elements and user actions called a(n) a) GUI b) application c) windower d) API 10. What color is color rgb(0,255,255)? a) yellow b) cyan c) magenta d) orange

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!