Software Engineering Flashcards
6 cards from real B CompE Bachelor of Computer Engineering practice questions. Tap to flip, then mark Knew It or Still Learning โ missed cards come back until you master them.
Read the first 6 Software Engineering flashcards as text
Which software metric measures the number of independent paths through a program's source code?
Answer: Cyclomatic Complexity
Cyclomatic complexity measures the number of linearly independent paths through a program, indicating testing effort and code complexity.
What is the primary goal of refactoring in software development?
Answer: Improve internal code structure without changing external behavior
Refactoring restructures existing code to improve readability and maintainability without altering its observable behavior.
Which design pattern ensures only one instance of a class exists and provides a global access point?
Answer: Singleton Pattern
The Singleton pattern restricts a class to a single instance and provides a global access point to that instance.
What is the purpose of a software requirements specification (SRS) document?
Answer: Provide a detailed description of the software's functions, performance, and constraints
An SRS document formally describes what a software system should do, serving as a contract between stakeholders and developers.
Which version control system is most widely used for distributed source code management?
Answer: Git
Git is the most widely used distributed version control system, allowing every developer to have a full copy of the repository.
What does 'black-box testing' mean in software testing?
Answer: Testing software functionality without knowledge of internal implementation
Black-box testing validates software functionality based on inputs and expected outputs without knowledge of the internal source code.
How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. We have not yet matched this exam's facts to an official source, so confirm fees, dates and rules with the exam body. Not reviewed by a subject-matter expert. Editorial policy