NEW
Font size
WorksheetsOS wk 6 In class exercise
Total questions: 10
Worksheet time: 6mins
What is the purpose of a Command-Line Interface (CLI)?
To interact with the OS using icons and windows
To type commands directly into the system
To only display error messages
To automatically run programs without user input
Which system call is used to open a file in Linux?
read()
open()
printf()
fork()
What does the command ls -a do?
Lists files in long format
Lists all files, including hidden ones
Deletes all files
Shows file permissions
Which OS structure keeps all functions inside the kernel?
Microkernel
Monolithic
Hybrid
Layered
What is the first program that runs when a computer starts?
Bootloader
Kernel
BIOS/UEFI
init/systemd
Which command moves a file from one directory to another?
cp
mv
rm
mkdir
What does GUI stand for?
General User Interface
Graphical User Interface
Global Utility Interface
Guided User Input
What is the role of a system call in an OS?
To display graphics
To act as a bridge between apps and the OS kernel
To delete files permanently
To manage Wi-Fi connections
Which command shows the current working directory?
cd
pwd
ls
where
What is GRUB used for?
File editing
Choosing which OS to boot
Managing memory allocation
Encrypting files
