2.1 System software Flashcards

1
Q

What is an operating system?

A

Essential for managing hardware and software resources of a computer system and provides an interface between user and hardware.

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

What are the main functions of an operating system?

A

Resource management, memory management, file management, interrupt handling, security, providing a platform for software to run, providing a user interface, and providing utilities.

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

What is resource management as a function of an OS?

A

OS manages computer resources, including CPU, memory, disk drives, and printers, allocating resources to specific tasks.

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

What is file management as a function of an OS?

A

OS handles storage, retrieval, and manipulation of data files, providing a GUI of the file system for user interaction.

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

How does an OS provide computer security?

A

Provides security features like password-protected accounts, firewalls, virus scanning, and file encryption.

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

How does an OS provide a platform for the computer to run on?

A

OS provides a platform for application software to run by allowing software to access system resources.

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

How does an OS provide a user interface?

A

OS provides interaction through a graphical user interface (GUI) or text-based command-line interface (CLI).

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

How does an OS provide utilities?

A

Utility programs help with system maintenance and security, such as file encryption, file compression, and disk cleanup.

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

What is file encryption?

A

A utility provided by OS that allows users to send files over networks securely.

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

What is file compression?

A

A utility provided by OS that reduces the size of the file, helping send large files over a network.

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

What is disk defragmentation?

A

A utility provided by OS that reorganizes files on the hard disk for faster access.

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

What is Disk Cleanup?

A

A utility provided by OS that scans the hard disk for duplicate and corrupt files and deletes them to create more space.

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

What is memory management?

A

A fundamental role of OS, dealing with allocation and deallocation of computer’s primary memory.

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

What are the benefits of memory management?

A

Efficient allocation of memory enables multitasking and maintains security by preventing programs from accessing reserved memory.

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

What techniques make memory management more efficient?

A

Paging, segmentation, and virtual memory.

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

What is Paging?

A

Method of chunking primary memory into equal-sized blocks for faster access, facilitating efficient memory management.

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

What is segmentation?

A

Divides memory into variable-sized segments based on logical parts of a process, allowing for intuitive memory access.

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

What is Virtual memory?

A

Using secondary storage as an extension of primary memory, allowing more extensive programs to run.

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

What is interrupt handling as a function of an OS?

A

An interrupt is a signal to the processor that stops its current task to perform a different task temporarily.

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

What is the purpose and role of interrupts?

A

Real-time event handling, device communication, and multitasking.

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

Describe the types of interrupts.

A

Hardware interrupts, software interrupts, and trap interrupts.

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

What is the interrupt process?

A
  1. Interrupt request 2. Interrupt acknowledge 3. Interrupt Service routine (ISR) lookup 4. ISR Execution 5. Interrupt exit.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

What is an ISR?

A

A special function that handles a specific type of interrupt, designed to minimize execution time.

24
Q

What is interrupt priority and nesting?

A

Interrupt prioritization allows resolving higher priority interrupts first, while nesting refers to handling interrupts within interrupts.

25
Q

What is pre-emptive scheduling?

A

Allocates CPU for a specific time to a process, allowing interruption of currently handled processes.

26
Q

What is non-pre-emptive scheduling?

A

Once CPU is allocated to a process, it holds it until completion.

27
Q

What is Round Robin scheduling?

A

A pre-emptive scheduling algorithm where each job gets a time slice to run, moving to the back of the queue if not completed.

28
Q

What are the benefits of Round Robin Scheduling?

A

All processes get a fair share of CPU, good for time-sharing systems, and predictable.

29
Q

What are the drawbacks of Round Robin scheduling?

A

Choosing the right time slice size can be difficult, leading to high turnaround and waiting time for long processes.

30
Q

What is First Come First Served scheduling?

A

A non-preemptive method where jobs are processed in the order they entered the queue.

31
Q

What are the advantages of First Come First Served Scheduling?

A

Straightforward to implement and easy to understand.

32
Q

What are the drawbacks of First Come First Served scheduling?

A

Can lead to poor performance if a long process arrives before shorter ones.

33
Q

What is a Multi-Level Feedback queue?

A

A pre-emptive scheduling method prioritizing shorter and critical tasks using multiple queues.

34
Q

What are the benefits of Multi-Level Feedback queues?

A

Takes into account different job priorities and prioritizes smaller tasks.

35
Q

What are the drawbacks of Multi-level Feedback queues?

A

Difficult to implement and complex to set parameters.

36
Q

What is Shortest job first scheduling?

A

A non-preemptive method where jobs are ordered by the time required for completion.

37
Q

What are the advantages of Shortest Job first scheduling?

A

Reduces waiting time and is efficient for short processes.

38
Q

What are the drawbacks of Shortest Job first Scheduling?

A

Requires knowing job durations in advance and can lead to processor starvation.

39
Q

What is processor starvation?

A

When a process does not receive enough CPU time to execute and complete.

40
Q

What is shortest remaining time scheduling?

A

A pre-emptive method prioritizing processes with the shortest remaining time.

41
Q

What are the advantages of Shortest Remaining time scheduling?

A

Increases throughput by quickly completing shorter processes.

42
Q

What are the drawbacks of Shortest Remaining time scheduling?

A

Requires advance knowledge of burst times and can lead to processor starvation.

43
Q

What are the types of operating systems?

A

Distributed, embedded, multi-tasking, multi-user, and real-time.

44
Q

What is a Distributed OS?

A

Runs on multiple machines appearing as a single unit for efficient task distribution.

45
Q

What is an Embedded OS?

A

Designed for specific tasks in devices, limited in functionality but uses less power.

46
Q

What is a Multi-Tasking OS?

A

Allows multiple tasks to run concurrently on a single processor using time slicing.

47
Q

What is a multi-user OS?

A

Supports multiple users accessing resources concurrently while managing security.

48
Q

What is a real-time OS?

A

Designed for immediate data processing and ensures tasks are processed within specific timeframes.

49
Q

What is the BIOS?

A

Basic Input/Output System, the first software to run on system start, performing POST.

50
Q

What is a POST?

A

Power On Self Test, a diagnostic sequence ensuring hardware components are working properly.

51
Q

What is a device driver?

A

Software that enables communication between an OS and hardware like printers and graphics cards.

52
Q

What are Virtual Machines?

A

An entire OS run inside another OS, providing an environment for software designed for specific OS.

53
Q

What is intermediate code?

A

Code that is halfway between machine code and object code, independent of processor architecture.

54
Q

What are uses of Virtual Machines?

A

Testing programs on different OSs, protection from malware, and running incompatible software.

55
Q

What are the drawbacks of using Virtual Machines?

A

Overuse can exhaust host OS resources, and activation payments may be required for full features.