What is the main purpose of software testing?
a) To design software
b) To make software slower
c) To find and fix errors in the software
d) To sell the software
Answer: c) To find and fix errors in the software
Which SE model is best suited for projects with frequently changing requirements?
a) Waterfall Model
b) V-Model
c) Agile Model
d) Spiral Model
Answer: c) Agile Model
What is the main goal of software design?
a) To write code
b) To test the software
c) To define the structure and behavior of software
d) To create wireframes
Answer: c) To define the structure and behavior of software
Which component performs arithmetic and logic operations?
a) Control Unit
b) ALU
c) Register
d) Cache
Answer: b) ALU
What is the base of the hexadecimal number system?
a) 2
b) 8
c) 10
d) 16
Answer: d) 16
Q2: Which type of testing is usually performed by the developer?
a) System Testing
b) Unit Testing
c) Beta Testing
d) Acceptance Testing
Answer: b) Unit Testing
Q2. True or False
The Waterfall model allows changes to be made easily once a phase is completed.
Answer: ❌ False
Which of the following is a key principle of software design?
a) Low cohesion
b) High coupling
c) Low coupling and high cohesion
d) Complex interdependency
Answer: c) Low coupling and high cohesion
Which register holds the memory address of data to be fetched?
a) MAR
b) PC
c) IR
d) MDR
Answer: a) MAR
Which of the following is the fastest memory?
a) RAM
b) ROM
c) Cache
d) Hard Disk
Answer: c) Cache
Q3: What is the difference between verification and validation?
a) Verification ensures product is correct; Validation ensures building the right product
b) Both are the same
c) Validation comes first
d) Verification is done by end users
Answer: a) Verification ensures product is correct; Validation ensures building the right product
You are managing a large project with high risks and evolving requirements. Which model should you choose?
a) V-Model
b) Agile Model
c) Spiral Model
d) Big Bang Model
Answer: c) Spiral Model
Which architectural style divides software into three components: Model, View, and Controller?
a) Client-Server
b) MVC
c) Layered Architecture
d) Pipe & Filter
Answer: b) MVC
What does the Program Counter (PC) do?
a) Holds data temporarily
b) Executes instructions
c) Stores the address of the next instruction
d) Controls memory
Answer: c) Stores the address of the next instruction
Which of the following best describes pipelining in CPUs?
a) Executing all instructions at once
b) Storing all instructions in memory
c) Overlapping execution of instructions
d) Only loading instructions into cache
Answer: c) Overlapping execution of instructions
Explain the concept of mutation testing.
a) Testing for viruses in software
b) Modifying code slightly to check if tests catch the change
c) Changing the UI frequently
d) Performance testing under pressure
Answer: b) Modifying code slightly to check if tests catch the change
One-Word Answer
Which model is commonly used with SCRUM methodology?
Answer: Agile
What is the main advantage of using design patterns?
a) Faster compilation
b) Reusability of solutions to common problems
c) Reduces testing time
d) None of the above
Answer: b) Reusability of solutions to common problems
What is the typical size of a word in modern computers?
a) 8 bits
b) 16 bits
c) 32 or 64 bits
d) 128 bits
Answer: c) 32 or 64 bits
You press a key on your keyboard, and the letter appears on the screen. Which component receives the instruction first inside the CPU?
a) ALU
b) Instruction Register
c) Control Unit
d) Program Counter
Answer: c) Control Unit
What is a test stub?
a) A tool to automate test scripts
b) A dummy module used to simulate lower-level modules in unit testing
c) A user manual
d) A bug report
Answer: b) A dummy module used to simulate lower-level modules in unit testing
Arrange the Phases (Waterfall Model)
Put these in the correct Waterfall order:
A. Implementation
B. Requirements
C. Testing
D. Maintenance
E. Design
Answer:
B → E → A → C → D
In UML, which diagram shows interactions between objects over time?
a) Class Diagram
b) Use Case Diagram
c) Sequence Diagram
d) State Diagram
Answer: c) Sequence Diagram
Which bus carries data between CPU and memory?
a) Address Bus
b) Data Bus
c) Control Bus
d) Local Bus
Answer: b) Data Bus
You upload a file and suddenly your processor fan speeds up. Why?
a) The file is too large to save
b) CPU is idle
c) CPU is under heavy computation (compression, encryption)
d) RAM is full
Answer: c) CPU is under heavy computation (compression, encryption)