Computer Organization Assignment and Question bank
Computer Organization Assignment and Question bank
Example answer ALU - Part of a processor that performs arithmetic and logical
operations;
4) Outline the role of the memory data register in the machine execution cycle.
Example Answer
Holds (a copy of) the contents of the memory;
Which are to be transferred from/to memory to/from other CPU components;
Allowing the processor and memory to act independently/processor not affected by
differences in the speed of operation;
5) Develop the diagram of the CPU Showing connections between the elements mentioned
above
6) Construct a truth table and logical diagram for the following Boolean expressions
b) (A or B) and (not C or B)
c) A xor (B or C)
d) NOT A OR B AND C.
e) not A or (A and B)
g)
h)
Example Answer
i)
Example Answer
7) Outline the relationship between binary and hexadecimal.
11)
Example Answer
14) Explain two functions that an operating system needs to perform in relation to
multitasking.
Example Answer
Memory management;
OS allows more than one program/process to share the memory;
By allocating separate memory to each program;
Provides memory isolation for each of processes;
The system may begin to run out of shared storage (as many programs are running) so
OS moves pages to disk/paging; etc.
Processor Management;
To allow (the appearance of) more than one program running at the same time;
By the allocation of time slices;
Decides which process runs at a certain point in time;
Arrange the execution of applications so that you believe that there are several things
happening at once (scheduler);
Prioritizes tasks by importance (interrupts); etc.
15) Explain the importance of the memory management function of an operating system.
Note Mention the following in your answer
The function of the memory management
An example if its use
Reason for the importance
16) (a) State the purpose of cache memory.
(b) Draw a diagram to show the relationship between random access memory (RAM),
the processor and cache memory.
Example Answer
17) Explain why cache memory can speed up the processing within a computer.
Example Answer
Cache memory can be accessed/is faster than RAM;
It is used to hold common/expected/frequently used data/operations;
Closer to CPU than RAM/situated between RAM and CPU/on same board as CPU/with
faster
read/write speed;
Cache memory is static RAM and this memory doesn't need to be constantly refreshed;
19)
a)
b)
Example Answer
a)
b)
20)
]]
Example Answer
21) The machine instruction cycle is the process by which a program instruction is
fetched, decoded, executed and the results are stored.
(a) State where all instructions and data are stored.
(b) Outline the role of the data bus and address bus in this process.
Example Answers
(a) Primary memory / RAM
(b)
Example Answer-1
Buses are used as physical connections to carry information to the CPU;
The data bus transports data from/to CPU, whereas the address bus the memory
address where the data is supposed to go/be;
Example Answer- 2
Data bus is a physical connection to transport data from-to CPU to be processed;
Address bus is a physical connection to transport an address of memory storage
where data (transported in the data bus) should be read/written;
22)
Example Answer
23)
a) Define the term peripheral.
b) Identify two features of a graphical user interface (GUI).
c) Outline the purpose of the memory address register (MAR) in the central processing
unit (CPU).
d) Outline why single processor computers may not be able to render 3D graphics
effectively.
Example answer
d) Single processor is mainly occupied with the OS jobs / might not be able to handle
multiple jobs/;
Rendering 3D graphics requires a great deal of processing (which a single processor
may not be able to give);
If attempting rendering on a single processor, a (very) high clock speed is required;
which may not be available;
3D graphics processing is (inherently) parallel;
A single processor is not able to handle parallel processing;
24)
a) Outline one advantage of using virtual memory.
b) Outline one disadvantage of using virtual memory.
Advantage Allows more applications to run than there is available physical memory;
By the use of page/swap files/part of hard disk as primary memory;
Larger application can run With less real RAM;
Disadvantage
Applications run more slowly;
Uses hard drive memory as primary memory / takes more time to switch between
applications;
When a computer's virtual memory resources are overused /Reduced amount of
hard drive space available for your use;
programs lock-up/do not run/disk thrashing;
26)
Example Answer
27)
Example Answer 3)
28)
Example Answer
29)
Example answer
30) Calculate the denary (base 10) equivalent of the hexadecimal number BF.
Example Answer
11 x 16 + 15;
191;
31) Identify one advantage of using a dedicated operating system on a mobile phone.
Example Answer
Makes maximum use of the available (limited) memory to provide the features needed
for the phone;
Does not waste memory space with unwanted/inappropriate features;
Ensures a higher level of security;
Makes efficient use of hardware equipment;
Suited to available hardware equipment;
32) State two differences between primary storage and secondary storage.
Primary storage is accessed by a computer's central processing unit (CPU) and secondary
storage is not accessed directly by the CPU;
Primary storage has lower access time / has smaller capacity/ more expensive type of
memory than secondary storage (which is slower than primary storage, with larger capacity
but it is cheaper);
Primary storage is volatile (uses random-access memory (RAM), cache memory, or some
other specialized hardware to store data while the computer is powered on/ volatile
devices), whilst secondary storage on a computer is provided by non-volatile devices (such
as SSD or HDD);
Primary storage holds data temporarily whilst data is kept permanently/ for a long time in
secondary storage;
Primary storage holds currently running programs/data/operating system, secondary
storage does not;
34)
Example Answer
36)