paper 1 systems Flashcards
(53 cards)
describe what is meant by von neumann architcture (2)
- both data and instructions share the same memory
- has a single set of busses for instructions and data
- has an ALU
- has a single CU
one way how harvard and von neumann architecture differ (1)
harvard has seperate memory for data and instructions
2 ways a processor can be upgraded
- higher/ faster clock speed
- more cores
define pipelining (3)
- concurrent processing of multiple instructions
- the output of one process/instruction is the input of the next
- one instruction can be fetched while another is decoded
explain one benefit of using pipelining(2)
*more instructions can be carried out in a set amount of time/less time
* …increasing the speed/performance/efficiency of program
describe how the accumulator is used during FDE (2)
- holds all input/output
- holds results of calculations from ALU
describe how the program counter is used during FDE (2)
- hold address/location of next instruction to be fetched/executed
*contents copied to MAR at start of FDE
state 3 registers other then ALU,PC
*MAR
*MDR
*CIR
*IR
state what is meant by the term ‘primary key’ (1)
field that is unique, does not repeat
state what is meant by the term ‘foreign key’
a primary key in one table that links to the primary key of another table
what data type would the number 4.99 be
float/floating point
what is boolean data type
true/false
decribe what is meant by a transaction being durable
data/transaction is not lost in case of power/system failure
explain how record locking can be used to ensure that the ACID principle of isolation is achieved when carrying out multiple transactions(3)
- the outcome of concurrent transactions is the same as if transactions were completed sequentially
- record locking allows one user/process to access/ modify record level data at any one time
- data that is used elsewhere cannot be modified
explain how the copyright designs and patents act can apply to all videos that are streamed on a streaming platform (2)
- copyright is assigned to the owner of videos automatically on creation
- making it illegal to copy/distribute videos as your own(without permission)
give one disadvantage of using record locking
- can cause delays
- can cause deadlock
explain the difference in choosing lossy vs lossless compression when streaming videos (5)
Lossy
* permanently removes data
* reduces quality of videos on slower connection
* file size is smaller than lossless
* video will buffer less
Lossless
* keeps original quality
* buffers more
* rewrites original data in a more efficient format
state the purpose of a translator
converts high level/assembly code to low-level/machine code
explain 2 differences between compiler and interpreter (4)
any 2:
compiler translates code all at once
interpreter translates line by line
compiler lists all errors
interpreter stops at first error
compiled programs have hidden source code
interpreter have visible source code
describe the purpose of code optimisation (2)
- to make programs run faster/code more efficient
- to make the program use fewer resources/memory
give one similarity between ASCII and unicode (1)
- both use binary to represent characters
- both are character sets
give 2 differences between ASCII and unicode (2)
- ASCII has fewer characters, unicode has more characters
- ASCII is is 7/8 bits , unicode is 16/32 or variable
explain why the computer’s OS uses a first come first served algorithm when sending documents to the printer (2)
- for printer queue
- all documents/users have equal priority
- FIFO
explain why the computer’s OS uses a round-robin algorithm for allocating processor time (3)
- to enable multitasking
- to switch between active processes and those running in the background
- to limit each process to a certain amount of time
- to ensure the OS cycles thorugh all processes