|
-
May 5th, 2002, 11:39 PM
#1
Thread Starter
Junior Member
Question from last year's ap comp sci test...
Could somebody help me out with question #1c from last years AP Computer Science AB Test? I would describe it, but it would be easier just to go to it at:
http://cbweb2s.collegeboard.org/ap/p...psci_ab_01.pdf
Thanks
-
May 6th, 2002, 04:25 PM
#2
Member
I am also going to take the AP CS test on Thursday and am willing to explain the Enlarge function. But first I need to know what it is that you don't understand. Do you want an actual sourcecode answer (I'd have to make it up for you) or do you need to understand the basic concept?
All they're doing is just imitating what an extremely simple graphic editor would do.
-
May 6th, 2002, 04:52 PM
#3
Thread Starter
Junior Member
If I knew the basic concept, I could manage to make the source code from there.
-
May 6th, 2002, 05:01 PM
#4
Member
Do you understand how they're stretching the 'pixels' (numbers) in the array? It works just like a simple image manipulator. You have to interpolate for pixels that don't really exist. This will stretch the picture to fit a different size. The Enlarge function is using 'lossy' expansion - meaning that you're loosing pixels towards the right of the picture. Does that help at all?
-
May 6th, 2002, 05:10 PM
#5
Fanatic Member
im also taking the test this week
good luck
Visit www.fragblast.com
Gaming, forums, and a online RPG/Battle system
(__Flagg) DOT NET? is this a Hindi Dating service?
-
May 6th, 2002, 06:15 PM
#6
Thread Starter
Junior Member
It does, Thanks for the help!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|