comp.lang.ada
 help / color / mirror / Atom feed
From: Mike H <postmaster@ada-augusta.demon.co.uk>
Subject: Re: Marble Clock
Date: Wed, 3 Apr 2013 08:44:22 +0100
Date: 2013-04-03T08:44:22+01:00	[thread overview]
Message-ID: <5Wb2SFBW39WRFw4H@ada-augusta.demon.co.uk> (raw)
In-Reply-To: 7075541f-01b7-4cd4-997f-b0b8048f067d@googlegroups.com

In message <7075541f-01b7-4cd4-997f-b0b8048f067d@googlegroups.com>, 
gattamaneni abhiram <abhiram.gattamaneni@gmail.com> 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



      parent reply	other threads:[~2013-04-03  7:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-02  0:09 Marble Clock gattamaneni abhiram
2013-04-02 12:02 ` John B. Matthews
2013-04-02 19:46   ` gattamaneni abhiram
2013-04-02 19:54     ` Eryndlia Mavourneen
2013-04-03  9:14       ` Simon Wright
2013-04-03 12:45         ` Eryndlia Mavourneen
2013-04-03 16:53         ` Simon Wright
2013-04-12 22:28         ` gattamaneni abhiram
2013-04-13  5:51           ` Simon Wright
2013-04-13 19:04           ` Dennis Lee Bieber
2013-04-03 11:52     ` John B. Matthews
2013-04-03  7:44 ` Mike H [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox