Os Unit 1- Flashcards

(66 cards)

1
Q

What does OS stand for?

A

Operating System

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True or False: An operating system is software that manages computer hardware.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Name one type of operating system.

A

Examples include Windows, Linux, macOS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Fill in the blank: The main function of an operating system is to manage __________.

A

resources

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a system call?

A

A system call is a way for programs to request services from the operating system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Multiple Choice: Which of the following is NOT a service provided by an OS? A) File management B) Process management C) Network configuration D) Web browsing

A

D) Web browsing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the purpose of process management in an OS?

A

To manage the execution of processes and ensure proper allocation of CPU time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

True or False: A virtual machine allows multiple operating systems to run on a single physical machine.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the two main types of operating systems?

A

Batch and interactive operating systems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Fill in the blank: An OS provides a __________ interface for users to interact with the computer.

A

user

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a kernel in the context of an operating system?

A

The kernel is the core component of an OS that manages system resources and communication between hardware and software.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Multiple Choice: Which OS type is designed for real-time applications? A) Batch OS B) Time-sharing OS C) Real-time OS D) Distributed OS

A

C) Real-time OS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is meant by multitasking in an operating system?

A

Multitasking is the capability of an OS to execute multiple processes simultaneously.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

True or False: An operating system can be classified as either single-user or multi-user.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the role of the file system in an OS?

A

To manage how data is stored and retrieved on storage devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Fill in the blank: The __________ is responsible for managing memory allocation in an operating system.

A

memory manager

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is the difference between a process and a thread?

A

A process is an independent program in execution, while a thread is a smaller unit of a process that can run concurrently.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Multiple Choice: What is the primary goal of an operating system? A) Increase hardware performance B) Provide an interface for users C) Manage software applications D) All of the above

A

D) All of the above

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

What is a deadlock in the context of operating systems?

A

A situation where two or more processes are unable to proceed because each is waiting for the other to release resources.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

True or False: System calls are typically implemented as library functions.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

What is the purpose of a device driver in an operating system?

A

To allow the OS to communicate with hardware devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Fill in the blank: The __________ is the part of the OS that handles network communications.

A

network manager

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What is a virtual machine monitor (VMM)?

A

A software layer that enables the creation and management of virtual machines.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
24
Q

Multiple Choice: Which of the following is a benefit of using virtual machines? A) Increased security B) Better performance C) Simplified hardware management D) A and C only

A

D) A and C only

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
What does the process control block (PCB) contain?
Information about a process, such as its state, process ID, and CPU registers.
26
True or False: An operating system can provide both user-level and kernel-level threads.
True
27
What is the function of the scheduler in an operating system?
To determine which process runs at any given time.
28
Fill in the blank: The __________ is responsible for managing the execution of user applications.
process manager
29
What is the difference between a monolithic kernel and a microkernel?
A monolithic kernel includes all OS services in one large block, while a microkernel includes only the essential services, with others running in user space.
30
Multiple Choice: What is paging in memory management? A) A method of allocating memory B) A way to manage process execution C) A technique for virtual memory D) A and C
D) A and C
31
What is the purpose of an API in relation to operating systems?
To provide a set of functions for applications to interact with the operating system.
32
True or False: The boot loader is responsible for loading the operating system into memory.
True
33
What is the role of the command line interface (CLI) in an OS?
To allow users to interact with the system using text commands.
34
Fill in the blank: __________ is a technique used to increase the efficiency of CPU utilization by overlapping I/O operations with processing.
I/O scheduling
35
What is a system resource?
Any physical or virtual component of a computer system that can be managed, such as CPU, memory, and storage.
36
Multiple Choice: Which of the following is NOT a function of an operating system? A) Resource allocation B) User interface management C) Application development D) Process scheduling
C) Application development
37
What does the term 'context switch' refer to?
The process of saving and restoring the state of a CPU so that multiple processes can share a single CPU.
38
True or False: Virtual machines can run different operating systems on the same physical hardware.
True
39
What is the function of the memory manager in an operating system?
To handle memory allocation and deallocation for processes.
40
Fill in the blank: The __________ is a temporary storage area used by the CPU to hold data that is being processed.
cache
41
What is the purpose of a system daemon?
To run in the background and perform tasks without direct user interaction.
42
Multiple Choice: Which of the following is a type of process state? A) Ready B) Blocked C) Running D) All of the above
D) All of the above
43
What does 'threading' refer to in an operating system?
The ability to run multiple threads of a process concurrently.
44
True or False: The user interface is a key component of an operating system.
True
45
What is the role of the inter-process communication (IPC)?
To allow processes to communicate and synchronize their actions.
46
Fill in the blank: The __________ is the area of memory used for storing data that is frequently accessed.
cache memory
47
What is the purpose of the boot process in an operating system?
To initialize the system and load the operating system into memory.
48
Multiple Choice: Which of the following is a common method for process synchronization? A) Mutex B) Semaphore C) Monitor D) All of the above
D) All of the above
49
What does 'multiprogramming' mean?
The ability of an operating system to execute multiple programs concurrently by sharing CPU time.
50
True or False: An operating system can manage both hardware and software resources.
True
51
What is a critical section in concurrent programming?
A part of the program that accesses shared resources and must not be executed by more than one thread at a time.
52
Fill in the blank: __________ is a method of managing processes where the OS allocates CPU time to each process in a round-robin fashion.
Round-robin scheduling
53
What is a 'trap' in the context of operating systems?
An exception or condition that alters the normal flow of execution, often used to handle system calls.
54
Multiple Choice: What is the purpose of a system monitor? A) To track system performance B) To manage user permissions C) To schedule processes D) To allocate memory
A) To track system performance
55
What is the function of a resource manager in an operating system?
To manage and allocate system resources to processes and applications.
56
True or False: A user interface can be graphical or text-based.
True
57
What does 'virtual memory' allow an operating system to do?
To use disk space as if it were additional RAM, allowing for larger applications to run than physical memory would allow.
58
Fill in the blank: The __________ is the part of the OS that manages the execution of programs.
scheduler
59
What is a 'fork' system call?
A system call used to create a new process by duplicating an existing one.
60
Multiple Choice: Which of the following is an example of a batch processing system? A) Time-sharing system B) Mainframe system C) Real-time system D) Interactive system
B) Mainframe system
61
What is the purpose of a system log?
To record events and transactions that occur within the operating system.
62
True or False: An operating system can support multitasking and multiprocessing.
True
63
What is a semaphore in operating systems?
A synchronization primitive that is used to control access to a common resource in concurrent programming.
64
Fill in the blank: The __________ is used to manage and schedule tasks in a real-time operating system.
real-time scheduler
65
What is the function of the spooler in an operating system?
To manage print jobs by temporarily storing them in a queue.
66
Multiple Choice: Which of the following is a common OS service? A) Process management B) Memory management C) Device management D) All of the above
D) All of the above