set-7
301. A certain processor supports only the immediate and the direct addressing modes. Which of the following programming language features cannot be implemented on this pointer?
- Pointers
- Records
- Arrays
- All of the above
Show me the answer
Answer: 4. All of the above
Explanation:
- Without indirect addressing, features like pointers, records, and arrays cannot be fully implemented.
302. The 8085 microprocessor responds to the presence of an interrupt:
- As soon as the TRAP pin becomes high
- By checking the TRAP pin for high status at the end of each instruction fetch
- By checking the TRAP pin for high status at the end of the execution of each instruction
- By checking the TRAP pin for high status at regular intervals
Show me the answer
Answer: 3. By checking the TRAP pin for high status at the end of the execution of each instruction
Explanation:
- The 8085 checks the TRAP pin at the end of each instruction execution to detect interrupts.
303. Which of the following need not necessarily be saved on a context switch between processes?
- General purpose registers
- Program counter
- Translation look aside buffer
- All of these
Show me the answer
Answer: 3. Translation look aside buffer
Explanation:
- The Translation Lookaside Buffer (TLB) is not necessarily saved during a context switch.
304. If a processor does not have any stack pointer register then:
- It cannot have subroutine call instruction
- It can have subroutine call instruction, but no nested subroutine calls
- Nested subroutine calls are possible, but interrupts are not
- All sequence of subroutine calls and also interrupts are possible
Show me the answer
Answer: 4. All sequence of subroutine calls and also interrupts are possible
Explanation:
- Even without a stack pointer, subroutine calls and interrupts can be managed using other mechanisms.
305. CPU has two modes-privileged and non-privileged. In order to change the mode from privileged to non-privileged:
- A hardware interrupt is needed
- A software interrupt is needed
- A privileged instruction (which does not generate an interrupt) is needed
- A non-privileged instruction (which does not generate an interrupt) is needed
Show me the answer
Answer: 3. A privileged instruction (which does not generate an interrupt) is needed
Explanation:
- A privileged instruction is required to switch from privileged to non-privileged mode.
306. In the absolute addressing mode:
- An operand is inside the instruction
- Address of the operand is inside the instruction
- Register containing the address of the operand is specified inside the instruction
- Location of the operand is implicit
Show me the answer
Answer: 2. Address of the operand is inside the instruction
Explanation:
- In absolute addressing mode, the instruction contains the direct address of the operand.
307. The capacity of program counter (PC) is:
- 8 bits
- 16 bits
- 12 bits
- 32 bits
Show me the answer
Answer: 2. 16 bits
Explanation:
- The program counter (PC) in many microprocessors is 16 bits wide.
308. The function of program counter (PC) holds:
- Temporary
- Memory operand
- Address for memory
- Address for instruction
Show me the answer
Answer: 4. Address for instruction
Explanation:
- The program counter holds the address of the next instruction to be executed.
309. The Program Counter (PC):
- Is a register
- During execution of the current instruction, its content changes
- Both (A) and (B)
- None of the above
Show me the answer
Answer: 3. Both (A) and (B)
Explanation:
- The PC is a register, and its content changes during instruction execution.
310. The TRAP interrupt mechanism of the 8085 microprocessor executes:
- An RST by hardware
- The instructions supplied by external device through the INTA signal
- An instruction from memory location 20H
- None of the above
Show me the answer
Answer: 1. An RST by hardware
Explanation:
- The TRAP interrupt executes an RST (Restart) instruction by hardware.
311. Pseudo-instructions are:
- Assembler directives
- Instructions in any program that have no corresponding machine code instruction
- Instruction in any program whose presence or absence will not change the output for any input
- None of the above
Show me the answer
Answer: 1. Assembler directives
Explanation:
- Pseudo-instructions are assembler directives that do not translate directly into machine code.
312. “The number of instructions needed to add ‘n’ numbers and store the result in memory using only one address instructions is:
- n
- n-1
- n+1
- Independent of n
Show me the answer
Answer: 3. n+1
Explanation:
- Adding numbers requires instructions, and one additional instruction to store the result.
313. The addressing mode used in the instruction PUSH B is:
- Direct
- Register indirect
- Register
- Immediate
Show me the answer
Answer: 2. Register indirect
Explanation:
- The PUSH B instruction uses register indirect addressing to push the contents of the B register onto the stack.
314. The process of fetching and executing instructions one at a time, in order to increasing an address is called:
- Instruction execution
- Instruction fetch
- Straight line sequencing
- Random sequencing
Show me the answer
Answer: 3. Straight line sequencing
Explanation:
- Straight line sequencing refers to executing instructions in a linear, sequential manner.
315. The CPU of a computer takes instruction from the memory and executes them. This process is called:
- Load cycle
- Fetch-execute cycle
- Time sequence
- Clock cycle
Show me the answer
Answer: 2. Fetch-execute cycle
Explanation:
- The fetch-execute cycle is the process by which the CPU retrieves and executes instructions.
316. In a microprocessor, WAIT states are used to:
- Make the processor wait during a DMA operation
- Make the processor wait during a power interrupt processing
- Make the processor wait during a power shutdown
- Interface slow peripheral to the processor
Show me the answer
Answer: 4. Interface slow peripheral to the processor
Explanation:
- WAIT states are used to synchronize the processor with slower peripherals.
317. When a program is being executed in an 8085 microprocessor, its program counter contains:
- Number of instructions in the current program that have already been executed
- The total number of instructions in the program being executed
- Memory address of the instructions that is being currently executed
- Memory address of the instructions that is to be executed next
Show me the answer
Answer: 4. Memory address of the instructions that is to be executed next
Explanation:
- The program counter holds the address of the next instruction to be executed.
318. When the HLT instructions of an 8085 microprocessor is executed, the microprocessor:
- Is disconnected from the system bus till the reset is pressed
- Halts execution of the program and returns to monitor
- Enters into a halt-state and the buses are tri-stated
- Reloads the program from the location 0024 and 0025
Show me the answer
Answer: 3. Enters into a halt-state and the buses are tri-stated
Explanation:
- The HLT instruction stops the processor and tri-states the buses.
319. Serial input data of 8085 can be loaded into bit 7 of the accumulator by:
- Executing a RIM instruction
- Using TRAP
- Executing RST 1
- None of the above
Show me the answer
Answer: 1. Executing a RIM instruction
Explanation:
- The RIM (Read Interrupt Mask) instruction loads serial input data into bit 7 of the accumulator.
320. Which of the following interrupts are unmaskable interrupts?
- RST 5.5
- TRAP
- RST 7.5
- INTR 1
Show me the answer
Answer: 2. TRAP
Explanation:
- The TRAP interrupt is non-maskable and cannot be disabled.
321. The memory address ranges to which RAM will respond:
- 0000 H to 1 FFF H
- 4000 H to 5 FFF H
- 0000 H to 5 FFF H
- 3000 H to FFFF H
Show me the answer
Answer: 2. 4000 H to 5 FFF H
Explanation:
- The RAM responds to addresses within the range 4000 H to 5 FFF H.
322. The address range to which I/O chip will respond is:
- 0000 H to FFFF H
- 4000H to 5FFF H
- 0000H to 5FFFH
- 3000 H to FFFF H
Show me the answer
Answer: 3. 0000H to 5FFFH
Explanation:
- The I/O chip responds to addresses within the range 0000 H to 5 FFF H.
323. Both the arithmetic logic unit (ALU) and control section of CPU employ special purpose storage location called:
- Decoder
- Multiplexer
- Buffers
- Registers
Show me the answer
Answer: 4. Registers
Explanation:
- Registers are used for temporary storage in the ALU and control unit.
324. A basic instruction that can be interpreted by a computer generally has:
- An operand and an address
- Sequence register and decoder
- A decoder and an accumulator
- An address and decoder
Show me the answer
Answer: 1. An operand and an address
Explanation:
- A basic instruction typically consists of an operand and an address.
325. The differences between PLA and ROM is:
- PLA is combination ROM is sequential
- PLA economizes on the number of minterms
- PLA has fixed AND array, ROM has fixed OR array
- None of these
Show me the answer
Answer: 2. PLA economizes on the number of minterms
Explanation:
- PLA (Programmable Logic Array) reduces the number of minterms compared to ROM.
326. The control unit of computer:
- Performs ALU operations on the data
- Controls the operation of the output devices
- Is a device for manually operating the computer
- Directs the other unit of computers
Show me the answer
Answer: 4. Directs the other unit of computers
Explanation:
- The control unit directs the operations of other units in the computer.
327. The ALU of a computer normally contains a number of high-speed storage elements called:
- Semiconductor memory
- Hard disk
- Registers
- Magnetic disks
Show me the answer
Answer: 3. Registers
Explanation:
- The ALU uses registers for high-speed storage of data.
328. The unit of a computer system which executes program, communication with and often controls the operation of other subsystems of the computer is the:
- CPU
- I/O unit
- Control unit
- Peripheral unit
Show me the answer
Answer: 1. CPU
Explanation:
- The CPU (Central Processing Unit) executes programs and controls other subsystems.
329. The ability of a medium size computer system to increase in data processing capability by addition of such devices as mass storage device, I/O device etc. is called:
- Computer expandability
- Computer enhancement
- Computer mobility
- Computer upward capability
Show me the answer
Answer: 1. Computer expandability
Explanation:
- Computer expandability refers to the ability to increase processing capability by adding devices.
330. The technique which repeatedly uses the same block of internal storage during different stage of problem is called:
- Overlay
- Swapping
- Overlapping
- Reuse
Show me the answer
Answer: 1. Overlay
Explanation:
- Overlay is a technique where the same memory block is reused for different stages of a program.
331. The registers used as a working area in CPU is:
- Program counter
- Instruction decoder
- Instruction register
- Accumulator
Show me the answer
Answer: 4. Accumulator
Explanation:
- The accumulator is a working register used for arithmetic and logic operations.
332. Which of the following information holds the information before going to the decoder?
- Control register
- Accumulator
- Data register
- Address register
Show me the answer
Answer: 3. Data register
Explanation:
- The data register holds information before it is sent to the decoder.
333. Which of the following unit is used to supervise each instruction in the CPU?
- Control logic unit
- ALU
- Accumulator
- Control register
Show me the answer
Answer: 1. Control logic unit
Explanation:
- The control logic unit supervises the execution of each instruction in the CPU.
334. The bus which is used to transfer data from main memory to peripheral device is:
- Data bus
- DMA bus
- Input bus
- Output bus
Show me the answer
Answer: 2. DMA bus
Explanation:
- The DMA (Direct Memory Access) bus is used for transferring data between memory and peripherals.
335. The device which is used to connect a peripheral to bus is called:
- Control register
- Communication protocol
- Interface
- None of these
Show me the answer
Answer: 3. Interface
Explanation:
- An interface connects peripherals to the bus.
336. The bus connected between the CPU and main memory that permits transfer of information between main memory and the CPU is called:
- DMA bus
- Address bus
- Memory bus
- Control bus
Show me the answer
Answer: 3. Memory bus
Explanation:
- The memory bus facilitates data transfer between the CPU and main memory.
337. What is the storage capacity of a Hollerith card which is organized into nibbles?
- 32
- 120
- 64
- 240
Show me the answer
Answer: 2. 120
Explanation:
- A Hollerith card organized into nibbles can store 120 bits of data.
338. How many addresses are required for 25x40 video RAM?
- 1020
- 1000
- 1920
- 2000
Show me the answer
Answer: 2. 1000
Explanation:
- A 25x40 video RAM requires 1000 addresses (25 rows x 40 columns).
339. Microprogramming is a technique for:
- Writing small program effectively
- Programming output/input routines
- Programming the microprocessor
- Programming the control steps of a computer
Show me the answer
Answer: 4. Programming the control steps of a computer
Explanation:
- Microprogramming is used to program the control steps of a computer.
340. A device that works in conjunction with a computer but not as part of it is called:
- Microprocessor
- Hardware
- Peripheral device
- Memory
Show me the answer
Answer: 3. Peripheral device
Explanation:
- A peripheral device works with a computer but is not part of the core system.
341. A system of letters, numbers symbols adopted by computer manufacture as an abbreviation form of instruction sets is called
- Mesh
- Modern
- Monitor
- Mnemonic
Show me the answer
Answer: 4. Mnemonic
Explanation:
- Mnemonics are symbolic representations of instructions used in assembly language programming.
342. When a subroutine is called, then address of the instruction following the CALL instruction is stored in/on the
- Stack pointer
- Program counter
- Accumulator
- Stack
Show me the answer
Answer: 4. Stack
Explanation:
- When a subroutine is called, the return address (the address of the instruction following the CALL) is stored on the stack.
343. In 8085 microprocessors, the value of the most significant bit of the result following the execution of any arithmetic or Boolean instruction is stored in the
- Carry status flag
- Sign status flag
- Auxiliary carry status flag
- Zero status flag
Show me the answer
Answer: 2. Sign status flag
Explanation:
- The Sign flag (S) in the 8085 microprocessor stores the value of the most significant bit (MSB) of the result after arithmetic or logical operations.
344. PLA
- Produces sum of products as the outputs
- Is dedicated for a particular operation
- Is general
- Both A and B
Show me the answer
Answer: 4. Both A and B
Explanation:
- PLA (Programmable Logic Array) produces sum-of-products outputs and can be dedicated for specific operations.
345. The sequence of events that happen during a typical fetch operation is
- PC-MAR-Memory-MDR-IR
- PC-Memory-IR
- PC-Memory-MDR-IR
- PC-MAR-Memory-IR
Show me the answer
Answer: 1. PC-MAR-Memory-MDR-IR
Explanation:
- During a fetch operation, the Program Counter (PC) sends the address to the Memory Address Register (MAR), which fetches the instruction from memory into the Memory Data Register (MDR), and then the instruction is loaded into the Instruction Register (IR).
346. Which of the following is not a form of memory?
- Instruction cache
- Instruction opcode
- Instruction register
- Translation lookaside buffer
Show me the answer
Answer: 2. Instruction opcode
Explanation:
- Instruction opcode is part of the instruction itself, not a form of memory.
347. Which memory is difficult to interface with processor?
- Static memory
- ROM
- Dynamic memory
- RAM
Show me the answer
Answer: 3. Dynamic memory
Explanation:
- Dynamic memory (DRAM) requires periodic refreshing, making it more complex to interface with the processor compared to static memory.
348. Desirable characteristic(s) of a memory system is(are)
- Speed and reliability
- Durability and compactness
- Low power consumption
- All of these
Show me the answer
Answer: 4. All of these
Explanation:
- A good memory system should be fast, reliable, durable, compact, and consume low power.
349. The minimum time delay required between initiation of two successive memory operation is called
- Memory cycle time
- Transmission time
- Memory access time
- Skip time
Show me the answer
Answer: 1. Memory cycle time
Explanation:
- Memory cycle time is the minimum time required between two successive memory operations.
350. Which of the following statement is wrong?
- RAM is a type of volatile
- Magnetic tape is non-volatile
- Magnetic core and semiconductor memories are used as mass memory medium
- An EPROM can be programmed, erased and reprogrammed by user with an EPROM programming instruction
Show me the answer
Answer: 3. Magnetic core and semiconductor memories are used as mass memory medium
Explanation:
- Magnetic core memory is outdated and not used as a mass memory medium today. Semiconductor memories like DRAM and flash memory are more common.