FCS - Week 4 Flashcards

1
Q

What is an Operating System ?

A

An Operating System acts as an intermediary between the user of the computer and the computer hardware.
Purpose of operating system is to provide an environment in which a user can execute program in a convenient and efficient manner.

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

What are the components of an computer system

A

Competition can be divided into three components:
1. Hardware
2. Software
3. Air users

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

What are the types of software

A
  1. System software
  2. Application software
  3. Utility software
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the functions of operating system

A

1.An Operating System is system software that manages all resources of a computer system.
2. Controls computer hardware include the core computer and peripheral devices s,oftware resources
3. It provide services for computer programs, it is an interface between user and a computer programs
4. Operating system act as an intermediary between user and the computer hardware
5. Operating system as a resource allocator.

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

What are the basic concepts of an operating system ?

A
  1. Kernel
  2. System calls
  3. Interrupts
  4. Shell
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a kernel in operating system ?

A

The kernel is the core component of an operating system.
It is the part of the operating system that loads first ,and it remains in main memory
It is responsible for providing secure access to the system resources
It acts as an interface between the user applications and the hardware

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

What is a system call

A

When a process makes request of the kernel the request is called system call, it includes hardware related services, creation and execution of new processes, process scheduling
System calls provide an interface between a process and the operating system

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

What are interrupts

A

An interrupt is a response by the processor to an event that need attention from the software.
If interest is accepted by the processor, then it executes a function called an interrupt Handler ISR to deal with the event

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

What is an ISR ?

A

Interrupt service routine

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

What is a shell

A

The user interface for access to an Operating System services, it should be command based or graphic novel based CUI or GUI

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

What is a process

A

A program in aggregation is called a process
When a process is on, it will continuously need various types of resources. It will need CPU, I/O Devices , main memory and various types of software resources

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

What are the classifications of operating system

A

1.Single tasking vs multitasking Operating System
2. Single user versus multi user operating system
3. Distributed operating systems
4. Embedded operating systems
5. Real time operating systems

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

What is single tasking operating system

A

Single tasking operating system runs one process at a time

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

What is multitasking Operating System

A

Multitasking Operating System allows more than one process to be running in concurrency, this is achieved by time sharing, available processor time is divided between multiple processes

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

What is single user operating system ?

A

Single user operating systems have no facilities to distinguish users but may Allow multiple processes to run in tandem

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

What is multi user operating system ?

A

Multi user operating system extend the basic concept of multitasking with facilities that identify process and resources

17
Q

What is a distributed operating system

A

A distributed system is a collection of physical separate computer systems that are networked to provide users with access to the various resources that the system maintains.
Multiple computers appear to be a single computer, as all computations are distributed-divided amongst the constituent computers

18
Q

What is software interrupt

A

Software interrupt is also known as exception or trap

19
Q

What are the OS operations

A
  1. Hardware and software interrupts
  2. Dual mode operation
20
Q

What is meant by dual mode

A

Operating system runs in two modes, user mode and kernel mode, by using mode bit in a process , operating system distinguish one system is any user code or kernel code.
Some instructions designated as privileged only executable in kernel mode

21
Q

What are the two modes of operating system

A

User mode and kernel mode

22
Q

What is a kernel mode bit

A

Kernel mode bit is 0

23
Q

What is user mode bit

A

User mode bit is 1

24
Q

Functions of an operating system

A
  1. Process management
  2. Memory management
  3. Peripheral devices management
  4. Protection and security
  5. Networking and communication
25
Q

What is the memory management in operating system

A

Memory management means efficient management of how data is stored accessed and manipulated in main memory

26
Q

What is the Hierarchy of Memory in view of operating system

A
  1. Internal memory - processor registers and cache
  2. Main memory - RAM
  3. Secondary storage - Hard Disk
  4. Offline storage - UB Disk
27
Q

Data migration in operating system

A
28
Q

What are the memory management activities

A