Practice Set Questions of Unit-5 & Unit-6 Questions
Practice Set Questions of Unit-5 & Unit-6 Questions
Practice Set Questions of Unit-5 & Unit-6 Questions
7. Which algorithm chooses the oldest page whenever the page required to be replaced?
a. first in first out algorithm
b. additional reference bit algorithm
c. least recently used algorithm
d. counting based page replacement algorithm
Ans: - a
8. Cache memory acts between
(A) CPU and RAM (B) RAM and ROM (C) CPU and Hard Disk (D) None of these Ans: A
9. Write Through technique is used in which memory for updating the data
(A) Virtual memory
(B) Main memory
(C) Auxiliary memory
(D) Cache memory
Ans: D
10. Generally Dynamic RAM is used as main memory in a computer system as it
(A) Consumes less power
(B) has higher speed
(C) has lower cell density
(D) needs refreshing circuitry
Ans: B
11. If the main memory is of 8K bytes and the cache memory is of 2K words. It uses
associative mapping. Then each word of cache memory shall be
Ans: -c
Ans:-a
20. Which of the following is not the part of hardware implementation of Addition and
Subtraction:
a. Parallel subtractor
b. Parallel adder
c. Mode of control
d. Complementor
Ans:-a
21. In ____________ mapping, the data can be mapped in a fixed line in the Cache Memory.
a) Associative
b) Direct
c) Set Associative
d) Indirect
Ans:-b
22. Generally Dynamic RAM is used as main memory in a computer system as it (A)
Consumes less power (B) has higher speed (C) has lower cell density (D) needs refreshing
circuitary Ans: B
23. Memory unit accessed by content is called
(A) Read only memory
(B) Programmable Memory
(C) Virtual Memory
(D) Associative Memory
Ans: D
24. Which of the following is correct about the Associative Memory: - 1. Accessed by
content
2. Uses to search pattern
3. Uses hardware circuits
4. Less costly
a. 1,2
b. 1,2,3
c. 1,4
d. All of these
Ans:-b
25. For a 3 page frame the following is the reference string: 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1
How many page faults does the LRU algorithm produce?
a. 10
b. 11
c. 12
d. 15
Ans:-b
26. For a 3 page frame the following is the reference string: 7,0,1,2,0,3,0,4,2,3,0,3,2,1,2,0,1,7
How many page hits does the optimal algorithm produce?
a. 10
b. 7
c. 9
d. 8
Ans- c
a. 1's complement
b. 2's complement
c. 3's complement
d. 9's complement
Ans:-b
28. Fage Faults related to optmal, decoder lines, memory
29. Which of the following memory unit communicates directly with the CPU?
a. Auxiliary memory
b. Main memory
c. Secondary memory
d. None of the above
Ans: b
30. Which of the following techniques used for the page replacement: -
1. LRU
2. FIFO
3. Direct mapping
4. Associative mapping
a. 1 only
b. 1 and 2
c. 3 and 4
d. All of these
Ans:- b
Ans: - b
Ans: - d
Ans: - a
37. The address of a terminal connected to a data communication processor consists of two
letters of the alphabet or a letter and one of the 10 numerals. The total number of
addresses is equal to the size of a main memory in bytes. If a Ram size is 128 bytes, then
how many minimum numbers of Ram is required to design the memory?
a. 8
b. 16
c. 32
d. 4
Ans: - b
38. Consider a memory system with cache- access time of 100 n sec and a
memory access time is 1200 n sec. If the effective time is 20% greater than
the ache access time, what is the hit ratio(H)?
a. 119/120
b. 180/190
c. 118/120
d. 108/110
Ans :- c
39. In Add and Subtract Operation algorithm E= 0 represents that:-
a. A>B
b. A<B
c. A=B
d. All of these
Ans:- b
40. How many 128 x 8 RAM chips are needed to provide a memory capacity or
2048 bytes?
a. 12
b. 13
c. 14
d. 16
Ans: -d
41. How many 128 x 8 RAM chips are needed to provide a memory capacity or
1024 bytes?
a. 64
b. 8
c. 32
d. 16
Ans: - b
42. How many 128 x 8 RAM chips are needed to provide a memory capacity or
4096 bytes?
a. 64
b. 32
c. 8
d. 16
Ans; -b
43. A 128 x 8 RAM chips are used to provide a memory capacity or 4096 bytes.
How many lines must be decoded for chip select in decoder?
a. 2
b. 3
c. 4
d. 5
Ans: - d
Mathematical questions: -
44. Consider a direct mapped cache of size 16 KB with block size 256 bytes. The
size of main memory is 128 KB. Number of bits in tag is:-
45. Consider a direct mapped cache of size 8 KB with block size 1 KB. There are
4 bits in the tag. Size of main memory is:-
a. 128 KB
b. 64 KB
c. 256 KB
d. 32 KB
Ans :- a
46. In cache direct mapping, the address of CPU gets divided into which two
parts?
a. Index, Code
b. Sequence, Tag
c. Index, Tag
d. None of above
Ans: - c
47. Computer memory used as backup storage is called____________.
a. cache memory
b. virtual memory
c. auxiliary memory
d. main memory
Ans: -c
48. The magnetic disk’s surface is divided into a number of invisible concentric circles
called:
a. Drives
b. Tracks
c. Spindle
d. Sectors
Ans: - b
49. The smallest physical storage unit on the magnetic disk is called: -
a. Drives
b. Tracks
c. Spindle
d. Sectors
Ans: - d
50. Consider a direct mapped cache of size 8 KB with block size 4 bytes. The
CPU generates 16-bit address. The no. of bits required for cache indexing
(Line bits) and bits respectively: -
a. 3,11
b. 4,10
c. 5,9
d. 6,10
Ans:- a
51. Consider a direct mapped cache of size 4 KB with block size 4 bytes. The
CPU generates 16-bit address. The no. of bits required for cache indexing
(Line bits) and bits respectively: -
a. 3,11
b. 4,10
c. 5,9
d. 6,10
Ans:-b
52. Consider a direct mapped cache of size 2 KB with block size 4 bytes. The
CPU generates 16-bit address. The no. of bits required for cache indexing
(Line bits) and bits respectively: -
a. 3,11
b. 4,10
c. 5,9
d. 6,10
Ans: - c
53. The disk platters mounted on a spindle and the heads mounted on a disk arm
are together known as ___________
a. Read-disk assemblies
b. Head–disk assemblies
c. Head-write assemblies
d. Read-read assemblies
Ans: - b
54. A computer system has a cache with cache access time 20ns, hit ratio of 80%
and average memory access time of 36ns. The access time for physical
memory is ……. ns?
a. 100
b. 120
c. 80
d. 50
Ans: - a
55. If the size of a main memory (in KB) is given by the value of the postfix expression 4 7 2 1
+ – *?. If a Ram size is 256*8, then how many minimum numbers of Ram is required to
design the memory?
a. 64
b. 128
c. 32
d. 256
Ans: -64
56. If the size of a main memory (in KB) is given by the value of the postfix
expression (4 7 2 1 + – *?). If a Ram size is 64*8, then how many minimum
numbers of Ram is required to design the memory?
a. 64
b. 128
c. 32
d. 256
Ans:-d
57. For Qn Qn+1 =01 which operation get performed in booth multiplication
algorithm?
a. Addition of AC& BR
b. Subtraction of AC & BR
c. Multination
d. None of these
Ans: - a
58. In Add and Subtract Operation algorithm E= 1 represents that:-
a. A>B
b. A<B
c. A=B
d. None of these
Ans: - d
Ans: - a
Ans:- c
Solution: -