Candidos Apocalypse

Submitted by: Submitted by

Views: 296

Words: 587

Pages: 3

Category: Literature

Date Submitted: 08/25/2013 06:06 AM

Report This Essay

Operating System

Operating System

Operating System

Operating System

Rodwin Fuentes

Assignment in Operating System

Rodwin Fuentes

Assignment in Operating System

Chapter 2: Operating System Structures

2.1 What is the purpose of system calls?

System calls communicate between the user mode or user-level processes and the kernel mode or operating system. The user can’t instruct an OS what to do, but it can use system call for an OS to consider the request.

2.2 What are the five major activities of an operating system in regard to process management?

a. Able to create and delete process in both user and system processes

b. Able to suspend and resume in both user and system processes

c. Process synchronization

d. Process communication

e. Deadlock handling

2.3 What are the three major activities of an operating system in regard to memory management?

a. it should which part or how big is the process being used and who uses it

b. it should know what process should come next if there is space available

c. it should allocate all the files

2.4 What are the three major activities of an operating system in regard to secondary-storage management?

a. File Allocation System

b. Free-Space Management

c. Disk scheduling

2.5 What is the purpose of the command interpreter? Why is it usually separate from the kernel?

Because command interpreter is subject for change or user inputs, it reads a line of code from the user and converts it to system calls for an OS to read. Kernel is free set program used by an OS, also like firmware.

2.6 What system calls have to be executed by a command interpreter or shell

in order to start a new process?

Windows: CreateProcess()

Unix: fork()

Chapter 2: Operating System Structures

2.7 What is the purpose of system programs?

System programs are collection of system calls; it is group of commonly used codes by the user or programmer. You don’t have to write all the code repeatedly it...