Real Time Operating System. The first step of any boot process is applying power to the machine. When the user turns a computer on, a series of events begins that ends when the operating system gets control from the boot process and the user is free to work. Skip to content. Search for:. For that matter, the entire program is a set of instructions that are written to alter the state of hardware. Hardware : The Monitor, Printer, Hard Drive, RAM, Graphic Card and all the other physical components which are connected to the computer or which can be physically touched is the computer hardware.
Without hardware, software has no idea where to work on. Hence hardware and software run hand in hand for implementing whatever the user wants. There are a lot many differences between the hardware and software. Including the nature, functionality and the ability to be changed again and again the software and hardware differ from each other in numerous ways.
But ultimately they are useless in the absence of the other. Once you perform programming, using some high-level programming language eg. C, C etc the entire set of code you write is converted into 1s and 0s. When you push the button, you are actually sending a 5 volt signal to the power supply unit.
This 5 volts of power never actually switches off even when you think your computer is off. You need this 5 volts for when you push the button to turn the computer on - at which point another 5 volts is sent in to the power supply unit to tell it to switch back on. So in actual fact, your physical button press is converted into an electronic signal in order for the power supply to do something.
When you think of things in these terms you suddenly realise that the computer doesn't need to turn its electronic signal into a physical button-push to turn off the power - that's something they've added to benefit humans i. So all the software needs to do is instruct an electronic signal, which triggers the power supply to enter 5 volt standby mode.
I had the same question taunting my brain since when I chose to become a Software Engineer. As life moved on and my wish came true, I started working on different computer technologies and domains and I started answering for my own questions. Firstly, I would define the Software as the set of automated instructions to the hardware. The working of any modern computers could be said as the instruction chain reactions of the hardware.
You know what happens now. Here, Hardware: Wires, bulb and the Holder. Charge: Battery power. Result: Light glows up. Actually, your plain text of codes does not make the computer shutdown directly. It calls a procedure of the underlying operating system. This will then make the computer shut down. How the little 1's and 0's interact with the circuits of your hardware is quite a complex subject which you could read at least one book about to completely understand it The control board is used to control the device through electric signals.
Click here to know more on how-firmwares-communicate-to-the-electronic-devices-to-perform-its-operations? I have pondered the same question for quiet sometime now and come to realize that there are in fact a connection from software fantasy world to hardware real world. Think of something as simple as circuits and switches, then think of something more abstract like an adder or ALU. Over time abstraction built on itself and gets complex in the next rom.
Then comes the microcode, Opcodes, machine language then finally assembly and C. From that point think of currents and motors. This code is given to the compiler and it then converts it into assembly code. Then, it's converted to binary, ie; 0's and 1's which represents digital voltages which are then fed into transistors in the hardware. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams?
Collectives on Stack Overflow. Learn more. Ask Question. Asked 11 years, 7 months ago. Active 1 year ago. Viewed k times. To make my point clear: When we kick a ball,there is physical contact between the ball and our leg,for the ball to move. AbyJames AbyJames 1 1 gold badge 7 7 silver badges 3 3 bronze badges.
As Pavel mentioned, consider all matter is comprised of mostly empty space! Don't believe them -- it's all based on smoke. I've gone through all the answers and non of them is good enough. How exactly does the OS create a 5Volt charge for example?
That's the question. I think we all know it is 1s and 0s and circuits and electricity. This is quite interesting question, even scrolled down all answers I still can not find a satisfied answer. Most of answers focus on how computer works, but the question is how the simple code which is not in physical world such as MOV AX, 0x01 actually touch the CPU physically so ti can send some signals electrons to memory to change memory status of specific address.
Basically question is: how non-physical world code touches physical world electrons? Show 3 more comments. Active Oldest Votes. Alan Alan This has got to be the best answer I've ever read on SO. Thanks for taking the time — CWD Subs.
0コメント