Software Engineering questions and answers
SDLC, testing, agile and version control. Practise software engineering questions from the technical & programming section of placement tests, with a worked explanation after every answer. Practice is free and needs no sign-up.
Sample software engineering questions with worked answers
Question 1
Which SDLC model is linear and sequential, with each phase (requirements, design, implementation, testing, maintenance) completed before the next begins?
- Spiral model
- Waterfall model
- Scrum
- Prototyping model
Answer: B. Waterfall model
Explanation: The Waterfall model moves through the phases in strict sequence with little overlap. Spiral and Scrum are iterative.
Question 2
A form field accepts an age from 18 to 60, inclusive. Which set of test values best applies boundary value analysis?
- 18, 39, 60
- 0, 50, 100
- 17, 18, 60, 61
- 19, 59
Answer: C. 17, 18, 60, 61
Explanation: Boundary value analysis tests just inside and just outside each boundary: 17 and 18 at the lower edge, and 60 and 61 at the upper edge. These are the values where off-by-one defects usually show up.
Question 3
A function accepts an integer age that is valid from 18 to 60. Using equivalence class partitioning with one valid class and one invalid class on each side, what is the minimum number of test cases?
- 2
- 4
- 3
- 6
Answer: C. 3
Explanation: There are three partitions: below 18 (invalid), 18 to 60 (valid) and above 60 (invalid). One representative value from each gives 3 test cases.
All 30 software engineering questions with answers
- Which SDLC model is linear and sequential, with each phase (requirements…
- Testing an individual function or class in isolation from the rest of the…
- In Scrum, who is responsible for maintaining and prioritising the Product…
- Which git command creates a local copy of an existing remote repository?
- Black-box testing designs test cases based on:
- A form field accepts an age from 18 to 60, inclusive. Which set of test values…
- A program's control flow graph has 9 edges and 7 nodes and is a single…
- What is the main purpose of regression testing?
- What distinguishes the Spiral model from other SDLC models?
- What is the difference between git fetch and git pull?
- Good software design aims for which combination of cohesion and coupling?
- A function accepts an integer age that is valid from 18 to 60. Using…
- What happens after running git reset --soft HEAD~1?
- When does git perform a fast-forward merge of branch feature into main?
- Which of the following is NOT one of the four value statements of the Agile…
- Testing carried out by the developer organisation's own staff at the…
- In software engineering, what does SRS stand for?
- In Scrum, what is the fixed-length, time-boxed iteration in which the team…
- Which git command adds changes from the working directory to the staging area…
- "The results page must load within 2 seconds for up to 10,000 concurrent…
- In software quality, which question does verification answer, as opposed to…
- What is the minimum number of test cases needed for 100% branch (decision)…
- Which type of coupling between modules is considered the worst (strongest)?
- You have uncommitted changes but must switch branches quickly to fix an urgent…
- A bad commit has already been pushed to a shared main branch that teammates…
- A Scrum team completed 30, 34 and 26 story points in its last three sprints…
- What is the cyclomatic complexity of this procedure?
- Using Basic COCOMO in organic mode, Effort = 2.4 × (KLOC)^1.05 person-months…
- In mutation testing, 50 mutants are generated. 5 of them are equivalent…
- Why should you avoid rebasing commits that have already been pushed to a…
Software Engineering: common questions
What are software engineering questions?
SDLC, testing, agile and version control. They appear in the technical & programming section of many placement tests.
Where can I practise software engineering questions with answers for free?
Right here on LogicWiz Exams. Every software engineering question has a worked explanation after you answer. Practice is free and needs no sign-up.
How should I practise software engineering?
Start with easy questions, then move to medium and hard. Read the explanation after each answer, and come back to the ones you missed.
Start practising
On this page you can start a fresh set of software engineering questions, choose easy, medium or hard, and time yourself if you want to. Or practise the whole subject: Technical & Programming practice.
More technical & programming topics
- Pseudo-code: Trace loops, recursion and bitwise logic.
- C Programming: Output prediction, pointers and operators.
- Java: OOP, strings, collections and exceptions.
- Python: Data types, comprehensions and mutability.
- Data Structures: Arrays, stacks, queues, trees, graphs and hashing.
- Algorithms: Complexity, sorting, searching, recursion and DP.
- Object-Oriented Programming: Encapsulation, inheritance, polymorphism, abstraction.
- DBMS: Keys, normalisation, transactions and indexing.
- SQL: Joins, grouping, subqueries and query output.
- Operating Systems: Processes, scheduling, memory and deadlocks.
- Computer Networks: OSI/TCP-IP, protocols, addressing and ports.
- Cloud & DevOps: Service models, containers, CI/CD and Linux.
- GenAI Basics: LLMs, tokens, prompting, embeddings and RAG.
Other subjects
- Quantitative Aptitude: Arithmetic, percentages, time and work, speed, probability and data interpretation: the numerical section of every fresher test.
- Logical Reasoning: Series, coding-decoding, arrangements, syllogisms and puzzles: the section that separates prepared candidates from the rest.
- Verbal Ability: Vocabulary, grammar, reading comprehension and sentence order: tested in nearly every IT services hiring exam.
- Python: Python quizzes by topic, from types and strings to classes and generators: output prediction and interview concepts.
- SQL: SQL quizzes by topic, from SELECT and joins to window functions: query output and concepts for analyst and developer roles.
LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge · Test from a job description · LogicWiz Open: free team quiz · Free interview prep