jan 2012 Flashcards

1
Q

high priority interrupt

A

power failure/hardwarre failure

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

explain the data structure used while interuots are serviced

A
stack
lifo
store the contents of registers
to return values to registers
...in order to resume processing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

how is an interrupt detected during the fetch execute cycle

A

interrupt register checked at the start of each cycle

compares priority of current task with priority of the interrupt

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

machine code

A

binary notation/executable form
set of all available instructions
operates on bytes of data
dependant on proccesor design

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

steps of an assembler

A

reserves storage for instructions and data
mnemonic opcodes repalced by machine code
symbolic addresses replaced by numeric addresses
creates symbol table
… to match labels and addresses
checks syntax

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

why are library routines used

A
to perform common tasks
they are error free
ready to use 
can be used multiple times
use other programmers expertise
may have been written in different source language
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

features of files that can be merged

A

records have a common key

records in all files must be in the same order

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

uses of a queue in a computer system

A

spool queue
job queue in batch processing system
handling of jobs in round robin system

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

arrows in activity diagram

A

transition

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

term written in square brackets in activity diagram

A

condition statements

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

benefits of using procedures

A
procedures tested separately 
easier to maintain program
code is clearly structured 
code is reusable 
use of library routines to save time
program produced faster
procedures can be shared between programmers
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

describe a dbms - data management system

A

software that…
handles the complexities of managing a database
may provide a user interface
may use sql to communicate with other programs
provides different views of data

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

tasks the dbms performs

A
finds data
adds new data
updates data
maintains indexes
enforces data integrity rules
manages access rights
How well did you know this?
1
Not at all
2
3
4
5
Perfectly