paper 2 exam q Flashcards
A minimum color depth of two bits is needed to store the image. Explain how the image in can be represented as a bitmap. (3 marks)
The pixels are stored consecutively (1)
each color could be represented by a unique 2-bit pattern (1)
. the bitmap will need the width and height included (1)
Give one reason why a CPU with two cores might perform faster than an equivalent CPU with only one core. (1)
The processor with two cores may be able to process two instructions simultaneously (1)
Give one example of a type of volatile memory in a computer system (1 mark)
RAM
Explain why secondary storage is required in a computer system. (2 marks)
For Storing data / files (1) using non-volatile storage (1)
Explain the role of main memory in the execute stage of the Fetch-Execute cycle.(2 marks)
Data required by an instruction may be fetched from main memory (1)
Result of instruction may be stored in main memory (2)
State one advantage of writing programs in assembly language instead of a high-level language. (1 marks)
Programs written in assembly language run faster (1)
Describe two differences between a PAN and a WAN (2 marks)
PAN centered round a person (1) PAN and WAN use different protocols (2)
State two differences between a bus topology and a star topology (2 marks)
A bus network has all computers connected to a backbone (1)
All devices / computers on a bus network see all data transmitted (1)
What are 2 benefits of relational databases? (2)
Redundant data is less likely to be stored (1)
There are less likely to be data inconsistences (1)
State 4 functions of an operation system (4)
Process management (1)
Memory management (1)
Applications management (1)
Security management (1)
State 2 statements about code written in low-level language than high-level language. (2 marks)
Code is not translated using a compiler (1)
Code can directly manipulate computer registers (2)
State the purpose of an assembler (1)
To translate assembly language into machine code (1)
Explain how an interpreter works (4 marks)
-they don’t produce machine code so program needs to be translated every execution (1)
-call machine code subroutines in their own code to carry out commands (1)
-they translate line at a time which is then executed (1)
-if a runtime error is found then interpreter stops (1)
State 2 reasons why computers have more RAM then cache memory (2)
RAM is cheaper per byte (1)
Capacity of cache cannot store both data and programs (1)
State 2 advantages of using cloud storage over local storage (2)
Enables user to access data from more places (1)
Enables user to share data more easily with users (1)