CSC520-Tutorial answer PDF

Title CSC520-Tutorial answer
Author shfq hkmn
Course Multimedia Systems And Applications
Institution Universiti Teknologi MARA
Pages 3
File Size 71.6 KB
File Type PDF
Total Downloads 753
Total Views 893

Summary

Warning: TT: undefined function: 32CSCPRINCIPLES OF OPERATING SYSTEMSTUTORIAL Interestingly, OS also is doing some kinds of 'accounting', in which it keeps track of which users use how much and what kinds of computer resources. Can you give one (1) example of the accounting done, and why it is impor...


Description

CSC520 PRINCIPLES OF OPERATING SYSTEMS TUTORIAL #2

1. Interestingly, OS also is doing some kinds of 'accounting', in which it keeps track of which users use how much and what kinds of computer resources. Can you give one (1) example of the accounting done, and why it is important. - calculate the memory space program needed for a program to store in storage file. - to manage the resources, so that all the process can execute their task efficiently.

2. What is 'GUI'? -A (GUI) is a type of user interface through which users interact with electronic devices via visual indicator representations.

3. What is 'CLI'? -A command interpreter we also called as shells allows direct command entry. -Primary fetches a command from user and executes it.

4. List all the functions (services) provided by the operating system to the computer users. -User interface -program execution -I/O operation -file system manipulation -communications -error detection -resource allocation -accounting -protection and security

5. What is a system call in OS? -System call is programming interface to the services provided by the OS.

6. List two events or activities where system calls are performed in operating system (OS). -Reading and writing from files demand system calls -If a file system wants to create or delete files, system calls are required.

7. What is an API? In which way it is important in the context of OS? -An (API) is code that allows two software programs to communicate with each other. An API defines the correct way for a developer to request services from an operating system (OS) or other application and expose data within different contexts and across multiple channels. API is important as interface of programming to the services of OS.

8. List six (6) types of system calls in OS. Process Control File Management Device Management Information Maintenance Communications protections

9. State briefly what are the goals for “user” and “system” in Operating System design and implementation? User goals- operating system should be convenient to use, easy to learn, realiable, safe and fast. System goals-operating system should be easy to design implement and maintain as well as flexible,reliable,error-free and efficient.

10. List four (4) ways to structure an Operating System (OS). i. Simple structure ii. Monolithic Approach iii. Layered Approach iv. Microkernels...


Similar Free PDFs