General programming

Moderators: None (Apply to moderate this forum)
Number of threads: 1642
Number of posts: 2791

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
STACK and QUEUE ("REAL LIFE") Posted by playagain on 19 Jun 2007 at 10:52 PM
Please help me to build a list of examples of stack and queue in real life situation...

Conditions:
The object concerned must only one object.
And the object must be tangible.

Example:
Queue (FIFO): The bullet in a machine gun..(you cannot fire 2 bullets at the same time)
Stack (LIFO): The tennis balls in their container.. (you cannot remove 2 balls at the same time)

Please help me I need more examples..
At least 10 examples


TNX :)
============================
THANK YOU AND GODBLESS !!!
from playagain
============================
Report
Re: STACK and QUEUE ("REAL LIFE") Posted by zibadian on 19 Jun 2007 at 11:53 PM
: Please help me to build a list of examples of stack and queue in
: real life situation...
:
: Conditions:
: The object concerned must only one object.
: And the object must be tangible.
:
: Example:
: Queue (FIFO): The bullet in a machine gun..(you cannot fire 2
: bullets at the same time)
: Stack (LIFO): The tennis balls in their container.. (you cannot
: remove 2 balls at the same time)
:
: Please help me I need more examples..
: At least 10 examples
:
:
: TNX :)
:
: ============================
: THANK YOU AND GODBLESS !!!
: from playagain
: ============================
:

Stack: Truck/Container with only 1 access to the freight area
Queue: a car ferry/train, a narrow escalator (no room to pass the person before you), a production line
Report
Re: STACK and QUEUE ("REAL LIFE") Posted by playagain on 20 Jun 2007 at 5:00 AM

Stack: Truck/Container with only 1 access to the freight area
Queue: a car ferry/train, a narrow escalator (no room to pass the
person before you), a production line

TNX FOR THE REPLY
but those examples you had given had been given already by my teacher.
And please give me examples that uses objects such as balls, coins, etc. preferably no people involved.]

TNX TNX TNX...
Hoping for your examples
:) :) :)

============================
THANK YOU AND GODBLESS !!!
from playagain
============================
Report
Re: STACK and QUEUE ("REAL LIFE") Posted by kirAdess on 10 Aug 2010 at 12:03 AM
Stack --
1.Shuttlecock in its container.
2.Loaf Bread
3.bricks
4.building pyramids(the last "giant brick" will be the first on top)
Queue--
1.shutgun
2.printer(first coupon bond will be the first to be filled and printed)
3.car racing
4.car in a traffic
5.paying in a grocery
6.pool slide
Report
This post has been deleted. Posted by kirAdess on 10 Aug 2010 at 12:06 AM
This post has been deleted.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.