Functions of an Operating system Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

what is an Operating system ?

A

an O/S is a system software that manages computer hardware , software resources and provides common programs

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

What does the Operating system provide ?

A

-User interface
-Memory management
-Interrupt Handling
-Processor scheduling

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

What does user interface do and Memory management ?

A

user interface hides the complexity of the hardware from the user by providing a user interface .

Memory Management manages the allocation of RAM to the different Programs

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

What are the two types of Memory Management ?

A

Paging and Segmentation

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

what is paging and segmentation ?

A

Paging - Available memory is divided into fixed sizes.

Segmentation - Memory is divided into segments which can be different lengths.

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

what are interrupts ? and an ADV and Dis-ADV ?**

A

An interrupt is a signal that is sent from the software to the O/S

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

explain the process of interrupts using stack ?

A

When an interrupt is detected the processor stops fetching instructions and instead pushes the Current contents of its registers onto a Stack .

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

what is interuupt priority ?

A

interrupts have different priorities and will be processed in order of priority .

if a higher priority interrupt occurs whilst an interrupt is being processed, the original interrupts will be pushed onto a STACK

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

what are the types of Processor scheduling methods ?

A

Round robin
First come First serve (FCFS)
Shortest Job First
Shortest time Remaining (STR)

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

Name the types of operating systems ?

A

Multi-use
Distrubuted
Multi-tasking system
Mobile O/S

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

what is a mobile O/S ?

A

a smart phone is a computer with a multi-tasking O/S

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

what is a distributed O/S ?

A

can co-ordinate the processing of a single job across multiple computers

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

what is real time operating system ?

A

this is O/S that operates in real time , this is often used in safety crucial environments .

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

what is open software and closed software ?

A

Open source- this allows anyone to access its source code
- the software is licence but free to use

closed source - this does not allow anyone to access its source code.
-users must pay the person/ company the copyright for a license to use the software

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

what does processor scheduling and interrupt handling do ?

A
  • processor scheduling allows multi-tasking and ensures a fair share of CPU time.
  • interrupt handling changes what is being processed by the CPU on a priority basis.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

what is a paging table ?

A

a paging table keeps track of the logical and physical locations of memory where each block is held in memory.

17
Q

explain how it is possible for a single processor to appear to be multi-tasking?

A
  • by using processor scheduling this allocated the use of ram which gives the illusion that it is multitasking
18
Q

what is the aim of scheduling algorithms in a multi-tasking system ?

A
  • To provide an acceptable response time to all users
  • to ensure fairness on a multi-user system
19
Q

what is a bytecode?

A

a byte code is an intermediate code between high level and machine code . A byte code interpreter translates the bytecode to machine code

20
Q

what is meant by a virtual machine ?

and how does a virtual machine protect us from potential viruses ?

A
  • software implementation emulating the behaviour of particular hardware.
  • a virtual machine will pick up suspicious code(virus) found and will not pass it into the machine to be processed
21
Q

what is the difference between systems software and applications software?

A
  • system software is needed so that the system can operate and function properly whereas the application software is needed to provide the user with applications
22
Q

what is the complier?
what is the assembler ?

A

-The compiler translates from high level language to machine code.( the whole program at once )
-assembler translates assembly language to machine code( line by line)

23
Q

what is lexical analysis?

what is syntax analysis?

what is a symbol table ?

A
  • lexical analysis is removing unnecessary white space and comments.
  • syntax analysis is checking if code is against rules of language.
  • A symbol table stores key words and data types .
24
Q

what is BIOS ?

A

This stands for basic input output system
-This is responsible for loading the O/S when the computer is not on.

This bios loads the O/S from the ROM and send to RAM

25
Q

what is a device driver ?

A

A device driver is software that will translate computer instructions to another hardware device .
e.g a laptop sending instructions to a Printer
-This is a software that tells the O/S how to communicate with a device.

26
Q

what is virtual machine ?

A

A virtual machine is a program that has the same functionality as a physical computer e.g( Java code)

27
Q

what does the utillity Software consit of:

A

-antivirus
-disk fragmentation
-Backup
-Compression

28
Q

explain how developers could use virtual machines?

A

developers can use virtual machines as information/guidance to improve a system . virtual machines emulate software therefore they could use this emulation and discover any faults in order to improve .

29
Q

what is the difference between a queue daa structure and a stack data structure ?

A

A queue is First In First Out (FIFO), whereas a stack is Last In First Out (LIFO)

30
Q

explain how a system appears to be multi-tasking ?

A
  • processor scheduling- this is allows multi-tasking and fair share of CPU time .
31
Q

what does by reference mean , and passing by value?

A
  • passing by reference means that the functions receiveds the memory location of the variable
    -passing by value means that the function receives a copy of the variable