What does a software engineer mainly do?
A) Build hardware components
B) Develop and maintain software using engineering principles
C) Manage company finances
D) Design websites only
B) Develop and maintain software using engineering principles
Which OOP principle focuses on exposing only the necessary parts of an object and hiding unnecessary details?
A) Encapsulation
B) Inheritance
C) Polymorphism
D) Abstraction
D) Abstraction
Which architecture structure separates an application into 3 components: managing data, user interface, and processing user input?
A) Client-server
B) Microservices
C) Model-View-Controller (MVC)
D) Layered
C) Model-View-Controller (MVC)
Which git command publishes local work to a shared repository?
A) Push
B) Merge
C) Pull
D) Commit
A) Push
Which phase is not part of the SDLC?
A) Design
B) Implementation
C) Manufacturing
D) Testing
C) Manufacturing
Which OOP principle focuses on taking on properties and behaviors from a parent
A) Inheritance
B) Polymorphism
C) Abstraction
D) Encapsulation
A) Inheritance
Which UML diagram is structural?
A) Sequence Diagram
B) Use Case Diagram
C) Class Diagram
D) Activity Diagram
C) Class Diagram
Which git command combines multiple branches of development history into one?
A) Pull
B) Commit
C) Merge
D) Push
C) Merge
Which of the following is a non-functional requirement?
A) User login feature
B) System uptime of 99.9%
C) Payment processing
D) Data entry form
B) System uptime of 99.9%
Which OOP principle focuses on taking on many forms, staying flexible, and being reusable?
A) Inheritance
B) Abstraction
C) Polymorphism
D) Encapsulation
C) Polymorphism
The phases of the Software Testing Life Cycle (STLC) includes:
A) Coding, compiling, debugging
B) Requirement analysis, test planning, test execution
C) Marketing, deployment, sales
D) None of the above
B) Requirement analysis, test planning, test execution
Which git command updates local work by checking out a branch from a shared repository?
A) Commit
B) Pull
C) Push
D) Merge
B) Pull
Which of the following is NOT considered a core software engineering activity?
A) Requirements analysis and specification
B) Code refactoring and optimization
C) User interface design for aesthetic appeal only
D) System testing and validation
C) User interface design for aesthetic appeal only
Which OOP principle focuses on containing data, attributes, methods, and functions within a single unit or class?
A) Abstraction
B) Encapsulation
C) Inheritance
D) Polymorphism
B) Encapsulation
Integration testing checks if individual units of code work correctly in isolation.
True / False
False
Which git command creates a “save” point for your project and contains a unique comment for documentation?
A) Pull
B) Push
C) Merge
D) Commit
D) Commit
The YAGNI principle stands for?
A) You Aren’t Gonna Need It
B) Your Application Gets New Interfaces
C) You Always Generate New Ideas
D) Your Algorithm Goes Next In
A) You Aren’t Gonna Need It
Refactoring code always changes its external behavior.
True / False
False
In Agile development, frequent feedback and iterative releases are encouraged.
True / False
True
In Git, what command stages files to commit?
A) git push
B) git commit
C) git add .
D) git pull
C) git add .