Computer Science Engineering Multiple Choice Questions
1- What is the purpose of a decoder in combinational logic circuits?
A:- to generate an output based on the majority of the input values
B:- to convert binary inputs into decimal outputs
C:- to generate multiple outputs based on a single input value
D:- to implement arithmetic operations such as addition and subtraction
2- Which components are used as a memory element in sequential circuits?
A:- Flip flop
B:- multiplexer
C:- comparator
D:- decoder
3- Which of the following techniques is used to simplify logic functions and optimize circuit design?
A:- Logic gates
B:- Boolean algebra
C:- Arithmetic operations
D:- Clock signals
4- What is the purpose of machine instructions in computer organization?
A:- To provide a graphical user interface to store data in secondary storage devices
B:- to provide a graphical user interface
C:- to represent high-level programming languages
D:- To encode low-level operations executed by the CPU
5- Which of the following addressing modes uses a base register and an offset to calculate the effective address?
A:- Relative addressing mode
B:- Immediate addressing mode
C:- Indexed addressing mode
D:- Indirect addressing mode
6- Which of the following is responsible for transforming logical addresses into physical addresses in a computer system?
A:- Memory Management Unit (MMU)
B:- Random Access Memory (RAM)
C:- Cache memory
D:- Input/Output (I/O) Controller
7- Which cache organization provides the highest level of associativity?
A:- Direct mapped cache
B:- 2-way set associative cache
C:- 4-way set-associative cache
D:- fully associative cache
8- Which component is responsible for prioritizing interrupts in a computer system?
A:- CPU
B:- Memory
C:- Interrupt controller
D:- Input/output devices
9- Which type of interrupt has the highest priority in most interrupt systems?
A:- Timer interrupt
B:- Non-maskable interrupt
C:- Software interrupt
D:- External interrupt
10- Which of the following statements is not part of defining a union data type using a class object?
A:- Implement appropriate methods
B:- Use the tag or discriminant to identify the active data type
C:- Define the class objects
D:- Declare the union data type
ANSWERS:
1-(C), 2-(A), 3-(B), 4-(D), 5-(C), 6-(A), 7-(D), 8-(C), 9-(B), 10-(B)