Lectures 1-5 Flashcards

1
Q

What is a DOS?

A

A disk operating system

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

How do DOS’s work?

A

By using command line interfaces

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

What are the purposes of a GUI?

A
  • Execute programs
  • File management
  • Tools to configure and interact with OS which may be tightly linked
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the communication protocol used between the operating system and the window manager called?

A

X11

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

What model does the X11 protocol use?

A

It uses a client-server model

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

Why does the X11 protocol create minimal network traffic?

A

As it only has 4 packet types:

  • Request
  • Reply
  • Event
  • Error
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How has the role of the X11 protocol changed?

A

It has gone from originally drawing the display to now sending commands to the OS’s window managers

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

What is an interrupt?

A

When an input happens (like a mouse click) it is passed directly to the processor which stops what it is doing to process this new command

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

What is polling?

A

When the computer periodically checks for inputs. However this means that an input may be missed when the computer is listening for another.

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

What are the OS’s services to the user?

A
  • It creates an illusion of having direct access to the
    hardware
  • It creates an illusion of being the only user (on a
    multiple user system)
  • Multi Tasking
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are the OS’s services to programs

A
  • It will allow the program to use OS facilities if
    necessary such as the camera or microphone
  • Give it the illusion of it being the only program running on the system at the time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the pros of using a CLI over a GUI program?

A
  • It provides a powerful way of interacting with the OS
  • Often less frustrating for repetitive tasks
  • Can combine multiple simple commands for complex tasks
  • Great for controlling remote systems like servers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the cons of using a CLI over a GUI program?

A
  • Initially more difficult than a GUI progam
  • Help is not as readily available
  • Not as many safety belts as there are with a GUI
    program (Will not say ‘are you sure’)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does a shell do?

A

It provides a coating around the OS (Provides an interface)

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

What are some shell features/utilities?

A
  • File and directory management
  • Ability to use internal and external commands
  • Control of programs and processes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What do file permissions do?

A

They allow enhanced security in a multi user environment. These can apply to bot files and their directories

17
Q

What are the different types of file links?

A

Hard links and symbolic links

18
Q

What are the properties of hard links?

A
  • Gives multiple names for the same file
  • Restricted to the same filesystem
  • Cannot link directories like this, only files
19
Q

What are the properties of symbolic links?

A
  • Redirect using the path name to another file (like
    saying ‘The file you want isnt here, it’s over there’)
  • Can link to directories, or across filesystems
20
Q

How are links created?

A

Using the ‘ln’ or ‘ln -s’ command, then the name of the existing file and the new name afterwards

21
Q

How can output be redirected to a file rather than to a shell?

A

By using ‘>’ and ‘»’ (‘>’ is overwrite, ‘»’ is append) after a command and before the name of a file

22
Q

How can input be taken from a file rather than from a user’s input

A

By using

23
Q

How can the output of one command be given as the input to another command

A

By using a pipe symbol (‘ | ‘)

24
Q

What is the data throughput rate?

A

The number of bytes (or bits) that can go across the bus in one second

25
Q

What is the calculation to work out throughput rate?

A

throughput = speed x width