PROGRAMMING FOR ENGINEERS EXAM 1 – COMPLETE
PRACTICE TEST BANK QUESTIONS WITH VERIFIED ANSWERS &
DETAILED RATIONALES LATEST 2026 UPDATE | GRADED A+ |
100% GUARANTEED PASS
SECTION 1: PROGRAMMING FUNDAMENTALS – COMPUTER BASICS (Questions 1–40)
Q1. What is the correct definition of a "program" in the context of computing?
A) A physical hardware component that stores data
B) A set of instructions that a computer follows to perform a task
C) An electrical signal processed by the CPU
D) A type of memory used for temporary storage
Correct Answer: B
Rationale: A program is fundamentally a sequence of instructions written in a
programming language that tells the computer what operations to perform.
Hardware components like RAM and the CPU execute these instructions, but the
instructions themselves constitute the program. Option A describes hardware,
not a program. Option C describes electrical signals, not instructions.
Option D describes memory, not a program.[reference:0]
Q2. Which of the following best describes the purpose of the CPU in a computer
system?
A) To store data permanently for future use
B) To collect input from users and external devices
C) To execute program instructions and process data
D) To display output results to the user
1
,Correct Answer: C
Rationale: The Central Processing Unit (CPU) is the "brain" of the computer.
It fetches instructions from memory, decodes them, and executes the required
operations. Secondary storage devices (A) hold data long-term. Input devices
(B) collect data. Output devices (D) display results. The CPU is responsible
for processing and executing instructions.[reference:1]
Q3. What is a "bit" in computer terminology?
A) A group of 8 bytes
B) The smallest unit of data storage, represented as a 0 or 1
C) A type of programming syntax error
D) A unit of processing speed
Correct Answer: B
Rationale: A bit (binary digit) is the most basic unit of information in
computing, having only two possible values: 0 or 1. A byte consists of 8 bits
(not the other way around, so A is incorrect). The binary language of computers
is composed entirely of sequences of bits. Options C and D are incorrect
definitions.[reference:2]
Q4. Which statement accurately distinguishes between main memory (RAM) and
secondary storage?
A) RAM is permanent and non-volatile; secondary storage is temporary
B) RAM is volatile (loses data when power is off); secondary storage is
non-volatile
C) RAM stores data slower than secondary storage
D) Secondary storage is directly accessed by the CPU; RAM is not
2
,Correct Answer: B
Rationale: RAM (Random Access Memory) is volatile, meaning its contents are
erased when power is turned off. Secondary storage (hard drives, SSDs) is
non-volatile and retains data permanently. RAM is faster than secondary
storage (not slower), and the CPU directly accesses RAM, not secondary
storage.[reference:3]
Q5. What is hardware in the context of computing?
A) The instructions that a computer follows
B) The physical devices that make up a computer system
C) The software that runs on a computer
D) The data processed by a computer
Correct Answer: B
Rationale: Hardware refers to all the physical devices and components that make
up a computer system, including the CPU, memory, storage devices, and
peripherals. Software (A and C) refers to the instructions and programs.
Data (D) is the information processed by the computer.[reference:4][reference:5]
Q6. Which of the following is an example of an input device?
A) Monitor
B) Printer
C) Keyboard
D) Speaker
Correct Answer: C
3
, Rationale: An input device collects data from people and the environment and
sends it to the computer. The keyboard is a classic input device. Monitors,
printers, and speakers are output devices that display or produce data from
the computer.[reference:6][reference:7]
Q7. Which of the following is an example of an output device?
A) Mouse
B) Scanner
C) Monitor
D) Microphone
Correct Answer: C
Rationale: An output device generates output from the computer for people or
other devices. A monitor displays visual output. Mice, scanners, and
microphones are input devices that collect data and send it to the
computer.[reference:8][reference:9]
Q8. What is system software?
A) Software that performs specific tasks for users
B) Software that manages and controls computer hardware
C) Software that is used for gaming
D) Software that is stored on removable media
Correct Answer: B
Rationale: System software manages and controls computer hardware so that
application software can function. It includes the operating system, utility
4