Operating Systems: Internals and Design Principles Overview

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/64

flashcard set

Earn XP

Description and Tags

This set of flashcards covers key concepts and principles discussed in the lecture on operating systems, their functions, design considerations, and evolution.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

65 Terms

1
New cards

What is an Operating System?

A program that controls the execution of application programs and acts as an interface between applications and hardware.

2
New cards

What are the main objectives of an Operating System?

Convenience, Efficiency, and Ability to evolve.

3
New cards

What are the main functions of an Operating System?

User/computer interface and resource management.

4
New cards

What are the stages in the evolution of Operating Systems?

Serial Processing, Simple Batch Systems, Multiprogrammed Batch Systems, Time Sharing Systems.

5
New cards

What is the function of the Resident Monitor?

Controls the sequence of events in a Simple Batch System.

6
New cards

What programming language was used to rewrite UNIX?

C programming language.

7
New cards

What is Job Control Language (JCL)?

A special type of programming language used to provide instructions to the monitor in batch processing systems.

8
New cards

What is the difference between User Mode and Kernel Mode?

User mode restricts access to certain areas and instructions, while Kernel mode allows execution of privileged instructions and access to protected memory.

9
New cards

What is Fault Tolerance?

The ability of a system or component to continue normal operation despite the presence of hardware or software faults.

10
New cards

Name the basic measures of Fault Tolerance as defined in the lecture.

Reliability, Availability, Mean time to failure (MTTF), and Mean time to repair (MTTR).

11
New cards

What is Multiprogramming?

A technique where multiple programs are loaded in memory and executed concurrently to improve CPU utilization.

12
New cards

What is the role of the OS in Memory Management?

The OS is responsible for process isolation, automatic allocation and management, support of modular programming, protection and access control, and long-term storage.

13
New cards

What is Paging in the context of Operating Systems?

A memory management scheme that eliminates the need for contiguous allocation of physical memory.

14
New cards

What are the main components of a process?

An executable program, associated data (variables, work space), and execution context (process state).

15
New cards

What are Interrupts in OS?

Signals that inform the OS that an event needs immediate attention, allowing it to control user programs.

16
New cards

How does the OS manage resources?

By controlling memory, CPU time, and I/O devices, and employing scheduling algorithms.

17
New cards

What is a Virtual Machine in OS?

An abstraction that allows multiple operating systems to run on the same physical hardware simultaneously.

18
New cards

What does the acronym ABI stand for?

Application Binary Interface.

19
New cards

What significant feature does Fault Tolerance often involve?

Redundancy within the system's design.

20
New cards

What is a process in the context of Operating Systems?

A program in execution, characterized by a current state and associated system resources.

21
New cards

What issues does Information Protection and Security address in an OS?

Availability, Confidentiality, Data integrity, and Authenticity.

22
New cards

What are hardware interrupts used for?

To signal the CPU that an event has occurred, prompting an immediate response.

23
New cards

What is a key role of the Cache Manager in Windows?

To improve the performance of file-based I/O by caching recently used data.

24
New cards

What does SMP stand for in OS architectures?

Symmetric Multiprocessing.

25
New cards

What is the difference between processes and threads?

A process is a collection of one or more threads and associated system resources, while a thread is the smallest unit of processing that can be scheduled by an OS.

26
New cards

What does GCD stand for in the context of multicore systems?

Grand Central Dispatch.

27
New cards

What is the main purpose of a Kernel in an Operating System?

To manage system resources and ensure process scheduling and execution.

28
New cards

What does the term 'mean time to failure' (MTTF) refer to?

The average time until a system experiences a fault.

29
New cards

What is the purpose of a Service Control Manager in Windows?

To manage Windows services and their execution.

30
New cards

What is Android primarily based on?

Linux.

31
New cards

What does the term 'API' stand for?

Application Programming Interface.

32
New cards

Describe 'Time-sharing systems.'

Operating systems designed to handle multiple interactive jobs by sharing processor time among users.

33
New cards

What are the key responsibilities of an Operating System?

Managing resources, providing user interfaces, managing files and I/O devices.

34
New cards

How does the OS ensure process isolation?

By keeping separate memory spaces for different processes.

35
New cards

What is a dynamic link library (DLL)?

A collection of code and data that can be used by multiple programs simultaneously.

36
New cards

What is the primary goal of resource allocation policies in an OS?

To ensure fairness and efficiency in resource usage.

37
New cards

What is a critical requirement for a correctly designed Operating System?

Proper synchronization among processes.

38
New cards

What is a cached file system?

A system that temporarily holds file data in memory for faster access.

39
New cards

What does CPU scheduling involve?

Deciding which process runs at a given time.

40
New cards

What does 'Kernel mode' allow executing processes to do?

Execute privileged instructions and gain access to all system resources.

41
New cards

What is the role of the Power Manager in Windows?

To coordinate power management among devices.

42
New cards

What purpose does the Object Manager serve in an Operating System?

Creates and manages operating system objects representative of system resources.

43
New cards

Define 'Multithreading.'

A technique where a process is divided into multiple threads that can run concurrently.

44
New cards

What is UNIX at its core?

A powerful, multiuser, multitasking operating system.

45
New cards

What is the newest version of Android mentioned in the lectures?

Android 7.0 (Nougat).

46
New cards

What hardware aspect does the HAL (Hardware Abstraction Layer) address?

It isolates the OS from hardware-specific details.

47
New cards

Apart from Windows, name four widely used UNIX variants.

FreeBSD, NetBSD, OpenBSD, and Linux.

48
New cards

What is one major benefit of the modular kernel structure of Linux?

It allows parts of the kernel to be loaded and unloaded dynamically.

49
New cards

What does the acronym 'RTOS' stand for?

Real-Time Operating System.

50
New cards

What is the focus of Virtual Memory management?

To allow multiple user jobs to reside in main memory concurrently, regardless of physical memory limitations.

51
New cards

What primary function does the I/O Manager serve in an OS?

To provide a framework for accessing I/O devices.

52
New cards

What is a 'Semaphore' in interprocess communication?

A variable used to control access to a common resource in concurrent programming.

53
New cards

What does the abbreviation 'DLL' mean?

Dynamic Link Library.

54
New cards

What are some examples of system calls in Linux?

open, read, write, execve, and close.

55
New cards

What is the role of the Alarm Manager in Android?

To trigger alarms even if the system is in sleep mode.

56
New cards

What are the main components of an operating system as discussed in the lecture?

Process management, Memory management, I/O management, File system management, Security, and Networking.

57
New cards

Describe 'Service Processes' in Windows.

User-mode services needed to manage the system, like the printer spooler.

58
New cards

What is a 'View System' in Android?

Provides user interface primitives and UI events.

59
New cards

What does the 'Process Control Manager' do in Windows?

Creates, manages, and deletes process and thread objects.

60
New cards

What defines a Deadlock situation in an Operating System?

When two or more programs are each waiting for the other to release resources.

61
New cards

What is a primary goal of resource management in an OS?

To allocate resources efficiently and fairly among processes.

62
New cards

What protocol does the Client/Server model use for process communication?

Remote Procedure Calls (RPC).

63
New cards

What is the purpose of using a Fault Resilient System?

To ensure a system can still function despite faults or errors.

64
New cards

What does the term 'object-oriented design' emphasize in Operating Systems?

The use of modular extensions for system customization and integrity.

65
New cards

What is an advantage of multithreading in operating systems?

Greater control over application modularity and timing of events.