UNIT 1 Flashcards

Unit 1: Introduction to Operating Systems

1
Q

What are the main functions of an operating system?

A

Operating System is a software which works with hardware to perform Process management, memory management, storage management, I/O management, security, and user interface between user hardware and the user

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

What are system calls?

A

System calls provide an interface between a user program and the operating system, allowing the program to request OS services.

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

Name different types of system calls.

A

Process control, file management, device management, information maintenance, and communication.

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

What is process management in an OS?

A

It involves the creation, scheduling, and termination of processes to efficiently utilize the CPU.

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

What are shell programming commands?

A

Basic shell commands include ls, pwd, mkdir, rm, grep, sort, echo, etc.

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

Compare System Software and Application Software

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

What is an Operating System?

A

An Operating System (OS) is a program that acts as an intermediary between a user of a computer and the computer hardware. Its goals include executing user programs, solving user problems, making the system convenient to use, and efficiently managing hardware.

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

List the four components of a computer system.

A
  • Hardware
  • Operating System
  • Application Programs
  • Users
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How do users and shared computer systems differ in their view of the Operating System?

A

Users desire convenience and performance without concern for resource utilization, while shared computer systems require the OS to balance the needs of multiple users.

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

What are the types of processor systems in Computer-System Architecture?

A
  • Single Processor Systems
  • Multiprocessor Systems
  • Clustered Systems
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Describe the characteristics of Multiprocessor Systems.

A

Multiprocessor Systems, also known as parallel systems, increase throughput and reliability. They can be asymmetric (specific tasks for each processor) or symmetric (all processors perform all tasks).

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

What are the key activities involved in Process Management?

A
  • Creating and deleting processes
  • Suspending and resuming processes
  • Mechanisms for process synchronization and communication
  • Mechanisms for deadlock handling
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the purpose of Memory Management in operating systems?

A

Memory management determines what is in memory and when, aiming to optimize CPU utilization and user response.

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

Fill in the blank: The OS provides a logical view of information storage called a _______.

A

[file]

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

What is the difference between Protection and Security in Operating Systems?

A

Protection controls access to resources, while Security defends against attacks, including threats like denial-of-service and identity theft.

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

What services do operating systems provide to users?

A
  • User interface (UI)
  • Program execution
  • I/O operations
  • File-system manipulation
  • Communications
  • Error detection
17
Q

What is the role of the User Operating System Interface?

A

The User Operating System Interface allows users to interact with the OS, primarily through command-line interfaces (CLI) or graphical user interfaces (GUI).

18
Q

How are System Calls accessed by programs?

A

System calls are accessed indirectly via high-level Application Programming Interfaces (APIs), such as Win32 API, POSIX API, and Java API.

19
Q

List the types of System Calls.

A
  • Process control
  • File management
  • Device management
  • Information maintenance
  • Communications
  • Protection
20
Q

What is the significance of dual-mode operation in operating systems?

A

Dual-mode operation distinguishes between user mode and kernel mode to protect the OS and system components.

21
Q

What are the characteristics of Single Processor Systems?

A

Single Processor Systems have one main CPU and are generally less reliable due to being a single point of failure.

22
Q

What are the main objectives of Storage Management in an OS?

A

Storage Management involves organizing files, managing access control, and providing mechanisms to create, delete, and manipulate files and directories.

23
Q

True or False: A multi-threaded process has one program counter per thread.

24
Q

What is the function of a timer in an operating system?

A

A timer prevents infinite loops or resource hogging by generating interrupts after a specified time.

25
Describe the role of the OS in ensuring efficient system operation.
* Resource allocation * Accounting * Protection and security
26
What are some examples of user identifiers in operating systems?
* User IDs * Security IDs * Group IDs
27
What is an example of a high-performance computing application in clustered systems?
Applications requiring parallelization and potentially using a distributed lock manager (DLM).
28
Fill in the blank: A process is a _______ in execution.
[program]
29
What are privileged instructions in the context of kernel mode?
Privileged instructions are commands that can only be executed in kernel mode to protect system integrity.
30
What is the purpose of a command interpreter in a CLI?
The command interpreter fetches commands from the user and executes them.