Operating Systems Questions
1. What is the difference between a blocked state and a deadlock state?
2. How do you define the state of the operating system?
3. Differentiate between daemons and zombies.
4. What is the maximum number of process in a standard Linux installation? Why is the number of processes limited to this number? Can it be changed?
`Hey,
Note: If you have any queries related the answer please do comment. I would be very happy to resolve all your queries.
1)
Deadlock occurs when one process is blocked and waiting for a second process to complete its work and release locks, while the second process at the same time is blocked and waiting for the first process to release the lock.
Block (or blocking lock) occurs when two processes need access to same piece of data concurrently so one process locks the data and the other one needs to wait for the other one to complete and release the lock. As soon as the first process is complete, the blocked process resumes operation. The blocking chain is like a queue: once the blocking process is complete, the next processes can continue. In a normal server environment, infrequent blocking locks are acceptable. But if blocking locks are common (rather than infrequent), there is probably some kind of design or query implementation problem and the blocking may simply be causing performance issues.In a deadlock situation, the processes are already blocking each other so there needs to be an external intervention to resolve the deadlock. For that reason, SQL Server has a deadlock detection and resolution mechanism where one process needs to be chosen as the “deadlock victim” and killed so that the other process can continue working. The victim process receives a very specific error message indicating that it was chosen as a deadlock victim and therefore the process can be restarted via code based on that error message.
2)
States of a process are as following:
Note: Brother According to Chegg's policy we are only allowed to answer first 2 part if there are many. So, I request you to post other part as separate posts
Kindly revert for any queries
Thanks.
Operating Systems Questions 1. What is the difference between a blocked state and a deadlock state?...
Define deadlock. What is the difference between a deadlocked state and an unsafe state
Answer the following questions: a) What is the relationship between operating systems and computer hardware? b) What are the four basic function modules of an operating system? c) Differentiate between an abstract resource and a physical resource. Give two examples of each. d) Briefly describe the differences between an interrupt and a trap.
operating systems 5) Why is a mode switch between threads cheaper than a mode switch between processes? (0.5 points) 6) List 2 advantages and 2 disadvantages of ULT's vs KLTS. (0.5 points) 7) List 4 thread operations associated with a change is thread state (0.5 points) 8) List 3 categories of Process Control Block Elements (0.5 points) 9) What is the difference between traditional and modern UNIX thread support? (0.5 points)
2. Consider an operating system that has the fllowing process states, new, ready, waiting (or blocking), running, and terminated. Answer the following questions (a) Draw a process state transition diagram (b) Explain what may cause a process to enter the waiting state from the running state. (c) Do we need a queue for the processes in the running state? Justify your answer (d) Describe the actions taken by a kernel to context-switch between processes 2. Consider an operating system that...
1. How do you measure capacity? 2. Understand the difference between Push and Pull Systems and how they relate to MRP and JIT systems. 3. Know advantages and disadvantages of MRP and JIT systems 4. What is Kendall notation and how is it used to represent queueing systems? 5. Explain uncertainty. What are different types of uncertainty? 6. What is queuing theory and why is it important? 7. Define the performance measures of a queuing system. 8. What is Little's...
Question 1: What, in a biological sense, is aging? (9 points total) A) In 1-3 sentences, define aging in humans. (1 point) B) List 4 organ systems or biological processes in the human body that change with age, and briefly describe the underlying biological causes of those changes. (4 points: maximum suggested length = 300 words ) C) Is there a difference between the process of aging and diseases that occur more often in old age? Briefly state why you...
A. Answer four questions: 1. What is the difference between microeconomics and macroeconomics? What are the three focus of microeconomics and why? 2. What does a production possibilities frontier (Curve) illustrate? Discuss and show graphically. 3. The market system and command system differ in two important ways. Compare and contrast all economic systems with examples. 4. Explain Circular flow diagram in an open economy. Show graphically.
1. What is the difference between an interpreter and a compiler? 2 To a compiler or interpreter, any logic is legitimate, even if it results in a bad program. Why can’t compilers and interpreters detect logic errors in a program? 3. What are the main elements to consider when purchasing ready-made software for an organization? 4 What is open-source software? To what does the word “source” refer? 5 Give three reasons why Linux has become a popular server operating system.
please answer these questions 1. What is the difference between a refrigerator and a heat pump? 2. A heat pump and a refrigerator are operating between the same two thermal reservoirs. Which one has a higher COP? 3. Define the COP of a heat pump. 4. Thermal efficiency of a heat engine is defined to be the ratio of energy output desirable to energy input. Would you think that efficiency is an appropriate definition to be used when a heat...
Chapter 6: 16. What is the difference between a change in strategy and a change in structure? 17. What are the two approaches to managing innovation? 18. Explain the difference between team building and process consultation. 19. State the difference in the use of forcefield analysis and survey feedback. 20. What are competitive and first-mover advantages? 21. How does the systems effect relate to the four types of change? 22. Which stage of the change process is the most difficult...