100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
COP 4600 Midterm Review Questions And 100% Correct Answers $12.99   Add to cart

Exam (elaborations)

COP 4600 Midterm Review Questions And 100% Correct Answers

 6 views  0 purchase
  • Course
  • COP 4600
  • Institution
  • COP 4600

COP 4600 Midterm Review Questions And 100% Correct Answers...

Preview 2 out of 8  pages

  • November 18, 2024
  • 8
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • COP 4600
  • COP 4600
avatar-seller
Easton
COP 4600 Midterm Review Questions And 100%
Correct Answers


______ is a part of a process that has ______ - ANSWER Thread;

Its own execution history( can't have without a stack)

Program Counter

Stack



Every process has ______ threads and every thread ____ - ANSWER one or more threads;

belongs to exactly one process



Elements that are unique to a process but not a thread - ANSWER text(instructions)

data (constants/statics)

heap( dynamic allocations)



SC reason for using many threads instead of processes - ANSWER Save overhead and
sharing might be easier



**Threading: Classical Model; Describe Uniprogrammed, Multiprocess Model and
Threaded Model - ANSWER Uni: One process at a time - wait for process to finish;



Multiprocess: Switch between processes.



Threaded switch between threads within process. (this reduces context switch times)



Why use threads - ANSWER - split complicated jobs into simpler ones

, -increase productivity



compared to new processes, threads have - ANSWER -less memory overhead(sharing of
segments)

-sharing of information-through shared data

-less overhead in creating,

destroying time - allocation copying

-reduce context switching time - to another thread in the same process only



what is in a thread? (give Process Specific versus Thread Specific Components) -
ANSWER Specific to A Thread:

Program Counter

Registers

Stack

State



Particular to A Process:

Address Space

Global Variables

Open file

Child processes

Pending alarms

signals and handlers

CPU accounting



Describe the key differences between kernel and user space threads - ANSWER User
threads:

-User Library

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller Easton. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $12.99. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

62890 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$12.99
  • (0)
  Add to cart