Question

An OS is intimately tied to what ? Describe what it is tied to and the...

  1. An OS is intimately tied to what ? Describe what it is tied to and the components.

  1. What is a process
    1. what does it contain
    2. what are its various states
    3. what is contained in a PCB.
    4. Describe what happens when a process is created
  2. What is a thread.
    1. What are multi threaded processes ?
    2. What are the benefits of threads. Describe them in detail.
  3. Describe the items shared by all threads in a process. What are the items which are private to each thread.
  4. On all current computers, at least part of the interrupt handlers are written in assembly language. Why?
0 0
Add a comment Improve this question Transcribed image text
Answer #1

1. An operating system is tied to hardware and software. Hardware application deals with the I/O, memory, etc whereas the application program deals with the user end applications.

2. A process is defined as a program which is in execution state. The code written by the end-user converted to binary and when its run in the CPU is called a process.
a. The process has a similar structure as that of memory. It contains a text section for the activity of Program Counter, stack section for the local variable, data section for global variable and heap for dynamic memory.
b. The various states are:
i. New: The Newly created process will have this state.
ii. Ready: When the process is ready for execution. to be picked by the CPU comes in the ready state.
iii. Run: The process that comes from ready to run, which are currently running.
iv. Wait: When the process waits for I/O.
v. Terminate: When the process is executed completely.
vi. Suspended Ready: When the ready queue becomes full, some processes are in waiting.
vii. Suspended block: This occurs when the wait queue becomes full.
c. The process control block contains information related to every process. It includes their priority, their quantum, etc.
d. When a process is created, it is in the new state. It comes to the ready state where it will be picked by the CPU and will execute.

3. A thread is defined as a unit of execution within a single program. The threads present in a process share the memory and resources and can perform concurrently.
a. Multithreaded processes are those processes in which there is more than one thread who are performing concurrently at the same time to execute various tasks
b.
i. With the help of a thread, there is the proper utilization of resources.
ii. Thread minimize the context switching and hence, less time and less effort.
iii. Concurrency is ensured in the process.
4. Threads share the code segment, data segment, and heap segment but not the stack segment.
5. They are written in assembly language because it is easier to write procedures on the basis of different interrupts in assembly language. The higher speed is provided by these functions and assembly language can directly operate on physical CPU.

Friend, this was a really nice question to answer, If you find my answer helpful, please like it. Thanks.

Add a comment
Know the answer?
Add Answer to:
An OS is intimately tied to what ? Describe what it is tied to and the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 5. What is a three-tiered client-server architecture? (5marks) 6. In Table 1 below, describe the characteristics...

    5. What is a three-tiered client-server architecture? (5marks) 6. In Table 1 below, describe the characteristics of the following multi-threaded server models. (6 marks) Table 1: Multi-threaded Server Models Characteristic Threads Single-threaded processes Finite-state machine

  • Explain what enterprise resource planning (ERP) systems. Outline several of their key characteristics. Describe in reasonable...

    Explain what enterprise resource planning (ERP) systems. Outline several of their key characteristics. Describe in reasonable detail how a company leverages an ERP system and how its operations are improved after installing an ERP system like SAP. Explain how a supply chain management system helps an organization make its operations more efficient What is Upstream and Downstream management of the supply chain? Explain the concept of “Supply Network”, its benefits, and how technology made this concept available Explain the difference...

  • C Programming - Please Help us! Implementing Load Balancing, the 3 Base Code files are at the bot...

    C Programming - Please Help us! Implementing Load Balancing, the 3 Base Code files are at the bottom: Implementing Load Balancing Summary: In this homework, you will be implementing the main muti-threaded logic for doing batch based server load balancing using mutexes Background In this assignment you will write a batch-based load balancer. Consider a server which handles data proces- sing based on user requests. In general, a server has only a fixed set of hardware resources that it can...

  • 1.what is the fundamental of knowledge management cycle or process? 2. what is knowledge cycle? 3....

    1.what is the fundamental of knowledge management cycle or process? 2. what is knowledge cycle? 3. what is intellectual capital and three dimension of intellectual capital? 4. what is human capital? discusion with example 5. what is knowledge sharing and organization learning? 6. what is organization culture? 7. cultural impact of knowledge sharing? 8. what is data mining? 9. what is knowledge discover? UNIVERSAL Chapter 1 Knowledge Management Overview UBSS SCHOOL SYDNEY Introduction to Knowledge Management (KM) In a knowledge...

  • . Required Question: 1. Should Matt try to suggest a better method for reducing purchasing costs?...

    . Required Question: 1. Should Matt try to suggest a better method for reducing purchasing costs? (200 words) 3. How can Matt find out more information about the suppliers in a short period of time? (200 words) 3. what are his internal or external resources that he should consider? Custom Equipment It was July 2, and Mat Roberts had just been given his robots/weldguns, affiliate-produced parts/fabricated com- first assignment, te Wire Management Program" ponents, and steel/other metals. Matt was hired...

  • Hi there! I need to compare two essay into 1 essay, and make it interesting and...

    Hi there! I need to compare two essay into 1 essay, and make it interesting and choose couple topics which im going to talk about in my essay FIRST ESSAY “Teaching New Worlds/New Words” bell hooks Like desire, language disrupts, refuses to be contained within boundaries. It speaks itself against our will, in words and thoughts that intrude, even violate the most private spaces of mind and body. It was in my first year of college that I read Adrienne...

  • How can we assess whether a project is a success or a failure? This case presents...

    How can we assess whether a project is a success or a failure? This case presents two phases of a large business transformation project involving the implementation of an ERP system with the aim of creating an integrated company. The case illustrates some of the challenges associated with integration. It also presents the obstacles facing companies that undertake projects involving large information technology projects. Bombardier and Its Environment Joseph-Armand Bombardier was 15 years old when he built his first snowmobile...

  • Discussion questions 1. What is the link between internal marketing and service quality in the ai...

    Discussion questions 1. What is the link between internal marketing and service quality in the airline industry? 2. What internal marketing programmes could British Airways put into place to avoid further internal unrest? What potential is there to extend auch programmes to external partners? 3. What challenges may BA face in implementing an internal marketing programme to deliver value to its customers? (1981)ǐn the context ofbank marketing ths theme has bon pururd by other, nashri oriented towards the identification of...

  • And there was a buy-sell arrangement which laid out the conditions under which either shareholder could...

    And there was a buy-sell arrangement which laid out the conditions under which either shareholder could buy out the other. Paul knew that this offer would strengthen his financial picture…but did he really want a partner?It was going to be a long night. read the case study above and answer this question what would you do if you were Paul with regards to financing, and why? ntroductloh Paul McTaggart sat at his desk. Behind him, the computer screen flickered with...

  • What an Executive Summary Is An executive summary is a specific type of document that does...

    What an Executive Summary Is An executive summary is a specific type of document that does two things: it summarizes a research article, and it offers recommendations as to how information from the article can be used. Some long reports can contain an executive summary section, as indicated in the Pearson handbook. Write a 2 pahe Executive Summary In business contexts, an executive summary is always written for a specific purpose: to explain the information in the article to a...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT