The microprocessor consists of an ALU, register array, and a control unit. ALU performs arithmetical and logical operations on the data received from the memory or an input device.
2. What is the store by register?
data
operands
memory
none of these
Answer: 1. data
Explanation:
Data is stored by the register. A register may hold an instruction, a storage address, or any kind of data (such as a bit sequence or individual characters).
3. Accumulator based microprocessor examples are:
intel 8085
Motorola 6809
a and b
none of these
Answer: 3. a and b
Explanation:
Intel 8085 and Motorola 6809 are Accumulator based microprocessor.
The accumulator is an 8-bit register that is a part of arithmetic/logic unit (ALU). This register is used to store 8-bit data and to perform arithmetic and logical operations. The result of an operation is stored in the accumulator.
4. A set of register which contain are:
data
memory addresses
result
all of these
Answer: 4. all of these
Explanation:
A processor register (CPU register) is one of a small set of data holding places that are part of the computer processor. A register may hold an instruction, a storage address, or any kind of data (such as a bit sequence or individual characters).
5. There are primarily two types of register:
general-purpose register
dedicated register
a and b
none of these
Answer: 3. a and b
Explanation:
Different Classes of CPU Registers
Accumulator
Memory Address Registers (MAR)
Memory Data Registers (MDR)
General Purpose Registers
Program Counter (PC)
Instruction Register (IR)
Condition code register ( CCR )
Dedicated register
6. Name of typical dedicated register is:
pc
cir
MDR
all of these
Answer: 4. all of these
Explanation:
Dedicated RegistersDedicated registers used by the processor include:
Program counter (PC) – holds the memory address of the next instruction to be processed. The address is send to the MAR. The PC is then changed (incremented or changed to the address held in the CIR if the operation is a branch)
Memory Address Register (MAR) – holds the address in memory where the processor is required to fetch
Memory Data Register (MDR) – temporarily holds instructions moving from main memory to the CIR (instructions go one way) or it temporarily holds data being fetched or stored from main memory.
Current Instruction Register (CIR) – holds the current instruction, which is split into opcode and operand
Accumulator is a register that holds the result of the ALU
7. Which is used to store critical pieces of data during subroutines and interrupts:
stack
queue
accumulator
data register
Answer: 1. stack
Explanation:
Stack is used to store critical pieces of data during subroutines and interrupts.
A stack is a place in memory for storing data sequentially. The address of the stack top is given by the stack pointer.
Whenever there is an interrupt or a subroutine call, the microprocessor stores the address of the next instruction on the stack and then executes the subroutine.
After the execution of the subroutine, the microprocessor fetches the return address from the stack and executes the instructions sequentially.
8. The data in the stack is called:
pushing data
pushed
pulling
none of these
Answer: 1. pushing data
Explanation:
The data in the stack is called pushing data. Pushing means putting an item onto a stack (data structure), so that it becomes the stack’s top-most item. Popping means removing the top-most item from a stack.
9. The external system bus architecture is created using from ______ architecture:
Pascal
Dennis Ritchie
Charles Babbage
von Neumann
Answer: 4. von Neumann
Explanation:
The external system bus architecture is created using von Neumann architecture.
Von Neumann architecture is the design upon which many general-purpose computers are based. The key elements of von Neumann architecture are: data and instructions are both stored as binary digits.
10. The processor 80386/80486 and the Pentium processor uses _____ bits address bus.
16
32
36
64
Answer: 2. 32
Explanation:
The processor 80386/80486 and the Pentium processor uses 32 bits address bus. Intel Pentium processors were 32-bit, which means the operating system and software work with data units that are 32 bits wide. Windows 95, 98, and XP are all 32-bit operating systems.