Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Security-focused operating system wikipedia , lookup
Distributed operating system wikipedia , lookup
Burroughs MCP wikipedia , lookup
Plan 9 from Bell Labs wikipedia , lookup
Berkeley Software Distribution wikipedia , lookup
Spring (operating system) wikipedia , lookup
Process management (computing) wikipedia , lookup
UNI CS 3430 (Spring 2015) Operating Systems Suggested Exercises 1 (Complete by 1/23/2014 in class) ________________________________________________________________________ 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. We will have an in-class discussion on these exercises on 1/23. 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