Free Hardware and Software MCQs with Answers
290 Hardware and Software MCQs from Computer Science and IT, each with the correct answer and a written explanation of why it is correct. Free and unlimited, with no account needed.
Hardware includes the physical components of a computer, such as the CPU, motherboard, registers, memory, storage devices and peripheral equipment. Software covers system software, application software, utilities, drivers and firmware, with attention to how the operating system manages hardware and how software differs from the physical equipment it controls.
Last updated
290 questions · page 10 of 15
- A. RAM (Random Access Memory)
- B. ROM (Read-Only Memory)
- C. Flash memory
- D. Memory cell
Explanation: A memory cell is the basic unit of storage in digital memory. Each memory cell can store one bit of data, which is either a 0 or a 1. By combining multiple memory cells, we can store larger amounts of data
Correct answer: Memory cell- A. System files
- B. Data files
- C. Master files
- D. BIOS
Explanation: ROM (Read Only Memory) is a type of non-volatile memory that stores data permanently. This means that the data in ROM is retained even when the computer is turned off. ROM is typically used to store programs that are essential for the computer to boot up and start functioning. The BIOS is a program stored in ROM that performs critical functions during the computer startup process. It is responsible for initializing and testing the computer's hardware components, loading the operating system from a storage device (like a hard drive), and providing a low-level interface between the hardware and the operating system
Correct answer: BIOS- A. Mega hertz (MHz)
- B. Giga hertz (GHz)
- C. Beta hertz (BhZ)
- D. All of the above
Explanation: In conclusion, both MHz and GHz are commonly used to measure clock speed, which is one way to gauge a computer's processing speed. So all of the above options (A, B, and D) are valid answers. It's important to note that clock speed is not the only factor that determines computer speed. Other factors, such as the number of cores in a processor, the amount of RAM, and the speed of storage devices, also play a role
Correct answer: All of the above- A. PROM
- B. ROM
- C. Cache
- D. EEPROM
Explanation: EEPROM (Electrically Erasable Programmable Read-Only Memory) is a type of non-volatile memory that can be erased and reprogrammed electronically. This makes it more versatile than PROM chips, which can only be programmed once. EEPROMs are used in various applications where data needs to be stored permanently but may also need to be updated occasionally, such as storing BIOS settings or configuration data in networking devices
Correct answer: EEPROM- A. Acknowledge signal
- B. Interrupt signal
- C. Deadlock
- D. DMA
Explanation: Interrupt signal is the mechanism used by the DMA controller to notify the processor that the DMA transfer has finished. When the transfer is complete, the DMA controller generates an interrupt signal that the processor is programmed to recognize and respond to. Upon receiving the interrupt signal, the processor can then resume its normal operations and handle any necessary post-transfer tasks
Correct answer: Interrupt signal- A. Cooling system
- B. Power supply
- C. Register
- D. Control unit
Explanation: The control unit is the part of the CPU (Central Processing Unit) that fetches instructions from memory, decodes them, and directs other parts of the CPU to carry out those instructions. It acts like the conductor of an orchestra, ensuring all the components work together to execute programs
Correct answer: Control unit- A. Bus Request
- B. Data Write
- C. Bus Grant
- D. Memory Read
Explanation: The bus controller is a circuit responsible for managing data flow on the system bus, which is the pathway that connects various devices in a computer system. Devices on the bus can request access to transfer data
Correct answer: Bus Grant- A. Arithmetic Logic Unit (ALU)
- B. Control Unit
- C. Storage Unit
- D. All of the above
Explanation: The storage unit, also known as main memory or primary memory, is the component that stores instructions, data, and intermediate results that the CPU needs to access. It is typically volatile memory, meaning that data is lost when the computer is turned off. However, there are also non-volatile storage devices like hard disk drives and solid-state drives that can store data permanently. In conclusion, while the ALU and control unit play essential roles in processing data, it is the storage unit that serves as the repository for instructions, data, and intermediate results within a computer system.
Correct answer: Storage Unit- A. MAR
- B. GPR
- C. Stack pointer
- D. Code segment
Explanation: The stack pointer is a special register that keeps track of the top of the stack. The stack is a LIFO (Last In, First Out) data structure used for function calls, local variables, and parameter passing. The stack pointer is incremented (or decremented depending on the architecture) when data is pushed onto the stack and decremented (or incremented) when data is popped off. This allows the CPU to efficiently track the current position within the stack.In summary, the stack pointer is a specialized register designed to manage the stack memory, making it the most suitable option for working with the stack.
Correct answer: Stack pointer- A. Unix/Linux
- B. Android OS
- C. Window Ubuntu
- D. All of these
Explanation: The only option that is related to real-time operating systems is (D) All of these.
Correct answer: All of these- A. Memory Buffer Register
- B. Instruction Register
- C. Address Register
- D. Accumulator Register
Explanation: The correct answer is A) Memory Buffer Register (MBR).This register holds the actual data or instruction that is being read from or written to memory. It acts as a temporary holding area for data being transferred between the CPU and memory.
Correct answer: Memory Buffer Register- A. Multitasking
- B. Multiprocessing
- C. Multipaging
- D. Multithreading
Explanation: Multitasking is the ability of an operating system to manage multiple programs and processes concurrently. This means that the CPU can rapidly switch between different tasks, giving the illusion that multiple programs are running at the same time.
Correct answer: Multitasking- A. Sequential control flow instructions
- B. Control transfer instructions
- C. Branch instructions
- D. Control transfer & branch instructions
Explanation: These instructions are specifically designed to alter the normal sequential execution flow of a program. JUMP instructions are a type of control transfer instruction as they explicitly jump to a new location.Therefore, the most accurate description for JUMP instructions is control transfer instructions as they alter the program's flow without necessarily being conditional.
Correct answer: Control transfer instructions- A. Dos
- B. Windows
- C. Parallel processing OS
- D. Mac OS
Explanation: The most common operating system used in supercomputers today is: (C) Parallel processing OSWhile there isn't a single, standard operating system specifically designed for supercomputers, Linux is the dominant choice due to several reasons:Flexibility and Scalability: Linux can be easily customized to fit the specific needs of a supercomputer's hardware architecture, which often involves a large number of processors and complex configurations.Open-source nature: Linux's open-source code allows for customization and development by a large community, fostering innovation and efficient use of hardware resources in supercomputing.Wide range of HPC tools: A rich ecosystem of open-source high-performance computing (HPC) tools and libraries are readily available for Linux, simplifying development and optimization for supercomputers.
Correct answer: Parallel processing OS- A. Program
- B. Source code
- C. Linked code
- D. Object code
Explanation: The correct answer is (D) Object code.Object code is machine code that is specific to a particular processor architecture. It is the output generated by a compiler after translating source code. Object code can be further processed by a linker to create an executable program that can be directly run by the computer. In essence, the compiler acts as a translator, converting human-written source code into machine-readable object code that the computer can understand and execute.
Correct answer: Object code- A. Code segment
- B. Data segment
- C. Extra segment
- D. Pointer register
Explanation: The correct answer is D) Pointer register.Pointer registers are specifically designed to store memory addresses. When calculating variable offsets, the CPU adds the offset value (distance from the beginning of the memory block) to the base address stored in the pointer register to locate the specific memory address of the variable.
Correct answer: Pointer register- A. LIFO
- B. FIFO
- C. Binary search
- D. GIGO
Explanation: The correct answer is A.This is the fundamental principle behind stacks. Data is added (pushed) onto the top of the stack and retrieved (popped) from the top, following a LIFO order. This makes the most recently added data accessible first.
Correct answer: LIFO- A. Fetch action:
- B. B) Decode action:
- C. Execute action.
- D. D) Push action:
Explanation: The execution stage is where the processor carries out the operation specified by the decoded instruction. This might involve arithmetic operations, data transfer, logical operations, or control flow changes. The activated circuits during this stage depend on the specific instruction but are ultimately controlled by the decoded instruction.
Correct answer: Execute action.- A. Fetch action:
- B. Decode action:
- C. Execute action.
- D. Push action:
Explanation: The execution stage is where the processor carries out the operation specified by the decoded instruction. This might involve arithmetic operations, data transfer, logical operations, or control flow changes. The activated circuits during this stage depend on the specific instruction but are ultimately controlled by the decoded instruction.
Correct answer: Execute action.- A. Data transfer instructions.
- B. Control instructions
- C. Arithmetic and logic instructions
- D. Instruction set
Explanation: Data transfer instructions are a fundamental type of instruction in computer programming. They are used to move data between different parts of the computer's memory, including:Registers: Small, temporary storage locations within the CPUMain memory (RAM): The primary memory where programs and data are stored while the computer is runningSecondary storage (hard drives, SSDs): Slower, non-volatile storage used to hold data long-term
Correct answer: Data transfer instructions.