代写代考 COMP30023: Computer Systems

School of Computing and Information Systems

COMP30023: Computer Systems

Copyright By PowCoder代写 加微信 powcoder

Tutorial Week 2

Operating systems and Process management

1. What are the two main functions of an operating system?

2. What resources does an operating system manage?

3. What is the difference between kernel and user mode? Explain how having
two distinct modes aids in designing an operating system.

4. What is a purpose of a system call in an operating system?

5. To a programmer, a system call looks like any other call to a library proce-
dure. Is it important that a programmer knows which library procedures
result in system calls? Under what circumstances and why?

Continued on the next page

Weekly tutorial participation activity

To obtain a weekly tutorial mark (1% of your overall mark for the subject,
totalling to 10% over the semester), please answer the following questions in
Canvas Quiz (called Week 2 Tutorial Activity). You can have multiple
attempts but need to submit the quiz by 11:59 pm AEDT on the day of
your tutorial. Only answering all questions correctly will give you the week’s

During the tutorial, your tutor will provide you with the access code that will
unlock the quiz for the corresponding week. The access code is valid only for
students in this tutorial. Week 2 is an exception since the timetables are still
being fixed. As a result, we expect you to attend your tutorial class as otherwise
the access code you obtain in another tutorial will not work for you.

If you have a valid reason for not being able to attend your tutorial, please fill
in the form accessible via Canvas by Friday 8pm AEDT of the corresponding
week. You will be given an access code during the next business day after Friday.
The code will not be provided otherwise, hence, please do not email the subject
coordinator or other staff members including your tutor asking for the code. We
will monitor such requests and may limit the number of times an access code is
given to the same student throughout the semester to encourage participation
and attendance of the tutorials.

1. Responsibilities of an operating system do not include the following tasks
(more than one correct answer is possible):

(a) Compile a C program

(b) Manage memory among processes

(c) Allocate CPU to programs

(d) Execute CPU instructions

(e) Schedule execution of a C program

2. Which of these statements are true?

(a) A system call allows a process to access privileged CPU instructions

(b) A system call is used to switch between user and kernel mode

(c) A system call is required to open a file

(d) All CPU instructions can be executed in a user mode and subset of
them only in kernel mode

3. Android is an operating system. (True/False)

4. It is possible to have more processors than processes. (True/False)

程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com