Change Contents of the Bubble
Welcome to CS1315. Click on the python to add comments.

Looking for the book? They have it at the Engineer's Bookstore at 748 Marietta St NW. Here is there website: http://www.engrbookstore.com/ - Monica

Hotspots: Slides and CodeTA CornerComments?AnnouncementsFAQStatic Webspace
View this PageEdit this Page (locked)Uploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

Midterm Exam 1 Review Fall 2004: Scaling with input

Post your answers, questions, comments, comments on answers, suggestions, suggestions on questions, etc.

Back to Fall2004 Midterm 1 Review


Does anyone have an answer for this one yet, I am having a little trouble with it

This is one of the more difficult questions. Kepp working on it. Might I suggest taking your questions to your lovely TAs at the review session this evening at 7 in the IC room 205. Kelly Lyons

This is A.
Copying from ,45, 25, to ,100,100
Copying from ,45, 27, to ,100,101
Copying from ,45, 29, to ,100,102
Copying from ,45, 31, to ,100,103

This is B.
Copying from ,45, 25, to ,100,100
Copying from ,45, 25.5, to ,100,101
Copying from ,45, 26, to ,100,102
Copying from ,45, 26.5, to ,100,103

This is C.
Copying from ,45, 25, to ,100,100
Copying from ,45, 25.66667, to ,100,101
Copying from ,45, 26.33333, to ,100,102
Copying from ,45, 27.00000, to ,100,103

I got something close to that

A. original picture, then canvas w/ Barb's face at 1/2 scale
copying from 45,25 to 100,100
copying from 45,27 to 100,101
copying from 45,29 to 100,102
copying from 45,31 to 100,103

B. orig., then Barb at 2x scale
copying from 45,25 to 100,100
copying from 45,25 to 100,101
copying from 45,26 to 100,102
copying from 45,26 to 100,103

C. orig., Barb's face at 1 1/2 scale
copying from 45,25 to 100,100
copying from 45,25 to 100,101
copying from 45,26 to 100,102
copying from 45,27 to 100,103




The first one is more correct. The decimal numbers are printed, not the integers, even thought when evaluated in the code you only use the integer portion Kelly Lyons

does more correct mean that the first one is not completely correct?

i think they said in the review that no commas are present

so is it printed with or without commas?


Printed without commas. Angela Liang



Link to this Page