0
0
Software Engineeringknowledge~5 mins

Software engineering principles - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the principle of Modularity in software engineering?
Modularity means breaking a software system into smaller, independent parts called modules. Each module handles a specific task, making the system easier to understand, develop, and maintain.
Click to reveal answer
beginner
Explain the DRY (Don't Repeat Yourself) principle.
DRY means avoiding duplication of code or logic. Instead of repeating the same code, you write it once and reuse it. This reduces errors and makes maintenance easier.
Click to reveal answer
intermediate
What does the Single Responsibility Principle (SRP) state?
SRP says that each part of a program should have only one reason to change. In other words, a module or class should focus on a single task or responsibility.
Click to reveal answer
beginner
Why is Testing important in software engineering?
Testing helps find and fix errors early. It ensures the software works as expected and improves quality and reliability before users see it.
Click to reveal answer
intermediate
Describe the Open/Closed Principle.
This principle means software entities like classes should be open for extension but closed for modification. You can add new features without changing existing code, reducing bugs.
Click to reveal answer
Which principle encourages breaking software into smaller parts?
ATesting
BDRY
COpen/Closed Principle
DModularity
What does DRY stand for?
ADon't Repeat Yourself
BDo Repeat Yourself
CDebug Regularly Yourself
DDesign Right Yourself
The Single Responsibility Principle means:
AA module should have many responsibilities
BModules should be open for modification
CA module should have only one reason to change
DModules should be tested once
Why is testing done in software engineering?
ATo add new features
BTo find and fix errors early
CTo write more code
DTo increase software size
The Open/Closed Principle means software should be:
AOpen for extension, closed for modification
BOpen for modification, closed for extension
CClosed for both extension and modification
DClosed for extension, open for modification
Explain the importance of modularity and how it helps in software development.
Think about how dividing a big task into smaller tasks helps.
You got /4 concepts.
    Describe the DRY principle and why avoiding code duplication is beneficial.
    Imagine fixing a bug in one place instead of many.
    You got /4 concepts.