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 14 of 15
- A. Data
- B. Instructions
- C. operating system
- D. All of these
Explanation: The correct answer is: (d) All of these.Primary memory, also known as RAM (Random Access Memory), is the computer's main memory. It is volatile memory, meaning that data is lost when the computer is turned off. Primary memory is used to store:Data: Data refers to any information that the computer processes, such as numbers, text, images, and videos.Instructions: Instructions are the set of commands that tell the computer what to do. Programs are stored in primary memory as instructions.Operating system: The operating system is a software program that manages the computer's resources and provides a platform for running other programs. The operating system is also stored in primary memory.While the question stem mentions only these options, it's important to note that technically, primary memory is not used to store programs permanently. Programs are loaded into primary memory from secondary storage (like a hard drive) when they are needed.
Correct answer: All of these- A. Executes instructions
- B. Communicate with other parts
- C. All of these
Explanation: Correct Answer: (d) All of these(a) Executes instructions is correct. The CPU is the part of the computer that fetches, decodes, and executes instructions provided by programs.(b) Communicate with other parts is also correct. The CPU communicates with other parts of the computer, such as memory, storage, and input/output devices, to retrieve data and instructions and send results.While the answer choices only list two options, the most accurate answer is (d) All of these. The CPU performs both actions listed and more. It also performs arithmetic and logical operations on data.
Correct answer: All of these- A. Motherboard
- B. I/O Unit
- C. Control Unit
- D. Bus
Explanation: A bus is a communication system that allows different components of a computer to transfer data with each other. It acts as a highway for data transmission between various devices like the CPU, memory, and peripherals (like printers, scanners, etc.)
Correct answer: Bus- A. Refresh
- B. Static RAM
- C. Current RAM
- D. Active RAM
Explanation: The term Current RAM is not a standard term used in computer science. It is likely a misspelling of either DRAM or SRAM.
Correct answer: Current RAM- A. 8
- B. 16
- C. 32
- D. All of these
Explanation: Therefore, the bits are used in groups of (a) 8, (b) 16, and (c) 32. All of the listed options are correct.
Correct answer: All of these- A. ROM is nonvolatile
- B. RAM is volatile
- C. ROM is read only
- D. All of the above
Explanation: RAM (Random Access Memory): RAM is volatile memory, meaning it loses its data when the computer is turned off. It's used for temporary storage of data that the CPU is actively using.ROM (Read-Only Memory): ROM is nonvolatile memory, meaning it retains its data even when the computer is powered off. It's typically used to store permanent data, such as the computer's firmware (BIOS) or startup instructions.RAM allows for reading and writing data, while ROM is primarily for reading data.In summary, all of the options (a), (b), and (c) contribute to the main difference between RAM and ROM.
Correct answer: All of the above- A. Instruction Register (IR)
- B. Program Counter (PC)
- C. Memory Address Register (MAR)
- D. Memory Buffer Register (MBR)
Explanation: This register is a special-purpose CPU register that stores the memory address of the next instruction to be fetched from memory. The PC is incremented by the CPU after each instruction is fetched, so it always points to the next instruction in the program sequence.Explanation of wrong options:Instruction Register (IR): The IR stores the instruction itself, not the address of the next instruction.Memory Address Register (MAR): The MAR stores the address of data to be transferred, not the address of the next instruction.Memory Buffer Register (MBR): The MBR stores the data being transferred, not the address of the next instruction
Correct answer: Program Counter (PC)- A. Fetch
- B. Translation
- C. Decode
- D. Execute
Explanation: Translation is the process of converting source code, written in a high-level programming language understandable by humans, into object code, a machine code specific to a particular computer architecture. This machine code can be directly executed by the CPU.
Correct answer: Translation- A. 8
- B. 16
- C. 32
- D. 64
Explanation: The term "word" in computer architecture refers to the number of bits that a processor can handle at a time. While there can be variations, the most common word sizes today are 8, 16, 32, and 64 bits.Therefore, the most common size of a single word is (b) 16 bits.
Correct answer: 16- A. EBX
- B. ECX
- C. General-purpose registers (GPRs)
- D. EDX
Explanation: General-purpose registers (GPRs) are a set of CPU registers that can be used for various purposes by the programmer. They can store data and operands used in instructions. In the x86 architecture, there are multiple GPRs identified by names like EBX, ECX, and EDX. These registers can be used for arithmetic operations, logical operations, addressing memory locations, and more.Instruction register (IR), on the other hand, is a special-purpose register that stores the instruction currently being fetched from memory. It is not a general-purpose register that the programmer can directly manipulate.So, while all the listed options (a) EBX, (b) ECX, and (d) EDX are general-purpose registers, (c) IR is the instruction register and not a general-purpose register.
Correct answer: General-purpose registers (GPRs)- A. MAR (Memory Address Register)
- B. PC (Program Counter)
- C. IR (Instruction Register)
- D. The memory buffer register
Explanation: The instruction register is a small, high-speed register that holds the instruction currently being fetched from memory and decoded by the control unit. It essentially stores the next instruction to be executed by the CPU.
Correct answer: IR (Instruction Register)- A. 2 bytes
- B. 4 bytes
- C. 6 bytes
- D. 8 bytes
Explanation: In most modern computer architectures, including x86 which is commonly used in personal computers, the DI (Destination Index) and SI (Source Index) registers are both 4 bytes in size. They are used for memory addressing and can hold 32-bit values.It is important to note that the size of registers can vary depending on the specific computer architecture. However, 4 bytes is the most common size for these registers.
Correct answer: 4 bytes- A. MAX
- B. DI (Destination Index)
- C. SI (Source Index)
- D. EAX (Accumulator)
Explanation: Registers are temporary storage locations within the CPU that hold data and instructions currently being processed by the ALU and CU. They are very fast for data access but have limited storage capacity. Registers are named and have specific purposes.MAX is not a standard register name. It is likely a programmer-defined variable name, not a CPU register. Variable names can be chosen by the programmer and do not refer to specific CPU components.DI (Destination Index), SI (Source Index), and EAX are all valid register names on x86 architectures, commonly used in personal computers. These registers have specific functions related to data addressing and manipulation.
Correct answer: MAX- A. BIOS
- B. OS routine
- C. Data which is not changed for longer periods of time
- D. All of these
Explanation: BIOS (Basic Input/Output System) is a firmware program that is stored in a ROM chip on a computer's motherboard. It provides low-level instructions for starting the computer and initializing devices. However, BIOS can be updated in some cases. So, option (a) is incorrect.OS routines (Operating System routines) can also be stored in ROM, but modern operating systems are typically stored on hard drives or solid-state drives, which are not ROM. So, option (b) is incorrect.ROM (Read-Only Memory) is a type of non-volatile memory that retains its data even when the power is turned off. It is commonly used to store data that is rarely changed, such as firmware, configuration settings, and lookup tables. So, option (c) is correct.Therefore, the most common use of ROM is to store (c) Data which is not changed for longer periods of time.
Correct answer: Data which is not changed for longer periods of time- A. User system programs
- B. Arbitrator
- C. DMA controller (Direct Memory Access controller)
- D. Interpreter
Explanation: DMA controller is a specialized hardware component that allows high-speed data transfer between an input/output (I/O) device and memory without significant intervention from the CPU. This frees up the CPU to focus on other tasks while the data transfer is happening in the background.
Correct answer: DMA controller (Direct Memory Access controller)- A. Control Unit (CU)
- B. Arithmetic Logic Unit (ALU)
- C. Memory (Main Memory)
- D. All of these
Explanation: The correct answer is: (d) All of theseA stored-program computer is a fundamental design concept for modern computers. These machines store instructions and data in the same memory, allowing for greater flexibility and ease of use compared to earlier computer designs. The following components are all essential for a stored-program computer:Control Unit (CU): The CU is the brain of the CPU. It fetches instructions from memory, decodes them, and sends control signals to other parts of the CPU to execute the instructions.Arithmetic Logic Unit (ALU): The ALU performs arithmetic and logical operations on data according to the instructions provided by the CU.Memory (Main Memory): Memory stores both data and program instructions. The CU can access and manipulate data and instructions from memory as needed.Explanation of why other options are incorrect:While each component (CU, ALU, Memory) is important on its own, none of them can function effectively without the others. They work together in a coordinated fashion to execute programs. Therefore, all of these components are essential for a stored-program computer.
Correct answer: All of these- A. assembler
- B. compiler
- C. interpreter
- D. all of these
Explanation: An assembler is a program that translates assembly language code into machine language code that the computer can understand and execute directly. Assembly language is a low-level programming language that uses instructions that are specific to a particular processor architecture. It provides more control over the hardware than higher-level languages but is also more complex to program.In conclusion, the program that translates assembly language into machine code is an (a) assembler.
Correct answer: assembler- A. Freeware
- B. Application software
- C. translator
- D. All of these
Explanation: A translator is a person or software program that converts written or spoken language from one language to another.
Correct answer: translator- A. ALU (Arithmetic Logic Unit)
- B. CU (Control Unit)
- C. CPU (Central Processing Unit)
- D. All of these
Explanation: CPU (Central Processing Unit) is the brain of the computer and it's responsible for processing instructions and data. It contains the ALU (Arithmetic Logic Unit) and CU (Control Unit) that you mentioned in the options. The ALU performs mathematical and logical operations, while the CU fetches instructions from memory, decodes them, and controls the overall flow of data through the CPU. Therefore, the CPU, which includes both the ALU and CU, is the most important element for computing power.
Correct answer: CPU (Central Processing Unit)280. Each instruction is:
- A. Data calculation
- B. Data processing order
- C. Data transportation
- D. Selection order
Explanation: Data processing order is the most accurate description of an instruction. An instruction is a set of steps that tells the computer how to perform an operation on data. This processing can involve calculations, data manipulation, or controlling the flow of a program.Therefore, the most comprehensive term that describes an instruction is (b) data processing order. It encompasses various operations that instructions can perform on data.
Correct answer: Data processing order