14 Suppose a machine language uses op codes that are 7 bits
14) Suppose a machine language uses op codes that are 7 bits long. What is the maximm mmber of distinct instructions this language could have? b) 14 c) 49 d) 128 e) 256
Solution
14) The answer is 128 i.e. option d
Because if there are n bits for op-codes then it will have 2n distinct op codes. here n=7 So 27=128
15) (b) Secondary memory
Becasue the four sub systems of Von Neumann Architecture are:
Memory Unit,ALU, Control Unit, Input/Output unit. Primary unit comes under memory unit.
17) (d) 8 bytes
For long and double primitive data types the memory storage is 8 bytes.
18) (c) 4
19) (b) 2
