Chapter 6 - OS

studied byStudied by 1075 people
4.6(34)
get a hint
hint

operating system (OS)

1 / 21

Tags and Description

22 Terms

1

operating system (OS)

System software that provides an INTERFACE between the user or application program AND the computer hardware.

4 MAIN TASKS: 1) Provide user Interface. 2) Offer System Security and Protection. 3) Manage Resources Efficiently. 4) Use Resources Safely

AKA The most important software on a computer!

OS manages:

  1. the hardware

  2. the software resources (user wants resources, the OS delivers)

  3. the services computer programs want

Found in lecture Chapter 6 Part 1 - Operating Systems

New cards
2

4 main tasks of OS

  1. Provide User Interface

  2. Offer System Security and Protection (OS acts like a security guard)

  3. Manage Resources Efficiently

  4. Use Resources Safely

Found in lecture Chapter 6 Part 1 - Operating Systems

New cards
3

Why do we want an interface between the user and the hardware?

-to hide hardware details -to create a user-friendly environment -to prevent damage to system (hardware and data)

Found in lecture Chapter 6 Part 1 - Operating Systems

New cards
4

What are some well-know operating systems?

Desktops/Laptops: Linux, MacOS, Windows

Mobile: Apple iOS, Google Android

Found in lecture Chapter 6 Part 1 - Operating Systems

New cards
5

GUI

Graphical User Interface

User interfaces today are graphical (as users found text interface "cumbersome"). However, text based interface can be very efficient.

Found in lecture Chapter 6 Part 1 - Operating Systems

New cards
6

superusers

user(s) who have more privileges (admin) than others

privileged users, usually computer center employees, with the ability to access and maintain password files

Found in lecture Chapter 6 Part 2 - Operating Systems

New cards
7

process

a program in execution

Found in lecture Chapter 6 Part 2 - Operating Systems

New cards
8

fundamental OS task

process management

Found in lecture Chapter 6 Part 2 - Operating Systems

New cards
9

running state

the process is executing instructions

Found in lecture Chapter 6 Part 2 - Operating Systems

New cards
10

ready state

the process is runnable (ready to run), but not running process is waiting in ready queue

Found in lecture Chapter 6 Part 2 - Operating Systems

New cards
11

blocked/waiting state

the process is waiting for some event to occur

Found in lecture Chapter 6 Part 2 - Operating Systems

New cards
12

new state

the process is being created by the OS

Found in lecture Chapter 6 Part 2 - Operating Systems

New cards
13

exit state

the OS is cleaning up a terminating process

Found in lecture Chapter 6 Part 2 - Operating Systems

New cards
14

time slice

process moves from RUNNING to READY occurs when process has run for a MAX length of time

exists for processes "hogging" the CPU process kicked off processor (process goes from RUNNING back to READY)

if SMALL time slice -> HUGE overhead costs (to move process from ready to running back to ready; think of OS tables that need to be updated / registers that get changed)

if LARGE time slice -> system response time is SLOW (turn around time for response gets too slow; users need to wait longer to get processor time)

Found in lecture Chapter 6 Parts 2 and 3 - Operating Systems

New cards
15

ready queue

line of processes ready to run

Found in lecture Chapter 6 Part 2 - Operating Systems

New cards
16

virtual memory

"virtualizes" memory/RAM locations (abstraction)

think of VM as "simulated physical memory (RAM)"

Found in lecture Chapter 6 Part 3 - Operating Systems

New cards
17

I/O intensive process

process is often BLOCKED

Found in lecture Chapter 6 Part 3 - Operating Systems

New cards
18

compute intensive process

process is mainly RUNNING or READY

Found in lecture Chapter 6 Part 3 - Operating Systems

New cards
19

deadlock

when two or more processes are permanently blocked on each other

one way to resolve = Deadlock Prevention if process can't get everything it needs, it gets nothing

other types of deadlocks (and solutions) exist

Found in lecture Chapter 6 Part 3 - Operating Systems

New cards
20

processor utilization

percentage of time that the processor is busy

Found in lecture Chapter 6 Part 3 - Operating Systems

New cards
21

What does the OS provide?

  • Scheduler

  • Memory Managers (Loaders, Garbage collectors, Linkers)

  • Information Managers (File systems, Database systems)

  • Language Support (Interpreters, Compilers, Assemblers)

  • I/O manager (Keyboard, printer, network connection)

  • Utilities (Text editors, graphics routines).

Found in lecture Chapter 6 Part 1 - Operating Systems

New cards
22

example OS commands

-Load Program -Run Program -Save info to file/directory -Retrieve previously stored file -List all files for user -Delete file -Rename file -Copy files from one I/O device to another -Print file on specified I/O device -Establish network connection -Let user set password -Let user change password -Relay memory usage -Relay data storage usage

New cards

Explore top notes

note Note
studied byStudied by 5 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 10 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 8 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 5 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 12 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 5 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 14 people
Updated ... ago
5.0 Stars(1)
note Note
studied byStudied by 26493 people
Updated ... ago
4.8 Stars(224)

Explore top flashcards

flashcards Flashcard74 terms
studied byStudied by 20 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard24 terms
studied byStudied by 27 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard36 terms
studied byStudied by 17 people
Updated ... ago
5.0 Stars(2)
flashcards Flashcard25 terms
studied byStudied by 3 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard74 terms
studied byStudied by 24 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard38 terms
studied byStudied by 23 people
Updated ... ago
4.3 Stars(3)
flashcards Flashcard84 terms
studied byStudied by 35 people
Updated ... ago
5.0 Stars(1)
flashcards Flashcard68 terms
studied byStudied by 89 people
Updated ... ago
5.0 Stars(3)