All questions of ALU, Data Path & Control Unit for Computer Science Engineering (CSE) Exam

Which of the architecture is power efficient?
  • a)
    CISC
  • b)
    RISC
  • c)
    ISA
  • d)
    IANA
Correct answer is option 'B'. Can you explain this answer?

Sanya Agarwal answered
Answer: b
Explanation: Hence the RISC architecture is followed in the design of mobile devices.

Dynamic RAM (DRAM) is slower than Static RAM (SRAM) because  _________
  • a)
    DRAM uses flip-flops
  • b)
    DRAM is costlier
  • c)
    DRAM requires refreshing
  • d)
    DRAM is cheaper
Correct answer is option 'C'. Can you explain this answer?

Dipika Chavan answered
Explanation:
Dynamic RAM (DRAM) and Static RAM (SRAM) are two types of random access memory used in computer systems. While both are used for storing data, they have different characteristics that make them suitable for different purposes. One major difference between DRAM and SRAM is their speed.

1. DRAM uses capacitors:
One of the main reasons why DRAM is slower than SRAM is because it uses capacitors to store data. Each bit of data in a DRAM cell is stored as an electrical charge on a capacitor. However, over time, the charge on the capacitor leaks away, causing the data to be lost. To prevent this, DRAM cells need to be refreshed periodically to restore the charge on the capacitors. This refreshing process adds a significant amount of overhead, resulting in slower access times compared to SRAM.

2. SRAM uses flip-flops:
On the other hand, SRAM uses flip-flops to store data. Flip-flops are a type of electronic circuit that can store a single bit of data. Unlike capacitors in DRAM, flip-flops do not leak charge over time, so there is no need for periodic refreshing. As a result, SRAM can provide faster access times compared to DRAM.

3. Refreshing process:
The refreshing process in DRAM involves reading the data from each memory cell, amplifying it, and then rewriting it back to the same cell. This process is performed in the background by the memory controller, but it still introduces additional latency. In contrast, SRAM does not require refreshing, so accessing data from SRAM is faster and more efficient.

4. Cost considerations:
While DRAM is slower and requires refreshing, it has an advantage over SRAM in terms of cost. DRAM is cheaper to manufacture compared to SRAM, making it more cost-effective for large-scale memory systems. This is why DRAM is commonly used in main memory (RAM) in computer systems, while SRAM is typically used in cache memory, where speed is prioritized over cost.

Conclusion:
In conclusion, the main reason why DRAM is slower than SRAM is because it uses capacitors to store data, requiring periodic refreshing. This refreshing process adds overhead and introduces latency, resulting in slower access times compared to SRAM. However, DRAM is more cost-effective, making it suitable for main memory applications, while SRAM is faster and more suitable for cache memory.

A hardware interrupt is
  • a)
    Also called an internal interrupt
  • b)
    Also called an external interrupt
  • c)
    An I/O interrupt
  • d)
    A clock interrupt
Correct answer is option 'B'. Can you explain this answer?

Roshni Kumar answered
Introduction:
A hardware interrupt is a signal generated by a hardware device to interrupt the normal execution of a program and transfer control to a specific interrupt handler routine. It allows the hardware device to communicate with the processor, informing it of events that require immediate attention.

Explanation:
A hardware interrupt can be either internal or external, depending on the source of the interrupt. Let's understand each option in detail:

a) Also called an internal interrupt:
- An internal interrupt, also known as a software interrupt, is generated by the CPU itself.
- It is triggered by a special instruction in the program code that causes the CPU to transfer control to a specific interrupt handler routine.
- Internal interrupts are not directly related to hardware devices, so they do not fall under the category of hardware interrupts.

b) Also called an external interrupt:
- An external interrupt is generated by an external hardware device.
- When a hardware device needs to interrupt the normal execution of a program, it sends a signal to the processor, indicating that an interrupt has occurred.
- The processor then transfers control to the corresponding interrupt handler routine to handle the event.
- External interrupts are directly related to hardware devices and are commonly used for input/output operations, such as keyboard input, mouse input, etc.

c) An I/O interrupt:
- An I/O interrupt is a specific type of hardware interrupt that is generated by input/output devices.
- When an input/output device, such as a disk drive or a network card, completes a task or encounters an error, it can generate an I/O interrupt to inform the processor.
- The processor then interrupts the current program execution and transfers control to the appropriate interrupt handler routine to handle the I/O operation.

d) A clock interrupt:
- A clock interrupt is a specific type of hardware interrupt generated by the system clock or a timer device.
- It is used to keep track of time and schedule tasks.
- The clock interrupt occurs at regular intervals and is used by the operating system to perform various time-related operations, such as updating the system time, scheduling tasks, etc.

Conclusion:
In conclusion, a hardware interrupt is a signal generated by a hardware device to interrupt the normal execution of a program. An external interrupt, also known as a hardware interrupt, is triggered by an external hardware device and is used for input/output operations. Therefore, the correct answer is option 'B' - Also called an external interrupt.

Which is the simplest method of implementing hardwired control unit?
  • a)
    State Table Method
  • b)
    Delay Element Method
  • c)
    Sequence Counter Method
  • d)
    Using Circuits
Correct answer is option 'A'. Can you explain this answer?

Sudhir Patel answered
There are 3 ways of implementing hardwired control unit:
A state table is the simplest method in which a number of circuits are designed based on the cells in the table.
A delay element method consists of a flowchart drawn for the circuit. A D-flip flop is used as a delay element.
A sequence counter method used k-modulo counter as a replacement for k delay elements.

______ is a piece of hardware that executes a set of machine-language instructions.
  • a)
    Controller
  • b)
    Bus
  • c)
    Processor
  • d)
    Motherboard
Correct answer is option 'C'. Can you explain this answer?

Processor or processing unit is an electronic CKT which perform operations on some external source, usually memory or some data stream. Processor executes a set of machine language instructions.

If the control signals are generated by combinational logic, then they are generated by a type of  _________ controlled unit.
  • a)
    Micro programmed
  • b)
    Software
  • c)
    Logic
  • d)
    Hardwired
Correct answer is option 'D'. Can you explain this answer?

Devika Kaur answered
Explanation:

Control Signals and Controlled Units:
Control signals are the signals that determine the operation of a digital system. They are used to enable or disable certain components, select inputs, and control the flow of data within the system. Controlled units are the components within a digital system that are controlled by the control signals.

Types of Controlled Units:
There are different types of controlled units based on how the control signals are generated. These include:
1. Micro programmed controlled unit: In this type of controlled unit, the control signals are generated by a microprogram stored in memory. The microprogram consists of a sequence of microinstructions that specify the control signals for each operation of the system. The microprogram can be easily modified to change the behavior of the system.
2. Software controlled unit: In this type of controlled unit, the control signals are generated by software instructions executed by a processor. The software instructions determine the control signals based on the current state of the system. This type of controlled unit is flexible and can be easily modified by changing the software instructions.
3. Logic controlled unit: In this type of controlled unit, the control signals are generated by combinational logic circuits. The control signals are determined by the inputs to the logic circuits. This type of controlled unit is fast and efficient but less flexible compared to micro programmed and software controlled units.
4. Hardwired controlled unit: In this type of controlled unit, the control signals are generated by fixed wiring connections. The control signals are determined by the design of the circuit and cannot be easily modified. This type of controlled unit is simple and reliable but lacks flexibility.

Answer Explanation:
The correct answer to the given question is option 'D' - Hardwired. If the control signals are generated by combinational logic, then they are generated by a type of hardwired controlled unit. Hardwired controlled units use fixed wiring connections to generate the control signals, and the control signals are determined by the design of the circuit. Combinational logic circuits are used to implement the control logic, and the outputs of these circuits are the control signals. This type of controlled unit is simple and efficient but lacks the flexibility of micro programmed or software controlled units.

Out of the following which is not a CISC machine.
  • a)
    IBM 370/168
  • b)
    VAX 11/780
  • c)
    Intel 80486
  • d)
    Motorola A567
Correct answer is option 'D'. Can you explain this answer?

Shanaya Chopra answered
CISC Machines

CISC stands for Complex Instruction Set Computing. A CISC machine has a large set of complex instructions that can perform a variety of tasks in a single instruction. Some of the popular CISC machines are IBM 370/168, VAX 11/780, and Intel 80486.

Explanation

Among the given options, only the Motorola A567 is not a CISC machine. Motorola A567 is a RISC (Reduced Instruction Set Computing) machine. RISC machines have a smaller instruction set and each instruction performs a simple operation. RISC machines require more instructions to perform complex tasks than CISC machines.

Conclusion

In conclusion, the correct answer is option 'D' because Motorola A567 is not a CISC machine.

A set of microinstructions for a single machine instruction is called ___________
  • a)
    Program
  • b)
    Command
  • c)
    Micro program
  • d)
    Micro command
Correct answer is option 'C'. Can you explain this answer?

Sudhir Patel answered
For every micro-operation, a set of microinstructions are written which indicate the control signals to be activated. A set of microinstructions is a micro program. The address of the next microinstruction is given by a Micro-program counter.

Which of the following control signals has separate destinations?
  • a)
    Data Paths
  • b)
    ALU & System Bus
  • c)
    Data Paths, ALU & System Bus
  • d)
    None of the above
Correct answer is option 'A'. Can you explain this answer?

Sudhir Patel answered
The data path is the collection of functional units such as arithmetic logic units or multipliers. The data path is required to perform data processing operations.
Typically, in a microprocessor, the units in at least one of the datapaths would be: instruction registers, decode latch, ALU registers, load-store unit, writeback unit, and the memory.
To perform any operation in the CPU, data follows a specific path within the CPU to execute the instruction. 

Pipe-lining is a unique feature of _______
  • a)
    RISC
  • b)
    CISC
  • c)
    ISA
  • d)
    IANA
Correct answer is option 'A'. Can you explain this answer?

Ayush Basu answered
  • The RISC machine architecture was the first to implement pipe-lining.
 
  • A Reduced Instruction Set Computer is a type of microprocessor architecture that utilizes a small, highly-optimized set of instructions rather than the highly-specialized set of instructions typically found in other architectures.

  • RISC is an alternative to the Complex Instruction Set Computing (CISC) architecture and is often considered the most efficient CPU architecture technology available today.
Hence, the correct answer is Option A
You can attempt more such questions by going through the link:

The part of a processor which contains hardware necessary to perform all the operations required by a computer:
  • a)
    Data path
  • b)
    Controller
  • c)
    Registers
  • d)
    Cache
Correct answer is option 'A'. Can you explain this answer?

Sudhir Patel answered
A processor is a part of the computer which does all the data manipulation and decision making. A processor comprises of:
A data path which contains the hardware necessary to perform all the operations. A controller tells the data path what needs to be done.
The registers act as intermediate storage for the data.

____________ is the raw material used as input and __________ is the processed data obtained as output of data processing.
  • a)
    Data, Instructions
  • b)
    Instructions, Program
  • c)
    Data, Program
  • d)
    Program, Code
Correct answer is option 'A'. Can you explain this answer?

Tejas Ghoshal answered
Understanding Data Processing
Data processing is a fundamental concept in computer science that involves transforming raw data into meaningful information. The correct answer to the question about input and output in data processing is option 'A':
Raw Material: Data
- Data is the unprocessed facts and figures that serve as the foundation for analysis.
- This can include numbers, text, images, and other forms of raw information that require processing to become useful.
- Data is collected from various sources, such as user inputs, sensors, or databases.
Processed Output: Instructions
- Instructions refer to the commands or operations applied to the raw data to produce meaningful results.
- This processed data can take the form of reports, visualizations, or structured information that aids in decision-making.
- It is the outcome of applying algorithms and processing techniques to the original data set.
Importance of Data and Instructions
- Understanding the relationship between data and instructions is crucial for effective data management.
- By distinguishing between raw data and the instructions used for processing, one can better appreciate how information is generated and utilized.
- This knowledge is essential for fields like data science, software development, and information technology, where the quality of input data directly impacts the value of the output.
In conclusion, recognizing the roles of data as input and instructions as output is vital for anyone in the field of computer science, as it lays the groundwork for further exploration into data processing techniques and methodologies.

How many address lines and data lines are required to provide a memory capacity of 16K x 16?
  • a)
    10, 4
  • b)
    16, 16
  • c)
    10,16
  • d)
    14, 16
Correct answer is option 'D'. Can you explain this answer?

Aditi Gupta answered
Memory capacity:
To calculate the memory capacity, we need to multiply the number of address lines by the number of data lines.

Number of address lines:
The number of address lines determines the number of unique addresses that can be accessed in the memory. In this case, we need a memory capacity of 16K x 16, where K represents kilo and denotes 1024. So, the memory capacity is 16 * 1024 locations. To address each location, we need enough address lines to represent the total number of locations.

To calculate the number of address lines required for a given memory capacity, we use the formula:

Number of address lines = log2(memory capacity in locations)

In this case, the memory capacity is 16 * 1024 locations, which can be written as:

Memory capacity = 16 * 2^10

Taking the logarithm base 2 of both sides, we get:

log2(Memory capacity) = log2(16 * 2^10)
= log2(16) + log2(2^10)
= log2(16) + 10
= 4 + 10
= 14

Therefore, the number of address lines required is 14.

Number of data lines:
The number of data lines determines the number of bits that can be accessed in each memory location. In this case, we need a memory capacity of 16K x 16, where 16 represents the number of bits that can be accessed in each memory location.

Therefore, the number of data lines required is 16.

Answer:
So, the correct answer is option D) 14, 16.

A decoder is required in case of a ________
  • a)
    Vertical Microinstruction
  • b)
    Horizontal Microinstruction
  • c)
    Multilevel Microinstruction
  • d)
    All types of microinstructions
Correct answer is option 'A'. Can you explain this answer?

Swati Patel answered
A decoder is required in case of a Vertical Microinstruction because it helps in the execution of the microinstruction. Let's understand the concept of a decoder and microinstructions in detail.

Microinstructions are low-level instructions that control the operation of a microprogram, which is a set of microinstructions stored in control memory. These microinstructions are executed by a microprocessor to perform various tasks.

A microinstruction consists of several fields, including the opcode field, which specifies the operation to be performed, and the address field, which specifies the address of the next microinstruction to be executed. The opcode field is decoded to determine the operation to be performed.

A decoder is a combinational logic circuit that takes a binary input and produces a specific output based on the input value. In the case of microinstructions, a decoder is used to decode the opcode field of the microinstruction.

Now, let's discuss why a decoder is required in the case of a Vertical Microinstruction.

Vertical Microinstruction:
A vertical microinstruction is a type of microinstruction format where each bit position in the opcode field corresponds to a specific control signal. In other words, each bit of the opcode field directly controls a specific part of the microprocessor.

A decoder is required in the case of a Vertical Microinstruction because it helps in decoding the opcode field and generating the control signals required for the execution of the microinstruction. The decoder takes the binary value of the opcode field as input and produces the corresponding control signals as output.

The control signals generated by the decoder are used to control various parts of the microprocessor, such as the ALU (Arithmetic Logic Unit), registers, memory, etc. These control signals determine how the microinstruction is executed and what operations are performed.

By using a decoder in the case of a Vertical Microinstruction, the microprocessor can efficiently execute the microinstruction by generating the required control signals based on the opcode field. This allows for a more streamlined and organized execution of microinstructions, leading to improved performance and functionality of the microprocessor.

Which component of the computer is used to resolve the difference between CPU and the peripheral device?
  • a)
    Arithmetic Logic Unit
  • b)
    Control unit
  • c)
    Interface unit
  • d)
    Memory unit
Correct answer is option 'C'. Can you explain this answer?

Janani Joshi answered
The correct answer is option 'C) Interface unit'.

Explanation:
The interface unit is the component of the computer that is used to resolve the difference between the CPU and the peripheral device. Let's understand why this is the correct answer.

- CPU and Peripheral Devices:
- The CPU (Central Processing Unit) is the primary component of a computer responsible for executing instructions and performing calculations.
- Peripheral devices are external devices connected to the computer, such as a keyboard, mouse, printer, etc. These devices provide input to the computer or receive output from it.

- Communication between CPU and Peripheral Devices:
- The CPU and peripheral devices communicate with each other by exchanging data and control signals.
- However, there can be differences in the way data is processed, formatted, or transmitted between the CPU and peripheral devices.
- These differences can include variations in data formats, protocols, timing, voltage levels, etc.

- Role of Interface Unit:
- The interface unit acts as a mediator or translator between the CPU and peripheral devices.
- It handles the conversion or adaptation of data and control signals between the two, ensuring compatibility and proper communication.
- The interface unit understands the specific requirements of each peripheral device and converts the data and control signals from the CPU into a format that the device understands.
- Similarly, it also converts the data or signals from the peripheral device into a format that the CPU can process.

- Function of Interface Unit:
- The interface unit manages the flow of data and control signals between the CPU and peripheral devices.
- It provides the necessary electrical, mechanical, and logical connections between them.
- It may include various components such as buffers, drivers, adapters, converters, etc., to facilitate the communication.
- The interface unit also handles error checking, data synchronization, and other related tasks to ensure reliable communication.

In conclusion, the interface unit is responsible for resolving the differences in data processing, formatting, and transmission between the CPU and peripheral devices. It acts as a bridge between them, converting the data and control signals to ensure proper communication and compatibility.

The system bus is made up of
  • a)
    Data bus
  • b)
    Data bus and address bus
  • c)
    Data bus and control bus
  • d)
    Data bus, control bus and address bus
Correct answer is option 'D'. Can you explain this answer?

Anshu Mehta answered
System bus is a single computer bus that connects the major components of a computer system, combining the function of a data bus to carry information, an address bus to determine where it should be sent and a control bus to determine its operation.

A register in the microprocessor that keeps track of the answer or result of any arithmetic or logic operation is the _________. 
  • a)
    Stack pointer
  • b)
    Instruction pointer 
  • c)
    Program counter 
  • d)
    Accumulator
Correct answer is option 'D'. Can you explain this answer?

Gargi Sarkar answered
Accumulator
The accumulator is a register in a microprocessor that stores the result of arithmetic or logic operations performed by the CPU. It is a crucial component of the CPU as it holds the answer or output of the calculations carried out by the processor.

Importance of Accumulator
- The accumulator is used to store the intermediate or final results of arithmetic and logic operations.
- It helps in performing mathematical calculations, comparisons, and other operations efficiently.
- The accumulator plays a key role in executing instructions and processing data within the CPU.

Functionality of Accumulator
- When the CPU performs an arithmetic or logic operation, the result is stored in the accumulator.
- The accumulator can also be used to hold data temporarily during the execution of a program.
- It acts as a temporary storage location for data manipulation and processing.

Conclusion
In conclusion, the accumulator is a vital register in a microprocessor that keeps track of the results of arithmetic and logic operations. It plays a crucial role in the efficient functioning of the CPU by storing and processing data during program execution.

 In CISC architecture most of the complex instructions are stored in _____
  • a)
    Register
  • b)
    Diodes
  • c)
    CMOS
  • d)
    Transistors
Correct answer is option 'D'. Can you explain this answer?

Rishabh Sharma answered
Answer: d
Explanation: In CISC architecture more emphasis is given on the instruction set and the instructions take over a cycle to complete.

Which of the following is not a characteristic of a computer?
  • a)
    Diligence
  • b)
    I.Q.
  • c)
    Accuracy
  • d)
    Versatility
Correct answer is option 'B'. Can you explain this answer?

Sudhir Patel answered
The Computer system has no I.Q. of its own. It does only what it is programmed to do. It cannot take decisions of its own.
A computer is diligent because it can work continuously for hours without getting any errors or without getting grumbled.
The accuracy of a computer is consistently high and its level of accuracy depends on its design. A computer can perform any task if, it can be broken down into a series of logical steps. Therefore, a computer is versatile.

EBCDIC coding scheme uses ______ bits to code different characters.
  • a)
    4
  • b)
    8
  • c)
    16
  • d)
    32
Correct answer is option 'B'. Can you explain this answer?

Sudhir Patel answered
Extended Binary Coded Decimal Interchange Code is an eight-bit character encoding used mainly on IBM mainframe and IBM midrange computer operating systems.
EBCDIC was devised in 1963 and 1964 by IBM. It is an eight-bit character encoding, developed separately from the seven-bit ASCII encoding scheme.

A chip having 150 gates will be classified as ________.
  • a)
    SSI
  • b)
    MSI
  • c)
    LSI
  • d)
    VLSI
Correct answer is option 'C'. Can you explain this answer?

Sudhir Patel answered
Concept:
Memory chips are integrated circuits that can hold information. Memory chips are now available in a variety of RAM formats, including DRAM, EPROM, EEPROM, and SRAM. Memory chips can also be included in hardware devices such as video cards.
A chip having 150 gates will be classified as LSI (large-scale integration).
Large-scale integration (LSI) is the process of integrating or embedding thousands of transistors on a single silicon semiconductor microchip.

Hence the correct answer is LSI.

The RISC processor has a more complicated design than CISC. 
  • a)
    True
  • b)
    False
Correct answer is option 'B'. Can you explain this answer?

Ayush Basu answered
Answer: b
Explanation: The RISC processor design is more simpler than CISC and it consists of fewer transistors.

What is/are the advantages of using microprogramming as compared to hardwired method in implementation of control unit?
  • a)
    Cheaper and faster
  • b)
    Cheaper and less error prone to implement
  • c)
    Faster and less error prone to implement
  • d)
    Cheaper, faster and less error prone to implement
Correct answer is option 'B'. Can you explain this answer?

Sudhir Patel answered
Hardwired v/s micro-programmed control unit:- To execute an instruction, the control unit of the CPU must generate the required control signal in the proper sequence. There are two approaches used for generating the control signals in proper sequence as Hardwired Control unit and the Micro-programmed control unit.

Fill in the blank in the diagram.
  • a)
    Input Unit
  • b)
    Memory Unit
  • c)
    Control Unit
  • d)
    I/O Unit
Correct answer is option 'C'. Can you explain this answer?

Sudhir Patel answered
The control unit manages and coordinates the operations of a computer system. The ALU is responsible for performing all the arithmetic and bitwise operations . Therefore, both these units combine to form the brain of the computer ,which is the central processing unit.

What does MAR stand for?
  • a)
    Main Address Register
  • b)
    Memory Access Register
  • c)
    Main Accessible Register
  • d)
    Memory Address Register
Correct answer is option 'D'. Can you explain this answer?

Sudhir Patel answered
MAR is a type of register which is responsible for the fetch operation. MAR is connected to the address bus and it specifies the address for the read and write operations.

Which of the following is considered to be the brain of a computer system?
  • a)
    pascal
  • b)
    control unit
  • c)
    CPU
  • d)
    memory
Correct answer is option 'C'. Can you explain this answer?

Sudhir Patel answered
Central Processing Unit (CPU) consists of the following features:
  • CPU is considered the brain of the computer.
  • CPU performs all types of data processing operations.
  • It stores data, intermediate results, and instructions (program).
  • It controls the operation of all parts of the computer.

Chapter doubts & questions for ALU, Data Path & Control Unit - Computer Architecture & Organisation (CAO) 2025 is part of Computer Science Engineering (CSE) exam preparation. The chapters have been prepared according to the Computer Science Engineering (CSE) exam syllabus. The Chapter doubts & questions, notes, tests & MCQs are made for Computer Science Engineering (CSE) 2025 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests here.

Chapter doubts & questions of ALU, Data Path & Control Unit - Computer Architecture & Organisation (CAO) in English & Hindi are available as part of Computer Science Engineering (CSE) exam. Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.

Signup to see your scores go up within 7 days!

Study with 1000+ FREE Docs, Videos & Tests
10M+ students study on EduRev