468,470 Members | 1,540 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,470 developers. It's quick & easy.

how does the stack and queue appears in computer memory

i always wonder how the stack and queue appears like in the memory??? i want to know if we can visibilly see the stack and queue when we open the motherboard
Jan 5 '14 #1

✓ answered by Nepomuk

Hello Divya Ramprasad and welcome to bytes.com!

Your second question is easy to answer: No, you won't be able to see a stack or a queue if you open the motherboard. What you may see is the RAM, which is a green bar with black rectangular chips on it and which is attached to the motherboard in a long slot. Many computers have several RAM bars, I've never seen a motherboard that supported less than two of them (though that doesn't necessarily mean, that a minimum of two are actually installed).

To answer your first question, it depends on what you mean with "how do they appear in memory" - if you mean how they look datatype wise, look at implementations of queues and stacks in languages such as C or, if you really want to know the details, in an assembly language. If you mean how they look optically I'd refer you to the first paragraph of my answer.

2 1261
Nepomuk
3,112 Expert 2GB
Hello Divya Ramprasad and welcome to bytes.com!

Your second question is easy to answer: No, you won't be able to see a stack or a queue if you open the motherboard. What you may see is the RAM, which is a green bar with black rectangular chips on it and which is attached to the motherboard in a long slot. Many computers have several RAM bars, I've never seen a motherboard that supported less than two of them (though that doesn't necessarily mean, that a minimum of two are actually installed).

To answer your first question, it depends on what you mean with "how do they appear in memory" - if you mean how they look datatype wise, look at implementations of queues and stacks in languages such as C or, if you really want to know the details, in an assembly language. If you mean how they look optically I'd refer you to the first paragraph of my answer.
Jan 6 '14 #2
tank u so much for the reply.....got ur point..
Jan 18 '14 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by Min-Koo Seo | last post: by
6 posts views Thread by pit3k | last post: by
7 posts views Thread by unified | last post: by
2 posts views Thread by 63q2o4i02 | last post: by
3 posts views Thread by venky | last post: by
5 posts views Thread by jon wayne | last post: by
1 post views Thread by Pallav singh | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by kmladenovski | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.