JNTU
JNTU MCA 2018 COMPUTER ORGANIZATION Previous Question Paper (January - 2018 - R17)
Note: This question paper contains two parts A and B. Part A is compulsory which carries 25 marks. Answer all questions in Part A. Part B consists of 5 Units. Answer any one full question from each unit. Each question carries 10 marks and may have a, b, c as sub questions.
Part A
Answer all questions. 5 x 5 Marks = 25
Design a 4-to-16 line decoder using 3-to-8 decoders.
Answer
To design a 4-to-16 line decoder using 3-to-8 decoders, we require two 3-to-8 decoders and one NOT gate. A 3-to-8 decoder uses 3 input lines (A2, A1, A0) to produce 8 outputs (Y0 to Y7) and typically includes an enable input (E).
The design logic is as follows:
- Connect the three least significant bits (A2, A1, A0) to the input lines of both 3-to-8 decoders.
- Use the most significant bit (A3) as the control signal for the enable inputs.
- Connect A3 directly to the enable input of the second decoder (active high).
- Connect A3 through a NOT gate to the enable input of the first decoder (active low).
- When A3 is 0, the first decoder is enabled, producing outputs Y0 through Y7. When A3 is 1, the second decoder is enabled, producing outputs Y8 through Y15.
This configuration effectively expands the address space from 3 bits to 4 bits, allowing the selection of one out of 16 output lines based on the input combination.
What is meant by locality of reference? Discuss briefly.
Answer
Locality of reference is a phenomenon observed in computer programs where the CPU tends to access a relatively small portion of its address space at any given time. This principle is the fundamental basis for the effectiveness of memory hierarchies, such as cache memory, as it allows the system to predict future memory accesses and pre-fetch data from slower main memory into faster cache.
It is categorized into two primary types:
- Temporal Locality: If a particular memory location is referenced, it is highly likely that the same location will be referenced again in the near future. This is commonly seen in loops, where instructions and variables are accessed repeatedly.
- Spatial Locality: If a particular memory location is referenced, it is highly likely that nearby memory locations will be referenced soon. This occurs due to the sequential nature of code execution and the storage of data structures like arrays in contiguous memory blocks.
By exploiting these properties, the computer system reduces the average memory access time, significantly improving overall processor performance.
Illustrate direct and indirect addressing modes with an example.
Answer
Sign in to view the complete answer paper.
Write the differences between Isolated I/O and Memory mapped I/O.
Answer
Sign in to view the complete answer paper.
Discuss about the conflicts arise during instruction pipelining.
Answer
Sign in to view the complete answer paper.
Part B
Answer any one full question from each unit. 5 x 10 Marks = 50
Apply Booth’s algorithm to multiply 10111 with 10011.
Answer
Sign in to view the complete answer paper.
Convert the following decimal numbers to binary and octal: i) 4310 ii) 574
Answer
Sign in to view the complete answer paper.
Depict the flowchart for division operation and explain the same with an example.
Answer
Sign in to view the complete answer paper.
Discuss various cache memory mapping techniques with relevant diagrams.
Answer
Sign in to view the complete answer paper.
Write a brief note on Auxiliary memory.
Answer
Sign in to view the complete answer paper.
Consider a direct-mapped cache with 64 blocks and a block size of 16 bytes. To what block number does byte address 1200 map?
Answer
Sign in to view the complete answer paper.
Give an example for illustrating relative and register addressing mode.
Answer
Sign in to view the complete answer paper.
Explain various shift instructions of 8086 processor.
Answer
Sign in to view the complete answer paper.
List and explain various assembler directives of 8086 microprocessor with examples for each.
Answer
Sign in to view the complete answer paper.
Explain programmed I/O and interrupt-initiated I/O modes of data transfer.
Answer
Sign in to view the complete answer paper.
Describe the functionality of Daisy-chaining priority interrupt method.
Answer
Sign in to view the complete answer paper.
Write down the applications of vector processor and explain how to compute matrix multiplication on a vector processor.
Answer
Sign in to view the complete answer paper.
Determine the number of clock cycles that it takes to process 200 tasks in a six-segment pipeline.
Answer
Sign in to view the complete answer paper.
Write a short note on shared memory multiprocessors.
Answer
Sign in to view the complete answer paper.