Question

The following diagram shows the parent-child relationships among seven processes.

1 с с с р р р 4 6 3 с с с p р р 7 9 8

Linked lists can be avoided by implementing two additional pointers, younger sibling (ys) and older sibling (os), in each PCB. Use the following format to show the pointers used by each process: parent, first child, younger sibling, older sibling; if a link is not used or not defined use '-'.  

Pointers of process 1 are given as an example: -4--.

1) pointers of process 4 is given by: ____

2) pointers of process 6 is given by: ____

3) pointers of process 3 is given by: ____

4) pointers of process 7 is given by: ____

5) pointers of process 9 is given by: ____

6) pointers of process 8 is given by: ____

0 0
Add a comment Improve this question Transcribed image text
Answer #1

According to the format which is-

Parent, First Child, Younger Sibling, Older Sibling

1. Process 4 : 17-6

This means the process 4 has a parent 1, First Child 7, Younger Sibling isn't present hence '-', Older Sibling is 6. Hence those are the pointers.

The same format is followed for the next questions

2. Process 6 : 1-43

3. Process 3 : 196-

4. Process 7 : 4---

5. Process 9 : 3--8

6. Process 8 : 3-9-

comment for any further doubts!

Add a comment
Know the answer?
Add Answer to:
The following diagram shows the parent-child relationships among seven processes. Linked lists can be avoided by...
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
  • Please answer the following questions 1. What keyword is used to make a child class use...

    Please answer the following questions 1. What keyword is used to make a child class use a parent class? a.) is a b.) extends c.) has a d.) inherits 2. Suppose you have the given code below. Scanner keyboard = new Scanner(System.in); What would be the correct way to scan in an integer value from the keyboard. a.) scan.nextInt() b.) scan.nextDouble() c.) scan.nextLine() d.) keyboard.nextInt() 3. True or False. Arrays use sequential blocks of memory while linked lists do not...

  • QUESTION 1 In a tree, a ____ is a node with successor nodes. root child descendent...

    QUESTION 1 In a tree, a ____ is a node with successor nodes. root child descendent parent sibling QUESTION 2 In a tree, the ____ is a measure of the distance from a node to the root. count degree branch height level QUESTION 3 Which of the following is not a characteristic of a binary search tree? Each node has zero, one, or two successors. The preorder traversal processes the node first, then the left subtree, and then the right...

  • Can you please help with the below? 1)   Which of the following is true about using...

    Can you please help with the below? 1)   Which of the following is true about using a 2-3-4 tree? a.   It is designed to minimize node visits while keeping to an O(log n) search performance b.   It is designed to self-balance as new values are inserted into the tree c.   As soon as a node becomes full, it performs the split routine d.   None of the above 2)   Which of the following is true about a binary search tree? a.  ...

  • This project is meant to give you experience writing linked lists and graphs. As such, you...

    This project is meant to give you experience writing linked lists and graphs. As such, you are not permitted to use arrays or any data structure library. You may, however, make use of code presented in class and posted to Blackboard. Objective Your goal for this project is to take a block of text, analyze it, and produce random sentences in the style of the original text. For example, your program, given Wizard of Oz, might produce: how quite lion...

  • Uncovering social service fraud saves millions, reinforces public trust Los Angeles County uses SAS® to detect...

    Uncovering social service fraud saves millions, reinforces public trust Los Angeles County uses SAS® to detect fraud, resulting in fewer losses, lower investigative costs and greater confidence from citizens In Los Angeles County, the Department of Public Social Services (DPSS) offers a range of programs to alleviate hardship and promote health, personal responsibility and economic independence. Across the county's many communities, DPSS offers temporary financial assistance, employment services, free/low-cost health insurance, food benefits, in-home supportive services for the elderly and...

  • #include<iostream> using namespace std; class TNode { public: int val; TNode(){} TNode(int v){val = v;} TNode...

    #include<iostream> using namespace std; class TNode { public: int val; TNode(){} TNode(int v){val = v;} TNode * left; TNode * right; TNode * parent; }; class BTree { public: //constructors and destructor BTree(); BTree(TNode *r);// initialize BTree with the root r. r is the only node. BTree(const BTree & t); // copy constructor BTree(const int *p, const int n);// similar to the copy constructor, but your input is of the array form. // input is given an array that denotes...

  • 23. What is the total net amount of capital gain reported on Form 1040? OA. $308...

    23. What is the total net amount of capital gain reported on Form 1040? OA. $308 OB. $2,411 C. $2,719 OD. $2,900 Advanced Scenario 7: Mark and Barbara Matthews Directions Using the tax software, complete the tax return, including Form 1040 and all appropri- ate forms, schedules, or worksheets. Answer the questions following the scenario. Note: When entering Social Security numbers (SSNs) or Employer Identification Numbers (EINS), replace the Xs as directed, or with any four digits of your choice....

  • 1. Oral acetaminophen has been ordered for a young child who has a fever. A liquid...

    1. Oral acetaminophen has been ordered for a young child who has a fever. A liquid form has been obtained by the nurse to increase the chance of problem free administration. Prior to administration, the nurse is going through the rights of medication administration. When confirming the right dose, what term is the most appropriate? a. "160 mg" b. "one teaspoon" c. "one third of a tablespoon d. "SmL 2. A pregnant woman asks why she needs to take a...

  • Please help me answer theses practice questions QUESTION 2 Which of the following can a country...

    Please help me answer theses practice questions QUESTION 2 Which of the following can a country implement to protect local industries (e.g. bicycles) according to the video on the deceptive promise of free trade? Border walls local training programs to strengthen local industries protectionist policies such as tarrifs creating a high minimum wage locally governments can't do anything QUESTION 3 Which of the following European countries has a trade surpluse with the US as well as most other European countries...

  • All of the following questions are in relation to the following journal article which is available...

    All of the following questions are in relation to the following journal article which is available on Moodle: Parr CL, Magnus MC, Karlstad O, Holvik K, Lund-Blix NA, Jaugen M, et al. Vitamin A and D intake in pregnancy, infant supplementation and asthma development: the Norwegian Mother and Child Cohort. Am J Clin Nutr 2018:107:789-798 QUESTIONS: 1. State one hypothesis the author's proposed in the manuscript. 2. There is previous research that shows that adequate Vitamin A intake is required...

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
ADVERTISEMENT