MEDIUM
HSSC Clerk
IMPORTANT
Earn 100

Increasing the RAM of a computer typically improved performance because:

50% studentsanswered this correctly

Important Questions on Computer Organization & Architecture

MEDIUM
HSSC Clerk
IMPORTANT
Match each of the high-level language statements given on the left-hand side with the most natural addressing mode from those listed on the right-hand side.
List-I List-II
P. A[I] = B[J] 1. Indirect addressing
Q. while(* A++); 2. Indexed addressing
R. int temp = * x; 3. Auto increment
MEDIUM
HSSC Clerk
IMPORTANT
Consider a direct-mapped cache of size 32 k byte with block size 32 bytes. The CPU generates 32 bit address. The number of bits needed for cache indexing and the number of tag bits are respectively.
MEDIUM
HSSC Clerk
IMPORTANT

The most appropriate matching for the following pairs:

X : Indirect addressing 1. Loop
Y: Immediate addressing 2. Pointers
Z : Auto decrement addressing 3. constants
MEDIUM
HSSC Clerk
IMPORTANT
Addressing mode facilitates access to an operand whose location is defined relative to the beginning of the data structure in which it appears.
MEDIUM
HSSC Clerk
IMPORTANT
Which of the following addressing modes are suitable for program relocation time?
1. Absolute addressing.
2. Based addressing.
3. Relative addressing.
4· Indirect addressing.
MEDIUM
HSSC Clerk
IMPORTANT
Which of the following instructions is an example of direct addressing mode? 
MEDIUM
HSSC Clerk
IMPORTANT

An instruction is stored at location 300 with its address field at location 301 the address field has value 400. A processor register R1 contains the number 200. Evaluate the effective address, matching the following addressing modes to their respective address.

a. Direct 1. 702
b. Immediate 2. 200
c. Relative 3. 400
d. Register indirect. 4. 600
e. Index (R1 is indirect) 5. 300