100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Operating Systems -) (Solved Questions 100% VERIFIED QUESTIONS AND ANSWERS) $9.58   Add to cart

Exam (elaborations)

Operating Systems -) (Solved Questions 100% VERIFIED QUESTIONS AND ANSWERS)

 0 view  0 purchase
  • Course
  • Institution

What three components is a computer made of ? >>> I/O, CPU, Memory Where do programs become processes ? >>> Main Memory What loads the operating system ? >>> A boot program What controls the input and output ? >>> Device controllers connected to a buss...

[Show more]

Preview 2 out of 14  pages

  • October 6, 2023
  • 14
  • 2023/2024
  • Exam (elaborations)
  • Questions & answers
avatar-seller
Operating Systems -Questions

What three components is a computer made of ? >>> I/O, CPU, Memory

Where do programs become processes ? >>> Main Memory

What loads the operating system ? >>> A boot program

What controls the input and output ? >>> Device controllers connected to a buss

What is the main purpose of dual mode operation ? >>> We don't want processes to be able to access
hardware or mess with other processes.

What are two main modes of operation ? >>> Kernel and User Mode

Who is allowed to use kernel mode ? >>> the OS

All modern operating systems worth talking about* are? >>> Interrupt drive, multitasking operating
systems

Should you allow programs to control when to use kernel mode or only allow the OS to do it? >>> Only
allow the OS to do it!

What are you allowed to do in user mode? (basic answer) >>> Add subtract, compare, go to ...Basically
assembly stuff

What are you allowed to do in kernel mode? >>> mess with hardware or other memory. It can tell you
what memory does and doesn't belong to you. Only the OS can use this

Operating system on behalf of user programs must do the kernel mode stuff. How does this happen?
>>> Interrupts! (Properly, these are really traps), OS receives the interrupt, services it, and returns
control to the process.

When does a program become a process? >>> When it is loaded into memory and started!

Who loads Programs into memory in order to turn them into processes? >>> The OS

What are the 6 main functionalists of the Operating System? >>> • Load programs into memory to turn
them into processes

• Create, delete, suspend and resume processes

• Schedule processes and threads to CPUs

• Assign resources to processes

, • Provide synchronization between processes

• Provide communication between processes

What is the largest storage device the CPU can directly address? >>> Main memory

In order for programs to run what part of memory must they be located in? >>> Main memory

What are the 4 main functionality an OS must perform with respect to memory? >>> • Keep track of
what memory is being used, and by which

processes

• Decide what to move into and out of memory

• Allocate and de-allocate memory as necessary

• Make sure processes don't "color outside the lines" of

their memory (more on this later)

What is a file? >>> It is a name, sequential array of bytes

Almost all data on disks are... ? >>> files

What are the 4 main functionality of an OS with respect to files? >>> • Creating, writing, reading and
deleting files

• Creating, writing, reading and deleting directories to organize files

• Providing functions for processes to work with files

• Mapping files onto disks (really, partitions, but we'll call them disks for now)

What are the 4 main functionalities of an OS with respect to disks? >>> What are the 4 main
functionalities of an OS with respect to disks?

What are the 4 main functionalities of an OS with respect to disks? >>> Input, Output and Everything
Else: Almost all other devices (everything else) in a modern operating system are viewed in one of two
ways. 1. A memory space, 2. As a file

Almost all other devices in a modern operating system are viewed in one of two ways... ? >>> A
memory space or a file

Almost all other devices in a modern operating system are viewed in one of two ways. 1. A memory
space, 2. As a file. What is the biggest exception to this? >>> Network Interfaces are the biggest
exception

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 johnlynn297. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

77764 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
$9.58
  • (0)
  Add to cart