Systems Flashcards
What are the steps of the fetch-execute cycle?
Step 1 - The processor sets up the address bus with the address xxx.
Step 2 - The processor activates the read line on the control bus/the control unit activates the read line.
Step 3 - An instruction is fetched from the memory location using the databus (and stored in the instruction register).
Step 4 The instruction in the instruction register is then interpreted by the decoder and carried out
Name and describe features of a declarative language.
Use variables which can be applied to existing fact/rules.
Reduces the need for repetition of facts/ additional lines of code.
Adds information/meaning based on other facts/rules.
Establishes relationships between facts/rules.
Can implement recursion.
OR
Queries
allow facts/rules to be interrogated
OR
Pattern matching
allows facts/rules to be matched.
Describe an advantage of using Unicode over ASCII, making reference to the number of bits used to represent a character in each format.
Unicode can represent more characters.
2^16 when compared to ASCII 2^8/2^7
OR
uses 16 bits compared to 8/7
What are the ways to improve performance in modern computer architecture
Increased use of cache Multi-core/number of processors. Increase width of data bus. Increase clock speed. Increase RAM/memory. Increase use of solid state.
How does the number of processors relate to performance?
Simultaneous execution of instructions/parallel processing.
How does increasing the width of the data bus improve performance?
More bits transferred in a single operation.
How does increasing the clock speed improve performance?
More fetch-executes per clock pulse
How does increasing RAM/memory improve performance?
Reduces the need/faster access to access slower backing storage
John has downloaded a new computer game but finds that it does not run on his computer.
State one software reason why the game may not be compatible.
Version of/out of date operating system.
Downloaded file is corrupt.
John has downloaded a new computer game but finds that it does not run on his computer.
State one hardware reason why the game may not be compatible.
Insufficient amount of RAM/memory.
Minimum clock speed not available.
Version of processor.
Version of graphics card.
Explain the role of the memory management function of the operating system when a user loads the xxx program.
Tracks/checks available memory.
Allocates space/addresses in RAM for the function.
Protects other processes.
A stereo sound file lasting 2 minutes with a sample rate of 96 kHz and sample depth of 16 bits is stored on a computer.
Calculate the storage size of the uncompressed sound file.
96000 x 16 x 120 x 2 = 368 640 000/8 = 46 080 000/1024 = 45 000/1024 = 43∙9 Mb
Name a function of the operating system and describe one task it will perform when creating an external file.
File management (1 mark): o identifies a free space on backing storage to place file (1 mark) OR o Updates/checks file directory (1 mark) Memory management (1 mark): o locates data in main memory (1 mark) OR o allocates main memory for process (1 mark) Input/Output (1 mark): o transfer from memory to backing storage (1 mark) Resource allocation (1 mark): o managing processes and memory (1 mark)
Explain how cache improves performance.
Stores frequently accessed instructions/data Faster access times than main memory Fewer accesses to slower main memory On the same chip as the processor Cache is static RAM (faster)
Describe how video is compressed using interframe and intraframe compression.
Interframe saves the differences between frames
Intraframe compresses a single frame (using RLE or ‘blocking’ shades of colours)