JNTU
JNTU B.Tech II COMPUTER ORGANIZATION Previous Question Paper (December - 2017 - R13)
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.
PART-A
Give an example each of Zero-address, One-address, two-address and three-address instruction.
Answer
Zero-address: ADD (adds top two operands from stack)
One-address: LOAD A (loads operand from memory address A into accumulator)
Two-address: MOVE A, B (moves content of memory address B to memory address A)
Three-address: ADD A, B, C (adds content of memory address B and C, stores result in memory address A)
Write a program that can evaluate the expression A * B + C * D, in a single-accumulator processor. Assume that the processor has Load, store, Multiply, and Add instructions and that all values fit in the accumulator.
Answer
A * B + C * D
- LOAD A
- MUL B
- STORE R1
- LOAD C
- MUL D
- ADD R1
- STORE Result
Explanation:
1. Load the first operand 'A' into the accumulator.
2. Multiply the accumulator content by 'B'. The result (A*B) is in the accumulator.
3. Store the intermediate result (A*B) in a temporary memory location R1.
4. Load the next operand 'C' into the accumulator.
5. Multiply the accumulator content by 'D'. The result (C*D) is in the accumulator.
6. Add the content of the accumulator (C*D) with the value stored in R1 (A*B). The final result (A*B + C*D) is in the accumulator.
7. Store the final result in a memory location.
What is the basic advantage of using interrupt-initiated data transfer over transfer under program control without an interrupt?
Answer
Sign in to view the complete answer paper.
What are the functions of typical I/O interface?
Answer
Sign in to view the complete answer paper.
Explain the terms Hit Ratio and Miss ratio.
Answer
Sign in to view the complete answer paper.
How many 128 x 8 RAM chips are needed to provide a memory capacity of 2048 bytes? How many lines of address bus must be used to access 2048 bytes of memory? How many of these lines will be common to all chips?
Answer
Sign in to view the complete answer paper.
In Intel microprocessor what is meant by segment register?
Answer
Sign in to view the complete answer paper.
What are the functions of flag registers in 8086 microprocessor?
Answer
Sign in to view the complete answer paper.
List few branch and call instructions.
Answer
Sign in to view the complete answer paper.
What are assembler directives?
Answer
Sign in to view the complete answer paper.
PART-B
Explain different functional units of a digital computer.
Answer
Sign in to view the complete answer paper.
Mention the four types of operations to be performed by an instruction in a computer. What are the basic types of instruction formats? Give examples.
Answer
Sign in to view the complete answer paper.
What is an interrupt? What are the uses of interrupts? Explain about the different type of interrupts?
Answer
Sign in to view the complete answer paper.
What is an addressing mode? List the different types of addressing modes. Explain index addressing mode with example program.
Answer
Sign in to view the complete answer paper.
A CPU with a 20-MHz clock is connected to a memory unit whose access time is 40 ns. Formulate a read and write timing diagram using a READ strobe and a WRITE strobe. Include the address in the timing diagram.
Answer
Sign in to view the complete answer paper.
Describe in detail about IOP organization.
Answer
Sign in to view the complete answer paper.
Describe the data transfer method using DMA.
Answer
Sign in to view the complete answer paper.
Why are the read and write control lines in a DMA controller bi-directional? Under what condition and for what purpose are they used as inputs? Under what condition and for what purpose they used as outputs?
Answer
Sign in to view the complete answer paper.
Consider a processor running a program. 30% of the instructions of which require a memory read or write operation if the cache bit ratio is 0.95 for instructions and 0.9 for data. When a cache bit occurs for instruction or for data, only one clock is needed while the cache miss penalty is 17 clocks to read/write on the main memory. Work out the time saved by using the cache, given the total number of instructions executed is 1 million.
Answer
Sign in to view the complete answer paper.
Explain in detail about associative mapping technique.
Answer
Sign in to view the complete answer paper.
A magnetic disk system has the following parameters: Ts = average time to position the magnetic head over a track; R = rotation speed of disk in revolutions per second; Nt = number of bits per track; Ns = number of bits per sector. Calculate the average time Ta that it will take to read bits per inch?
Answer
Sign in to view the complete answer paper.
Explain in detail about virtual memory.
Answer
Sign in to view the complete answer paper.
What is pipelining? What are its principles?
Answer
Sign in to view the complete answer paper.
Describe with examples how a 20 bit physical address of an instruction is generated in 8086 microprocessor? Explain the functions of following pins in 8086 microprocessor: i) NMI ii) DEN iii) QS0 - QS1.
Answer
Sign in to view the complete answer paper.
Write the special functions of general purpose registers.
Answer
Sign in to view the complete answer paper.
Register R5 is used in a program to point to the top of a stack. Write a sequence of instructions using the Index, Autoincrement, and Autodecrement addressing modes to perform each of the following tasks: i) Pop the top two items of the stack, add them, and then push the result onto the stack. ii) Copy the fifth item from the top into register R3. iii) Remove the top ten items from the stack.
Answer
Sign in to view the complete answer paper.
Write an ALP for sorting Ascending and Descending order of a series.
Answer
Sign in to view the complete answer paper.
Describe with the neat diagram the architecture of 8086 Microprocessor.
Answer
Sign in to view the complete answer paper.