Search Header Logo

System Calls and OS Concepts Quiz

Authored by R Gracia

English

University

Used 1+ times

System Calls and OS Concepts Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

28 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A user-mode application requests file access using a system call. What is the first action taken by the OS in response?

Switches to kernel mode

Loads file metadata

Displays an error code

Launches the disk scheduler

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why are system calls necessary for resource access in a multi-user OS?

To speed up I/O access

To prevent GUI interruptions

To maintain security and access control

To bypass context switching

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Linux, a call to fork() results in two processes. How do the parent and child differ immediately after the system call?

Different memory and PID

Same memory and PID

Parent has no access to child data

Child runs in kernel mode

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of a system call for process control?

read()

exec()

mkdir()

open()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A developer uses wait() after fork(). What happens if the wait() call is removed?

Child terminates properly

Parent never terminates

Zombie process is created

Kernel crashes

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why are system calls abstracted behind APIs like the C standard library?

To increase syscall latency

To simplify portability and code maintenance

To directly map user memory

To allow bypass of kernel mode

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best explains why system calls cannot be executed in user mode?

They require low memory access

They must interact with I/O directly

They require elevated privileges and hardware access

They are written in machine language only

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?