wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

OS wk 6 In class exercise

Total questions: 10

Worksheet time: 6mins

Name
Class
Date
1.

What is the purpose of a Command-Line Interface (CLI)?

a)

To interact with the OS using icons and windows 

b)

To type commands directly into the system

c)

To only display error messages 

d)

To automatically run programs without user input 

2.

Which system call is used to open a file in Linux?

a)

read()

b)

open() 

c)

printf() 

d)

fork() 

3.

What does the command ls -a do?

a)

Lists files in long format 

b)

Lists all files, including hidden ones 

c)

Deletes all files 

d)

Shows file permissions

4.

Which OS structure keeps all functions inside the kernel?

a)

Microkernel 

b)

Monolithic 

c)

Hybrid 

d)

Layered 

5.

What is the first program that runs when a computer starts?

a)

Bootloader 

b)

Kernel 

c)

BIOS/UEFI 

d)

init/systemd 

6.

Which command moves a file from one directory to another?

a)

cp 

b)

mv 

c)

rm 

d)

mkdir 

7.

What does GUI stand for?

a)

General User Interface 

b)

Graphical User Interface 

c)

Global Utility Interface 

d)

Guided User Input 

8.

What is the role of a system call in an OS?

a)

To display graphics 

b)

To act as a bridge between apps and the OS kernel 

c)

To delete files permanently 

d)

To manage Wi-Fi connections 

9.

Which command shows the current working directory?

a)

cd 

b)

pwd 

c)

ls 

d)

where 

10.

What is GRUB used for?

a)

File editing 

b)

Choosing which OS to boot 

c)

Managing memory allocation 

d)

Encrypting files