jan 2013 Flashcards

1
Q

What is spooling an acronym for?

A

simultaneous peripheral operations on line

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

What are the uses of spooling?

A

allows sharing on a network
avoids delays / frees processor
allows jobs to be prioritised
avoids speed mismatch

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

What is spooling in the context of printing?

A

output data to disk drive/storage device

for printing at another time

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

examples of utility in an operating system?

A

anti virus
defragmenters
compressors
cleaners

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

Data security in an operating system?

A

use of passwords
access rights
encryption

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

role of memory management?

A
partitioning
allocates memory
virtual memory
paging
segmentation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What happens in lexical analysis?

A
strips out comments and white space
replaces reserved words with tokens
variable names stored for later use
error messages output if necessary
resulting tokens fed into syntax analysis
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

definition of token

A

a string of binary digits of fixed length

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

What happens during syntax analysis?

A

tokens checked to see if the rules of the language are being followed
errors detected are passed to the user
if no errors - goes to code generation phase

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

features of von nuemann

A

single control unit
program stored with data in the same format
one instruction at a time

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

definition and use of registers

A
location in the processor
used for a particular purpose
temporarly stores data
allows very high access speeds
allows frequent exchange of data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Role of the Current Instruction Register?

A

contains the instruction to be executed
splits instruction into component parts
holds opcode while its decoded
sends the address to the MAR for accessing data
sends address to PC for jump instruction
determines the type of addressing to be used

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

Describe a procedural language?

A
imperative language
statements in blocks
called procedures and functions
program states what to do and how to do it
statements in a specific order
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What does BNF stand for?

A

Backus-Naur form

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

What is BNF used for?

A

defining terms unambiguously in a computer language

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

What are high level languages used for?

A
more complex programs
problem orientated
portable
easier to maintain
uses library routines
17
Q

indirect addressing

A

uses addressing field as a pointer (vector)
… to the address to be used
increases the size of the address that can be used
allows a wider range of locations to be accessed

18
Q

relative addressing

A

allows real address to be calculated by adding a base address
… to the operand
relative address is an offset
can be used for arrays/ branching

19
Q

purpose of views of data

A

provides access to relevant data
… for a routine task
without the need to write code
can restrict data to confidential data

20
Q

parts of an object diagram?

A

dotted lines - lifelines
arrows - messages
boxes - activation