AceTheInterview
Jobs in Pune | Work better in teams | Socialize with friends | Submit Q&A | Tell a friend
Search site for 

Top 100 Interview Questions & Answers in a convenient and easy to read book!

“I bought this guide a few days ago to prepare for my interview with Oracle. Many of the questions they asked me were from this guide. I found this book absolutely great!”

– Ravi, California

Read more comments...

Interview Questions And Answers RSS Feed

Answers »

  1. Submitted By: c32 — October 4, 2007
    -2 votes
      + -

    In rectangular coordinates: You cannot have a function who’s graphic resembles a cat.
    Because a cat is a closed shape, and for a given x, f(x) must be unique. It’s the pure definition of “function”.
    But you can have 2 functions: f1 draws the back of the cat, f2 draws the belly.

    In polar coordinates: yes you can design a function with a “cat” like graphic. No radial line shall intersect the cat twice.

    No mater how complicated a graph is, there always is a function to describe it. As long as the “function” definition is not break: for a given x in the input range, there must be EXACTLY ONE y such that f(x) = y

  2. Submitted By: mc — October 8, 2007
    +2 votes
      + -

    Make a definition to draw a cat with a certain size parameter.
    Depending on the height or width, we can define a new ratio of each body part like legs or head which should be pre-defined functions.

  3. Submitted By: pv — October 9, 2007
    +2 votes
      + -

    You can define functions to draw an oval, circle, arc etc. and you can use the following to draw a side view:

    draw a circle where the face is required. draw circle for eyes, draw oval for the back/belly, draw arc for the tail, etc.

  4. Submitted By: J1gs4w — June 1, 2008
    not yet rated
      + -

    Have a bitmap file or use one. Take the size input, say x. Repeat each bit x times horizontally and vertically. i.e. for each bitmap element create a square of the corresponding size.
    F(x) = a cat of size x.

  5. Leave an Answer/Comment

    To prove you're a person (not a spam script), type the security text shown in the picture. Click here to regenerate some new text.
    Click to hear an audio file of the anti-spam word

Our Sponsors
Our Sponsors
Contact Us | FAQ | Sitemap | Terms of Use | Privacy Policy | Tell a Friend

Copyright © 1999-2006 Jeeve Technologies LLC. All rights reserved.