Professional Documents
Culture Documents
BE-II/IV-Sem-IV Computer Organization - Part-A-2 Marks Questions With Answers-Osmania University
BE-II/IV-Sem-IV Computer Organization - Part-A-2 Marks Questions With Answers-Osmania University
Input Unit: An input device is usually a keyboard or mouse, the input device is the
conduit through which data and instructions enter a computer.
Memory unit: memory is used to store programs and data. There are two classes of
storage, called primary and secondary.
Out put Unit:- An output device is any piece of computer hardware equipment used to
communicate the results of data processing carried out by an information processing
system to the outside world.
Arithmetic-Logic Unit:- The arithmetic-logic section performs arithmetic operations,
such as addition, subtraction, multiplication, and division. Arithmetic-Logic Unit
usually called the ALU is a digital circuit that performs two types of operations—
arithmetic and logical.
Control Unit: All activities inside the machine are directed and controlled by the
control unit.
2. Difference between Reduced instruction set computing and Complex instruction set
computing
3. What are the two I/O interfacing techniques?
The two I/O interfacing techniques are
1. Memory mapped I/O
2. I/O mapped I/O
In a single bus structure, one common bus used to communicate between peripherals and
microprocessors. It has disadvantages due to the use of one common bus. Since the bus can
be used for only one transfer at a time, only two units can actively use the bus at any given
time.
7. What is an instruction register? (Nov/Dec 2016)
IR is the part of a CPU's control unit that holds the instruction currently being
executed or decoded. The output of the IR is available to control circuits which
generate the timing signals that control the various processing elements involved in
executing the instruction.
8. Give the formula for CPU execution time for a program.
CPU execution time for a program = CPU clock cycle for a program / Clock Rate
Unit-2
1. How many 128x8 RAM chips are needed to provide a memory capacity of 2048
bytes?
Given RAM chip has 128 x 8 bits = 128 bytes
Number of chips=memory capacity/Available chip size
The number of chips to address a memory capacity of 2048 bytes = 2048/128
=16 chips
2. List various memory management requirements
Relocation , Sharing, Protection, Logical organization, Physical organization
3. What is meant by address mapping?
The correspondence between the main memory blocks and those in the cache is
specified by address mapping. There are three commonly used methods to translate
main memory addresses to cache memory addresses. They are:
Direct mapping
Associative mapping
Set-associative mapping
4. What is cache memory?
A Cache memory is a small and very fast temporary storage memory. It is designed to
speed up the transfer of data and instructions. It is faster than RAM and the
data/instructions that are most recently or most frequently used by CPU are stored in
cache.
5. Define memory hierarchy.
In computer architecture, the memory hierarchy separates computer storage into a
hierarchy based on response time. Since response time, complexity, and capacity are
related, the levels may also be distinguished by their performance and controlling
technologies.
6. State the advantages of virtual memory.
1. Virtual memory allows processes whose aggregate memory requirement is
greater than the amount of physical memory, as infrequently used pages can
reside on the disk
2. Virtual memory allows speed gain when only a particular segment of the
program is required for the execution of the program
3. It is very helpful in implementing multiprogramming environment.
11. What is the purpose of dirty/modified bit in cache memory? (Nov/Dec 2014)
A dirty bit or modified bit is a bit that is associated with a block of computer memory
and indicates whether or not the corresponding block of memory has been modified. Dirty
bits are used by the CPU cache and in the page replacement algorithms of an operating
system.
16. What are the difference between DRAM and SRAM memory technology?
S.N DRAM SRAM
o
UNIT – 3
1. Define microprocessors?
A programmable integrated chip capable of performing arithmetic and logical
operations similar to that of a CPU. It is referred as CPU on a single chip. It
includes the ALU, register arrays, and control circuits on a singlechip.
2. Define microcomputer?
A computer that is designed using a microprocessor as its CPU. It
includesmicroprocessor, memory and I/O.
3. Define ROM?
A memory that stores binary information permanently. The information canbe
read from this memory but cannot be altered.
4. What is an ALU?
The group of circuit that provides timing and signals to all operation in
thecomputer and controls dataflow.
5. What is Micro controller?
A device that includes microprocessor, memory, and I/O signal lines on asingle
chip, fabricated using VSLI technology
The accumulator is the register used to store the 8-bit data to perform
thearithmetic and logical operations.
11. Define control bus?
This is single line that is generated by the MPU to provide timing
ofvariousoperations.
12. What is a flag? The data conditions, after arithmetic or logical operations, are
indicated by setting or resetting the flip-flops called flags.
13. Why are the program counter and the stack pointer 16-bit registers?
Memory locations for the program counter and stack pointer have 16-ditaddress.
So the PC and SP have 16-bit registers.
14. Define memory word?
The number of bits stored in a register is called a memory word.
14. Specify the number of registers and memory cells required in a 128 x 4memory
chip?
15. Number of registers=128Memory cells required is 128 x 4=512
16. Explain the function of ALU and IO/M signals in the 8085 architecture?
The ALU signal goes high at the beginning of each machine cycle indicating the
availability of the address on the address bus, and the signal is used to latch the
low-order address bus. The IO/M signal is a status signal indicating whether the
machine cycle is I/O or memory operation. The IO/M signal is combined with the
RD and WR control signals to generate IOR, IOW, MEMW, MEMR.
17. If the 8085 adds 87H and 79H, specify the contents of the accumulator and the
status of the S, Z, and CY flag?
The sum of 87H and 79H=100H. Therefore, the accumulator will have 00H, and
the flags will be S=0, Z=1, CY=1.
18. Write down the control and status signals?
Two control signals and three status signalsControl signals: RD and WR Status
signals: IO/M, S1, S2
19. Define machine cycle?
Machine cycle is defined, as the time required completing one operation of
accessing memory, I/O, or acknowledging an external request
20. Define instruction cycle?
Instruction cycle is defined, as the timerequired completing the execution of the
instruction.
21. Draw and explain the programming model of 8085.
Memory mapping is used for transfer of data from Registers to I/O port. It has
Store and Load functions .
Peripheral mapping is used for transfer of data from I/O device to
Microprocessor. It has IN and OUT functions .
25. What is an instruction set? The entire group of instructions, determines what
functions the microprocessor can perform is called instruction set.
26. Give the functional categories of 8085 micro instructions?
o Data transfer operations
o Arithmetic operations
o Logical operations
o Branching operations
o Machine control operations
27. Define Opcode and operand?
The operation to be performed is called Opcode. The data to be operated is called
operand.
3 Cost As single link is used in Serial On other hand multiple links need
Efficient Transmission, comparatively low to be implemented in case of
cost is required for its Parallel Transmission hence more
implementation hence it is cost cost is required and hence it is not
efficient. cost efficient.
4 Performance As single bit gets transmitted per However on other hand as already
clock in case of Serial mentioned that 8 bits get
Transmission, its performance is transferred per clock in case of
comparatively lower as compared Parallel transmission hence it is
to Parallel Transmission. more efficient in performance.
Block Transfer Mode.:In this mode, the DMAC is programmed to transfer all the bytes in one
complete DMA operation.
Demand Transfer Mode: It is very similar to Block Transfer, except that the DREQ must
active throughout the DMA operation.
Cascade Transfer Mode: In this mode, more than one DMACs are cascaded together. It is
used to increase the number of devices interfaced to the µP.
9. Give the commonly used priority modes? Fully Nested mode Automatic rotation
mode Specific rotation mode
10. What do you mean by control logic? This has two pins. INT as an output, and INTA
as an input. The INT is connected to the interrupt pin of the MPU.
11. What are the two modes of DMA execution? Slave Mode, Master mode
12. What are the signals used by the DMA controller? The Signals are: o HLDA o DMA
request o DMA acknowledge o AEN – address enable o ADSTB- address strobe 21.
Give the additional features of 8259A controller? Input triggering Interrupt Status Poll
Method
Unit-5: Part-A
1. What is the purpose of 8255 PPI?
The 8255A is widely used, programmable, parallel I/O device .It can be programmed
to transfer data under various conditions, from simple I/O to interrupt I/O.
2. List the operating modes of 8255A PPI?
Bit set Reset and I/O Modes
3. Specify the bit of a control word for the 8255, which differentiates between the I/O
mode and the BSR mode?
BSR mode D7=0, and I/O mode D5=1
4. What is the use of mode 2 in 8255A PPI?
The mode is used primarily in applications such as data transfer between two
computers or floppy disk controller interface.
5. List the major components of 8257 keyboard/display interface?
Keyboard section Scan section Display section MPU interface
6. What is the purpose for scan section in keyboard interface?
The scan section has a scan counter and four scan lines. These scan lines can be
decoded using a 4-to-16 decoder to generate 16 lines for scanning.
7. What is USART?
USART is an integrated circuit. It is a programmable device its function and
specifications for serial I/O can be determined by writing instructions in its internal
registers.
8. Define parallel to serial conversion?
In serial transmission an 8-bit parallel word should be converted in to a stream of
eight serial bits. This is known as parallel to serial conversion.
9. Define simplex transmission? In simplex transmission, data are transmitted in only
one direction. Example: transmission from a microcomputer to a printer.
10. Define Baud? The rate at which the bits are transmitted is called Baud.
11. List the major components of 8251A programmable communication interface?
Read/Write control logic Three buffer registers Data registers Control register
transmission receiver Data bus buffer Modem control
12. Write the steps necessary to initialize a counter in write operation?
Write a control word into the control register Load the low-order address byte
Load the high order byte
13. Give the various modes of 8254 timer?
Mode 0:interrupt or terminal count Mode 1:Rate generator Mode 3:square wave
generator Mode 4:software triggered strobe Mode 5:hardware triggered strobe
14. What is read back command in 8254 timer? The Read Back command in 8254 allows
the user to read the count and the status of the counter.
15. What is transmitter section in USART? The transmitter section accepts parallel data
from the MPU and converts them into serial data. It has two registers. A buffer
register and an output register
16. Give the different types of command words used in 8259A?
The command words of 8259A are classified in two groups
i. ∙Initialization Command Words (ICWs)(ICW1, ICW2, ICW.3, ICW4)
ii. ∙Operation command words (OCWs) (OCW1, OCW2, OCW3)