Download Answers

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Library (computing) wikipedia , lookup

Security-focused operating system wikipedia , lookup

Distributed operating system wikipedia , lookup

Burroughs MCP wikipedia , lookup

Unix time wikipedia , lookup

Plan 9 from Bell Labs wikipedia , lookup

Berkeley Software Distribution wikipedia , lookup

Spring (operating system) wikipedia , lookup

Unix wikipedia , lookup

DNIX wikipedia , lookup

Process management (computing) wikipedia , lookup

Thread (computing) wikipedia , lookup

Unix security wikipedia , lookup

Transcript
UNI CS 3430
Operating Systems
Suggested Exercises 1
________________________________________________________________________
Note: At this point, these exercises do not have to be turned in. The point of the
exercises is to help you reflect on and better understand the course material.
1. Who are the two main programmers that wrote UNIX, and what were their roles?
Dennis Ritchie – primary inventor of the C language, co-inventor of UNIX
Ken Thompson – Inventor of UNIX, contributed to C language. (Also inventor of B
language)
2. What is POSIX?
Portable Operating System Interface for Computing Environments
Same system call interface standardized among UNIX-like operating systems
3. Find a creative/funny analogy to distinguish between a process and a program.
Program: a recipe
Process: everything needed to cook (e.g., kitchen)
Two chefs can cook the same recipe in different kitchens
One complex recipe can involve several chefs
4. Give an example where a uniprogramming environment is appropriate.
Runs one process at a time
Appropriate for embedded systems (like remote control) or other simple systems.
Process can have multiple threads (e.g. One thread per remote control button)
5. What is the difference between multithreading and running multiple singlethreaded processes?
Multithreading - A process with three threads sharing a single address space.
Threads may corrupt one another.
Multiple single-threaded processes is multiprogramming