YEAR 1 CO1 WEEK 24 OS AND INTERUPTS Flashcards

1
Q

What is an operating system?

A

Core software controls how a computer operates.

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

Name some purposes of an OS.

A

Provides a user interface
Manage hardware/peripherals
Manage memory
Manage CPU usage/handles interrupts
Provide security
Provide utilities for system maintenance.

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

What are the four parts of the OS?

A

The Kernal.
Device Drivers.
User Interface.
System Utilities.

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

Describe the Kernal and its functions.

A

Kernal in different operating systems may be responsible for slightly different blend of tasks.

Loading/unloading applications from memory.
Memory management.
File management.
Data security.

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

Describe what FAT is.

A

File Allocation Table is like a map where files are stored on the hard disk.
Allows OS to identify free space.
OS updates when files altered.
Stores addresses or pointers to the start of files.
Stores file names, sizes, access rights.

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

Describe what NTFS is.

A

New Tech File System which supports larger hard disk and file sizes and longer file names.

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

What are Device Drivers?

A

Programs designed to work closely with particular pieces of software.
Device Drivers enable OS to control and communicate with Device.

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

What is User Interface?

A

Allows person to interact with the computer.

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

Describe difference with GUI and CLI.

A

Graphical User Interface friendly way for people to interact with computer due to icons.
Command Line Interface have commands to be typed into the computer at a prompt but must know the syntax. Fewer resources used so faster.

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

What are Utilities?

A

Tends to be programs that have a specific task to carry out.
Usually are maintenence programs that carry out basic household keeping tasks.

File management services.
Encryption.
Compression.
Back ups.
Disk Checker - checks disk for errors.

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

What is polling?

A

The purpose of the CPU is to process data and follow instructions. Also must be able to respond to events as they happen.
Polling checks device if it needs to do anything which is inefficient but is simple and predictable.

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

What are interrupts?

A

More efficient way of finding out whether device needs CPU time using an interrupt.
Interrupt is a signal indicating process of device needs attention.

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

State the Interrupts Process.

A

If Interrupt level lower/ equal to current process current process continues.
If higher priority CPUs finishes current FDE cycle.
The contents of CPUs registers copied to stack in memory.
Location of appropriate interrupt service routine loaded into PC.
When ISR complete previous contents popped from stack and loaded back into registers.

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