![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 25.03.2020 05:39 dontcare7045
Consider an operating system that have three process states, READY, BLOCKED, and RUN- NING. The READY state means that the process is waiting to be assigned to a processor. The RUUNING state means that instructions of the process are being executed on the CPU. The BLOCKED state means that the process is waiting for an I/O completion event. Answer the following questions:
(a) Draw a process state transition diagram.
(b) Explain what may cause a process to enter each state, and when a scheduling decision must be made to switch to a different process.
(c) Explain the concept of context switch and the source of context switch cost.
(d) Can the operating system support preemptive scheduling?
2. Let us consider the following C program running in a POSIX system. int main() { fork() fork) fork() return 0;
(a) How processes will be created?
(b) Justify your answer.
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 10:00
What did i do wrong with this const discord = require('discord.js'); var bot = new discord.client(); const token = 'ntm3mjcxmtu1mjg3ote2ntq2.dyogew.dpfiwfpuifzuzvifop-csuxasnm' const prefix = "! " bot.registry.registergroup('simple', 'simple'); bot.registry.registerdefaults(); bot.registry. + '/commands'); bot.on('message', message => { if(message.content == 'hi! ') { message.channel.send ('@everyone sup, how is @everyone day going'); } if(message.content == 'h3lp') { message.channel.send ('dose not have any commands yet'); } bot.on('ready', function() { console.log("ready") }); bot.login(token);
Answers: 1
![question](/tpl/images/cats/informatica.png)
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 25.06.2019 08:00
Ais the hardware where the data is actually stored.
Answers: 1
You know the right answer?
Consider an operating system that have three process states, READY, BLOCKED, and RUN- NING. The READ...
Questions
![question](/tpl/images/cats/biologiya.png)
Biology, 20.09.2020 05:01
![question](/tpl/images/cats/mat.png)
Mathematics, 20.09.2020 05:01
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 20.09.2020 05:01
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/User.png)
![question](/tpl/images/cats/istoriya.png)
History, 20.09.2020 05:01
![question](/tpl/images/cats/istoriya.png)
History, 20.09.2020 05:01
![question](/tpl/images/cats/mat.png)
Mathematics, 20.09.2020 05:01
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 20.09.2020 05:01
![question](/tpl/images/cats/mat.png)
Mathematics, 20.09.2020 05:01
![question](/tpl/images/cats/mat.png)
Mathematics, 20.09.2020 05:01
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 20.09.2020 05:01