Tags: Critical Thinking Competency ExamShould Smoking Be Banned Completely Ielts EssayEssay On Water Is Essential For LifeWoothemes Vs ThesisEssay Writer'S Block HelpHow To Write An Essay About My School
Knowing how operating systems work is a fundamental and critical to anyone who is a serious software developer. I want to use this post to share my takeaways from the course, that is the 10 critical operating system concepts that you need to learn if you want to get good at developing software.
The Kernel maintains context information for the process as a whole and for individuals threads within the process.
Scheduling by the Kernel is done on a thread basis.
A PCB keeps all the information needed to keep track of a process as listed below: A thread is a flow of execution through the process code, with its own program counter that keeps track of which instruction to execute next, system registers which hold its current working variables, and a stack which contains the execution history.
A thread shares with its peer threads few information like code segment, data segment and open files.
In general, a process can have one of the following five states at a time: A Process Control Block is a data structure maintained by the Operating System for every process.
The PCB is identified by an integer process ID (PID).
To put it in simple terms, we write our computer programs in a text file and when we execute this program, it becomes a process which performs all the tasks mentioned in the program.
When a program is loaded into the memory and it becomes a process, it can be divided into four sections ─ stack, heap, text and data.
If you were to go to a country you’ve never been to that speaks a language you’ve never heard, or maybe your heard of it but don’t actually speak it, what would you need while there to help you communicate with the locals? Your operating system functions as that translator in your PC. Why do some programmers prefer one OS over another?
If I gave you a sheet full of 1s and 0s could you tell me what it means/does?