jan 2012 Flashcards
high priority interrupt
power failure/hardwarre failure
explain the data structure used while interuots are serviced
stack lifo store the contents of registers to return values to registers ...in order to resume processing
how is an interrupt detected during the fetch execute cycle
interrupt register checked at the start of each cycle
compares priority of current task with priority of the interrupt
machine code
binary notation/executable form
set of all available instructions
operates on bytes of data
dependant on proccesor design
steps of an assembler
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
why are library routines used
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
features of files that can be merged
records have a common key
records in all files must be in the same order
uses of a queue in a computer system
spool queue
job queue in batch processing system
handling of jobs in round robin system
arrows in activity diagram
transition
term written in square brackets in activity diagram
condition statements
benefits of using procedures
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
describe a dbms - data management system
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
tasks the dbms performs
finds data adds new data updates data maintains indexes enforces data integrity rules manages access rights