Q1. What is the primary purpose of an operating system?
a) Managing hardware components
b) Running applications
c) Providing a user-friendly interface
d) All of the above
d) All of the above
a) Windows
b) Microsoft Office
c) Linux
d) macOS
b) Microsoft Office
a) File system
b) Kernel
c) Device drivers
d) Shell
b) Kernel
a) Single-user operating system
b) Multi-user operating system
c) Real-time operating system
d) Batch operating system
b) Multi-user operating system
a) First-Come, First-Served (FCFS)
b) Shortest Job Next (SJN)
c) Round Robin (RR)
d) Priority Scheduling
c) Round Robin (RR)
a) To allow multiple users to access the system
b) To increase the processing speed of the CPU
c) To manage the physical memory and disk storage effectively
d) To run multiple instances of the same application
c) To manage the physical memory and disk storage effectively
a) FAT32
b) NTFS
c) HFS+
d) ext4
d) ext4
a) Windows
b) Linux
c) Android
d) QNX
d) QNX
a) Loading the operating system into RAM
b) Running applications
c) Shutting down the computer
d) Uninstalling the operating system
a) Loading the operating system into RAM
a) User mode
b) Kernel mode
c) Supervisor mode
d) Executive mode
b) Kernel mode
a) Kernel
b) Shell
c) Driver
d) Daemon
b) Shell
a) dir
b) ls
c) cd
d) pwd
d) pwd
a) First-Come, First-Served (FCFS)
b) Shortest Job Next (SJN)
c) Round Robin (RR)
d) Priority Scheduling
b) Shortest Job Next (SJN)
a) To manage memory allocation
b) To provide a user interface
c) To manage hardware components
d) To execute application programs
a) Single-user operating system
b) Multi-user operating system
c) Real-time operating system
d) Batch operating system
c) Real-time operating system
a) Windows
b) Linux
c) macOS
d) Android
c) macOS
a) mkdir
b) touch
c) newdir
d) md
a) mkdir
a) ext4
b) NTFS
c) HFS+
d) FAT32
b) NTFS
a) Difficult to develop and maintain
b) Slow performance
c) Limited multitasking capabilities
d) Inefficient memory management
a) Difficult to develop and maintain
a) Change the computer's hostname
b) Change file ownership
c) Change file permissions
d) Change the system's time and date
c) Change file permissions
Q21. What is the purpose of the command "grep" in Unix-like operating systems?
a) Display system information
b) Search for text patterns in files
c) Create a new directory
d) Change file permissions
b) Search for text patterns in files
a) File system
b) Kernel
c) Device drivers
d) Shell
c) Device drivers
a) Manage file permissions
b) Manage user accounts
c) Manage hardware components
d) Manage the execution of processes
d) Manage the execution of processes
a) cp
b) mv
c) rm
d) ls
a) cp
a) General-purpose operating system
b) Real-time operating system
c) Embedded operating system
d) Network operating system
b) Real-time operating system
a) Display information about currently running processes
b) Manage network interfaces and configurations
c) Change file permissions
d) Create a new user account
b) Manage network interfaces and configurations
a) Windows
b) Linux
c) Android
d) macOS
c) Android
a) Paging
b) Segmentation
c) Swapping
d) Fragmentation
b) Segmentation
a) Change file permissions
b) Display information about currently running processes
c) Create a new user account
d) Manage network interfaces and configurations
b) Display information about currently running processes
a) General-purpose operating system
b) Real-time operating system
c) Embedded operating system
d) Network operating system
d) Network operating system
a) dir
b) ls
c) cd
d) pwd
b) ls
a) Manage hardware components
b) Provide a user interface
c) Manage memory and storage
d) Control the booting process
b) Provide a user interface
a) File system
b) Kernel
c) Device drivers
d) Shell
c) Device drivers
a) dir
b) ls
c) cd
d) pwd
c) cd
a) To manage communication between hardware devices
b) To manage file permissions
c) To manage the execution of processes
d) To translate virtual addresses to physical addresses
d) To translate virtual addresses to physical addresses
a) Windows
b) Linux
c) macOS
d) Android
b) Linux
a) Manage network interfaces and configurations
b) Display information about currently running processes
c) Display the manual pages for commands
d) Change file permissions
c) Display the manual pages for commands
a) Manage the execution of processes
b) Manage file permissions
c) Translate virtual addresses to physical addresses
d) Manage network interfaces and configurations
c) Translate virtual addresses to physical addresses
a) cp
b) mv
c) rm
d) ls
c) rm
a) Better performance
b) Simplicity and ease of maintenance
c) Strong security
d) Enhanced user interface
b) Simplicity and ease of maintenance
Q41. What is the purpose of the command "chmod" in Unix-like operating systems?
a) Change the computer's hostname
b) Change file ownership
c) Change file permissions
d) Change the system's time and date
c) Change file permissions
a) Kernel
b) File system
c) Device drivers
d) Shell
b) File system
a) Changing the system's display resolution
b) Changing the user interface theme
c) Switching between different users
d) Switching between different processes
d) Switching between different processes
a) cp
b) mv
c) rm
d) ls
b) mv
a) Manage file permissions
b) Load the operating system into RAM
c) Run application programs
d) Manage hardware components
b) Load the operating system into RAM
a) Single-user operating system
b) Multi-user operating system
c) Real-time operating system
d) Batch operating system
c) Real-time operating system
a) Display system information
b) Display the contents of a file
c) Display the current date and time
d) Print text to the terminal
d) Print text to the terminal
a) Manage file permissions
b) Load the operating system into RAM
c) Initialize system services and processes
d) Manage hardware components
c) Initialize system services and processes
a) File system
b) Kernel
c) Device drivers
d) Shell
a) File system
a) List all system files
b) Display the current directory
c) Create a new file
d) List the contents of a directory
d) List the contents of a directory
a) Manage file permissions
b) Load the operating system into RAM
c) Run application programs
d) Manage hardware components
b) Load the operating system into RAM
a) Manage hardware components
b) Provide a text-based interface for users
c) Manage file permissions
d) Provide a user-friendly visual interface for users
d) Provide a user-friendly visual interface for users
a) General-purpose operating system
b) Real-time operating system
c) Embedded operating system
d) Network operating system
c) Embedded operating system
a) Transferring files between storage devices
b) Switching between user accounts
c) Transferring processes between main memory and disk
d) Translating virtual addresses to physical addresses
c) Transferring processes between main memory and disk
a) cp
b) mv
c) touch
d) rm
c) touch
a) Change file ownership
b) Change file permissions
c) Create a new user account
d) Change the system's time and date
a) Change file ownership
a) Changing the user interface theme
b) Switching between different users
c) The ability of the operating system to interrupt a running process
d) The ability to switch between different file systems
c) The ability of the operating system to interrupt a running process
a) Manage file permissions
b) Load the operating system into RAM
c) Convert high-level programming code into machine code
d) Manage hardware components
c) Convert high-level programming code into machine code
a) chown
b) chgrp
c) chmod
d) chmodify
a) chown
a) Measure file transfer speed
b) Test network connectivity
c) Display system information
d) Manage network interfaces and configurations
b) Test network connectivity