WorksheetsExploring Operating Systems
Total questions: 20
Worksheet time: 10mins
What is a process in an operating system?
A process is a static file stored on disk.
A process is a type of hardware component.
A process is a user interface element in the operating system.
A process is an instance of a program in execution, managed by the operating system.
Explain the role of the process scheduler.
The process scheduler manages process execution and allocates CPU time to ensure efficient resource use.
The process scheduler is responsible for managing user input.
The process scheduler only handles memory allocation.
The process scheduler determines the order of file storage.
What is the difference between a process and a thread?
A process is an independent execution unit with its own memory, while a thread is a lightweight execution unit that shares memory with other threads in the same process.
Threads cannot communicate with each other.
A process is always faster than a thread.
A process can only run one thread at a time.
Define context switching in process management.
Context switching is the mechanism of saving and restoring the state of a CPU so that multiple processes can share a single CPU resource.
Context switching is the method of increasing the speed of a CPU by overclocking it.
Context switching refers to the physical movement of processes between different machines.
Context switching is the process of allocating more CPU resources to a single process.
What is a deadlock in operating systems?
A deadlock happens when processes run in parallel without any resource sharing.
A deadlock is a situation in operating systems where two or more processes are unable to proceed because each is waiting for the other to release resources.
A deadlock occurs when a process is terminated unexpectedly.
A deadlock is when a single process uses all available resources.
How does the operating system manage memory?
The operating system manages memory by allocating, tracking, protecting, and swapping memory using techniques like paging and segmentation.
The operating system manages memory by simply storing all data in a single location without any organization.
The operating system does not manage memory; it is handled entirely by the hardware.
The operating system manages memory by only using physical RAM without any virtual memory techniques.
What is virtual memory?
Virtual memory is a memory management technique that uses disk space to extend the apparent amount of RAM available to applications.
Virtual memory is a method to increase the speed of the CPU.
Virtual memory is a technique that only uses RAM without any disk space.
Virtual memory is a type of physical memory used in computers.
Explain the concept of paging in memory management.
Paging is a technique that eliminates the need for virtual memory.
Paging is a memory management technique that divides virtual memory into fixed-size pages and physical memory into frames, allowing non-contiguous memory allocation.
Paging allows for contiguous memory allocation only.
Paging involves dividing physical memory into variable-sized segments.
What is a file system?
A file system is a protocol for internet communication.
A file system is a hardware component of a computer.
A file system is a type of software application.
A file system is a method for storing and organizing files on a storage device.
Name two types of file systems.
HFS+
FAT32
NTFS, ext4
exFAT
What is the purpose of file permissions?
The purpose of file permissions is to manage access control to files and directories.
To enhance the speed of file transfers.
To improve the visual appearance of file icons.
To increase the size of files stored.
How does the operating system handle file storage?
The operating system organizes and manages file storage using a file system.
The operating system deletes all files automatically.
The operating system uses a database to store files.
The operating system compresses files to save space.
What is device management in an operating system?
Device management is the process of securing network connections in an operating system.
Device management refers to the management of user accounts in an operating system.
Device management is the process of managing hardware devices in an operating system.
Device management is the process of optimizing software applications.
Explain the role of device drivers.
Device drivers are used to enhance the graphics of the operating system.
Device drivers are applications that run in the cloud.
Device drivers enable the operating system to communicate with hardware devices.
Device drivers are responsible for managing user accounts.
What is the purpose of buffering in device management?
To directly connect devices without any data transfer delays.
To eliminate the need for data storage entirely.
To increase the speed of data processing permanently.
The purpose of buffering is to manage data transfer between devices by temporarily storing data to handle speed differences.
What are the main security threats to operating systems?
Malware, unauthorized access, denial-of-service attacks, software vulnerabilities, social engineering, insider threats.
Strong passwords
Firewall configurations
Regular software updates
How can an operating system protect against malware?
Implement antivirus software, firewalls, regular updates, user access controls, and sandboxing.
Ignore system updates
Install unverified software
Disable all security features
What is user authentication in operating systems?
User authentication is the process of verifying a user's identity to grant access to an operating system.
User authentication is the method of backing up user data in an operating system.
User authentication involves installing software to enhance system performance.
User authentication is the process of creating user accounts in an operating system.
Explain the concept of access control lists.
Access control lists (ACLs) are rules that define permissions for users or groups to access resources.
Access control lists are used to store user passwords securely.
ACLs are primarily for managing network traffic and bandwidth.
Access control lists are a type of database management system.
What is encryption and how is it used in operating systems?
Encryption is used to enhance the visual interface of operating systems.
Encryption is a technique for compressing files in operating systems.
Encryption is a method to secure data by converting it into a coded format, used in operating systems to protect sensitive information.
Encryption is a method to speed up data processing in operating systems.
