From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,5b528da331e8df66 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.86.38 with SMTP id m6mr1260056wiz.0.1365341862572; Sun, 07 Apr 2013 06:37:42 -0700 (PDT) Path: p18ni42854wiv.0!nntp.google.com!feeder1.cambriumusenet.nl!82.197.223.103.MISMATCH!feeder3.cambriumusenet.nl!feed.tweaknews.nl!193.141.40.65.MISMATCH!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!news.n-ix.net!news.bawue.net!news.karotte.org!news2.arglkargh.de!news.mixmin.net!news.unit0.net!cyclone03.ams2.highwinds-media.com!news.highwinds-media.com!voer-me.highwinds-media.com!npeersf03.am4!fx05.fr7.POSTED!not-for-mail Message-ID: <5Wb2SFBW39WRFw4H@ada-augusta.demon.co.uk> From: Mike H Reply-To: Mike Hopkins Newsgroups: comp.lang.ada Subject: Re: Marble Clock References: <7075541f-01b7-4cd4-997f-b0b8048f067d@googlegroups.com> MIME-Version: 1.0 User-Agent: Turnpike/6.07-M () NNTP-Posting-Host: 83.104.138.185 X-Complaints-To: abuse@demon.net X-Trace: 1364975431 83.104.138.185 (Wed, 03 Apr 2013 07:50:31 UTC) NNTP-Posting-Date: Wed, 03 Apr 2013 07:50:31 UTC Date: Wed, 3 Apr 2013 08:44:22 +0100 X-Received-Bytes: 1439 Content-Type: text/plain;charset=us-ascii;format=flowed Date: 2013-04-03T08:44:22+01:00 List-Id: In message <7075541f-01b7-4cd4-997f-b0b8048f067d@googlegroups.com>, gattamaneni abhiram writes >Can anyone please help me with the logic in the program? Stand back and list what properties do the trays share with each other and in what ways they differ. Then look at those lists of properties as abstractions and try to decide whether each, in turn, has any of the characteristics of a stack, of a queue or of neither. If you spot sufficient shared properties, you might even gather some extra brownie points with your assessor by considering whether to use generic objects. -- Time flies like an arrow. Fruit flies like a banana. Mike