Practice Questions & Answers
Multiple Choice Questions for Exam Revision
, Practice Questions
1. What is the main purpose of an operating system?
A. To compile programs
B. To manage hardware and software resources
C. To browse the internet
D. To edit files
2. Which command lists files in the current directory?
A. cd
B. pwd
C. ls
D. mkdir
3. What does the pwd command do?
A. Changes directory
B. Shows current directory path
C. Deletes a file
D. Displays permissions
4. Which directory contains user home folders?
A. /etc
B. /bin
C. /var
D. /home
5. Which permission allows a file to be executed?
A. r
B. w
C. x
D. d
6. Which command changes file permissions?
A. chown
B. chmod
C. ls
D. ps
7. What command displays running processes?
A. top