Software Engineering Software Engineering 3 ā Questions and Answers
Question 1: Which Agile ceremony is held daily and limited to 15 minutes?
- Sprint Review
- Sprint Retrospective
- Daily Standup (Correct answer)
- Backlog Refinement
Correct answer: Daily Standup
The Daily Standup (or Daily Scrum) is a short synchronization meeting where team members share progress, plans, and blockers.
Question 2: What is 'Big O notation' used to express?
- The number of bugs in a codebase
- The asymptotic time or space complexity of an algorithm (Correct answer)
- The size of the development team needed
- The percentage of code covered by tests
Correct answer: The asymptotic time or space complexity of an algorithm
Big O notation describes how an algorithm's runtime or memory usage grows relative to the size of its input.
Question 3: In version control, what is a 'merge conflict'?
- Two developers pushing to different repositories
- Two branches modifying the same lines of a file in incompatible ways (Correct answer)
- A failed build caused by a missing dependency
- A branch that has fallen too far behind the main branch
Correct answer: Two branches modifying the same lines of a file in incompatible ways
A merge conflict occurs when two branches have made different changes to the same region of a file and Git cannot automatically reconcile them.
Question 4: What is the main advantage of microservices over a monolithic architecture?
- Microservices always run faster than monoliths
- Services can be deployed, scaled, and developed independently (Correct answer)
- Microservices eliminate the need for databases
- Microservices require less network infrastructure
Correct answer: Services can be deployed, scaled, and developed independently
Microservices allow each service to be scaled, updated, and deployed independently, enabling faster iteration and fault isolation.
Question 5: Which testing level verifies that individual components work correctly in isolation?
- System testing
- Acceptance testing
- Integration testing
- Unit testing (Correct answer)
Correct answer: Unit testing
Unit testing targets the smallest testable parts of an application ā individual functions or methods ā in isolation from other components.
Question 6: What does 'DRY' stand for in software engineering principles?
- Deploy, Run, Yield
- Don't Repeat Yourself (Correct answer)
- Dynamic Resource Yielding
- Data Reduction Yield
Correct answer: Don't Repeat Yourself
DRY (Don't Repeat Yourself) advocates for reducing duplication by abstracting repeated logic into a single authoritative location.
Question 7: What is 'refactoring' in software development?
- Adding new features to existing code
- Rewriting an application from scratch in a new language
- Restructuring existing code without changing its external behavior (Correct answer)
- Fixing bugs found during QA testing
Correct answer: Restructuring existing code without changing its external behavior
Refactoring improves code structure, readability, and maintainability while preserving its existing functionality.
Which Agile ceremony is held daily and limited to 15 minutes?