Last min paper 1 notes Flashcards
What is meant by the term register
A temporary storsge space within the cpu, which may have a specific purpose
What devices would use cisc or risc
Risc = portable device (phone\tablet)
cisc = desktop\laptop
What are the benefits and limitations of parallel processing?
Benefits:
-makes maximum use of cpu
-execute code more efficient
-processing large amounts of data quicker
limitations:
-hardware is more expensive
-not all data is suitable
Why would a self service system have its boot system stored in ROM?
-Rom leads to faster start-up times
- operating system is unlikely to be altered with
What is interpreted language and compiled and advantages?
Interpreted language is translated from low level language to machine code, this is translated line by line
-easily spots errors
-no need to wait full compilation
compiled language is high level language to machine code this is translated in its entirety
-runs more quickly than interpreted
-can run without viewing
-
What is lexical Analysis?
Unecessary spaces are removed
source code is broken into tables
unnecessary spaces are removed
What is syntax analysis?
Order of tokens is checked to see whether the rules of the language are being followed,
parse tree is produced
What is semantic analysis?
Checks that all variables used have been declared
checks that the operations are legal
checks that the data is assigned to appropriate data types
Describe the role of linkers and loaders?
A linker combines multiple code objects and libraries into a single executable file , a loader is an operating system component that loads programs Into main memory
why is a record more appropriate than an array for storing data?
An array cant store multiple data types , whereas a record can
what are the benefirts of using an open source code?
free of cost
can tailor the program to their specific needs
can open for bugs to be opened and fixed
what are the three basic programming constructs?
-Branching(selection)j
-sequence
-iteration
What are functions? And examples
Functions returns a value
examples are :
int
print
input
What is optical storage ? and its characteristics
-This is binary stored as variations on the surface of a dick,
this can be read from the lands and the pits of the surface area of a disk.
-Data is written with a laser
small capacity
good portability
easily damaged
what is magnetic storage? and it charactersitcs
This consists of data magnetic hard drives and magnetic tapes, this understands data through electromagnets. parts of the surface are magnetised or demagnetised.
large capacity
cheap to buy
not durable
not portable