answersLogoWhite

0


Best Answer

A stack is a concept in computer science that works like this:

You push value A into the stack, and it takes position 1. Then you pop the stack, and get A. If you were to push A, then B, A would be pushed into position 2, and B would be in position 1. When you pop, however, you can only get the value in position 1 (B) and A would pop to position 1. This is useful for data storage, but, expanding, you can do simplified arithmetic if you store data in positions 1 and 2, and define that the ADD command sums positions 1 and 2, erases 2, and stores the sum in 1. And so on.

A software stack is a stack that is implemented in the software of a computer: A large series of commands is given to the processor that make it store data in a "stack" somewhere in memory, and are usually sequential.

Pros: Simple to implement.

Cons: Slow and resource consuming.

A hardware stack is a series of memory units, often built into the processor, that quite literally are a stack. The only way to store data in them is to push, and the only way to access it is to pop from the first position (top of the stack).

Pros: Very fast, and is useful to the processor, even when you aren't actively using it.

Cons: Has to be engineered, and is often expensive to make.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

9y ago

Hardware refers to the physical components of the computer which can be felt and seen. Software refers to the programs that allow the system to operate and perform different functions.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Explain the difference between Hardware and Software?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is difference between software characteristics and hardware characteristics?

there are several difference between computer hardware and software .fundamental difference between hardware(keyboard,printer) is a physical device and software is instructions that given to the computer(window 2000,microsoft office )etc


Explain the link between hardware and application software?

DBMS


What is the difference between hardware and soft ware?

The difference between hardware and software is that hardware is something physical. It is something you can touch. For example, a CD and its CD-ROM drive is hardware, but the music that is recorded on it is the software.


What is the difference between a hardware pipeline and software pipeline?

hgfhfhfhfghfghfgh


What is the difference between hardware and software?

Software is the code that a computer runs - you can not touch software, it is abstract. Hardware is what runs computer code - the physical stuff you can touch.


What is the difference between Android phones and windows phones?

Cost of software for hardware


Is motherboard hardware?

The difference between software and hardware is that hardware is a physical object. Software is digital data stored on a physical [hardware] storage device. A motherboard is a circuit board, a physical object, and therefore hardware.


What is the difference between software and hardware interrupt?

The difference is that a hardware interrupt is a signal relayed to a system's CPU directly because of some piece of hardware, such as a keyboard or mouse. A software interrupt is a signal sent to indicate that something within a piece of software requires attention.


What is the difference between ece and computer science engineering?

Computer Science = software ECE = hardware + software + telecommunication


What is the difference between soft and hardware?

Hardware is the physical device that you can touch. Software is the collection of instructions and codes and cannot be touched.


What is difference between switch and key?

One is a hardware device and the other is a software implementation.


What is the main difference between micro controller and fpga?

micro controller is software and fpga is hardware