All mock tests are FREE till 31 December — register to save your progress
Paper 2 CS · UNIT 02 · MOCK TEST

Computer System Architecture — Mock Test 4

25 questions · about 30 minutes. Press End Mock any time to see your score and the correct answers.

0 / 25 answered 00:00
Q1. Let R1 and R2 be two 4-bit registers that store numbers in 2's complement form. For the operation R1 + R2, which values of R1 and R2 give an arithmetic overflow?
Q2. Consider the Boolean expression F = (X + Y + Z)(X′ + Y)(Y′ + Z). Which of the following Boolean expressions is/are equivalent to F′ (the complement of F)?
A. (X′ + Y′ + Z′)(X + Y′)(Y + Z′)
B. XY′ + Z′
C. (X + Z′)(Y′ + Z′)
D. XY′ + YZ′ + X′Y′Z′
Choose the correct answer from the options given below:
Q3. Which of the following statements is/are true?
A. The processor has direct access to both primary and secondary memory.
B. Primary memory stores the active instructions and data of the program being executed.
C. Secondary memory is used as backup memory.
D. The memory system is implemented as a single-level memory.
Choose the correct answer from the options given below:
Q4. Match List I (8085 instructions) with List II
List IList II
A. DAAI. Program Control Instruction
B. LXIII. Interrupt instruction
C. RSTIII. Data Movement Instruction
D. JMPIV. Arithmetic Instruction
Q5. The sequence of events during a typical instruction fetch is:
A. Memory
B. MBR
C. MAR
D. PC
E. IR
Choose the correct order from the options given below:
Q6. Which one of the following types of memory is the fastest?
Q7. The memory size for n address lines and m data lines is given by
Q8. Simplify the following using a K-map: F(A, B, C, D) = Σ(0, 2, 5, 7, 8, 10, 13, 15)
Q9. Consider an unpipelined machine with 10 ns clock cycles which uses four cycles for ALU operations and branches, and five cycles for memory operations. The relative frequencies of these operations are 40%, 20% and 40% respectively. Due to clock skew and setup, the pipelined machine adds 1 ns overhead to the clock. How much speedup is observed in the instruction execution rate when a pipelined machine is considered?
Q10. Which of the statements is not true in regard to virtual memory?
Q11. Which of the following is/are true for Dynamic RAM (DRAM)?
1. It is slower than static RAM (SRAM)
2. Packing density is higher than static RAM (SRAM)
3. It is faster than static RAM (SRAM)
4. It requires data refreshing
Choose the correct answer from the options given below:
Q12. Which of the following statements is/are false?
1. The processor has direct access to both primary and secondary memory
2. Primary memory stores the active instructions and data for the program being executed on the processor
3. Secondary memory is used as a backup memory
4. A memory system is implemented on a single-level memory
Choose the correct answer from the options given below:
Q13. Match List I with List II (8085 addressing modes).
Choose the correct answer from the options given below:
List IList II
a. Direct addressingI. MVI A, FFH
b. Indirect addressingII. MOV A, B
c. Register addressingIII. STA FFFFH
d. Immediate addressingIV. MOV A, M
Q14. The correct sequence in the fetch–execute cycle is ______.
I. Decode
II. Fetch
III. Execute
Q15. Consider a memory system with addresses spaced at a distance of m (stride), T = bank cycle time and n = number of banks. Then the average data access time per word in a synchronous (interleaved) organisation is
Q16. In a multiprocessor system, the crossbar switch interconnection network is an example of a
Q17. The representation of the 4-bit code 1101 as a 7-bit even-parity Hamming code is
Q18. The number of gate inputs required to realise the expression ABC + AB′CD + EF′ + AD is
Q19. Consider a logic circuit with 8 input lines (D0, D1, …, D7) and 3 output lines (A0, A1, A2) specified by:
A2 = D4 + D5 + D6 + D7
A1 = D2 + D3 + D6 + D7
A0 = D1 + D3 + D5 + D0
where + is logical OR. This circuit is a(n)
Q20. The total storage capacity of a floppy disk having 80 tracks and storing 128 bytes/sector is 163,840 bytes. How many sectors does this disk have (per track)?
Q21. In a cache memory, if the address has 9 bits in the tag field and 12 bits in the index field, the sizes of main memory and cache memory would be, respectively,
Q22. A 4-stage pipeline has stage delays of 150, 120, 160 and 140 ns. Registers between the stages have a delay of 5 ns. Assuming a constant clocking rate, the total time required to process 1000 data items is
Q23. Match List I with List II.
Choose the correct answer from the options given below:
List IList II
A. Stack overflowI. Software interrupt
B. TimerII. Internal interrupt
C. Invalid opcodeIII. External interrupt
D. Supervisor callIV. Machine check interrupt
Q24. A magnetic tape drive has a transport speed of 200 inches per second and a recording density of 1600 bytes per inch. The time required to write 600000 characters of data grouped into 100-character records with a blocking factor of 10 is
Q25. Statement I: Consider the 20-bit 'branch' microinstruction format: F1 (3 bits) | F2 (3) | F3 (3) | CD (2) | BR (2) | AD (7), where F1, F2, F3 are micro-operation fields, CD = condition for branching, BR = branch field and AD = address field.
Statement II: An instruction in the above format can branch on 4 conditions.
Choose the most appropriate answer.