Results 1 to 6 of 6

Thread: Question from last year's ap comp sci test...

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2001
    Posts
    28

    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

  2. #2
    Member
    Join Date
    Feb 2001
    Posts
    57
    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.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Aug 2001
    Posts
    28
    If I knew the basic concept, I could manage to make the source code from there.

  4. #4
    Member
    Join Date
    Feb 2001
    Posts
    57
    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?

  5. #5
    Fanatic Member nabeels786's Avatar
    Join Date
    Jul 2001
    Location
    New York
    Posts
    919
    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?

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Aug 2001
    Posts
    28

    Thumbs up

    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
  •  



Click Here to Expand Forum to Full Width