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?

  1. Spiral model
  2. Waterfall model
  3. Scrum
  4. 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?

  1. 18, 39, 60
  2. 0, 50, 100
  3. 17, 18, 60, 61
  4. 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?

  1. 2
  2. 4
  3. 3
  4. 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

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

Other subjects

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