Unit 1: Software Engineering Foundations & SDLC - Practice Quiz

CSE320 — Software Engineering 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What term is commonly used to describe the period in the late 1960s when software projects were often over budget, late, and unreliable, leading to the birth of software engineering?

Evolution and impact of software engineering Easy
A. The Software Crisis
B. The Hardware Limitation
C. The Digital Revolution
D. The Dot-com Bubble

2 What does the acronym SDLC stand for in software engineering?

Software development life cycle (SDLC) Easy
A. System Design Life Cycle
B. System Development Logic Circuit
C. Software Deployment Life Cycle
D. Software Development Life Cycle

3 Which SDLC model is characterized by a linear, sequential flow, where each phase must be fully completed before the next begins?

Life cycle models (Waterfall, Prototyping, Spiral, V-Model Agile & Scrum DevOps lifecycle) Easy
A. Agile Model
B. Prototyping Model
C. Spiral Model
D. Waterfall Model

4 A requirement stating, "The system shall allow users to add items to a shopping cart" is an example of a:

Functional & Non-functional requirements Easy
A. Non-functional Requirement
B. Functional Requirement
C. Business Requirement
D. System Constraint

5 A requirement specifying that "the system must be able to handle 1000 concurrent users" is best classified as a:

Functional & Non-functional requirements Easy
A. Non-functional Requirement
B. Data Requirement
C. Functional Requirement
D. User Interface Requirement

6 Which SDLC model is best suited for projects where requirements are not well understood at the beginning and user feedback is crucial?

Life cycle models (Waterfall, Prototyping, Spiral, V-Model Agile & Scrum DevOps lifecycle) Easy
A. V-Model
B. Formal Methods Model
C. Waterfall Model
D. Prototyping Model

7 Which of the following is typically the first phase of a standard SDLC?

Software development life cycle (SDLC) Easy
A. Testing
B. System Design
C. Coding or Implementation
D. Requirement Gathering and Analysis

8 Which of the following is a common technique used for gathering software requirements?

Requirement gathering & analysis Easy
A. Writing the source code
B. Performing unit tests
C. Deploying the application
D. Interviews with stakeholders

9 What is the primary purpose of a Software Requirements Specification (SRS) document?

Software Requirements Specification (IEEE standard, writing & validation) Easy
A. To outline the marketing strategy for the software
B. To serve as the user manual for the final product
C. To provide a complete description of the system's behavior and functionality
D. To list the programmers working on the project

10 The V-Model of software development is an extension of which other model?

Life cycle models (Waterfall, Prototyping, Spiral, V-Model Agile & Scrum DevOps lifecycle) Easy
A. Waterfall Model
B. Prototyping Model
C. Spiral Model
D. Agile Model

11 Which SDLC model places a strong emphasis on risk analysis in every iteration?

Life cycle models (Waterfall, Prototyping, Spiral, V-Model Agile & Scrum DevOps lifecycle) Easy
A. Waterfall Model
B. V-Model
C. Agile Model
D. Spiral Model

12 Which methodology is based on iterative and incremental development, where requirements and solutions evolve through collaboration?

Life cycle models (Waterfall, Prototyping, Spiral, V-Model Agile & Scrum DevOps lifecycle) Easy
A. Agile
B. V-Model
C. Waterfall
D. Sequential

13 The process of checking that the software product is being built correctly according to the specifications is known as:

Software Requirements Specification (IEEE standard, writing & validation) Easy
A. Verification
B. Accreditation
C. Inspection
D. Validation

14 The process of checking whether the developed software product meets the actual needs of the customer is known as:

Software Requirements Specification (IEEE standard, writing & validation) Easy
A. Code Review
B. Validation
C. Verification
D. Debugging

15 In the Scrum framework, what is a 'Sprint'?

Life cycle models (Waterfall, Prototyping, Spiral, V-Model Agile & Scrum DevOps lifecycle) Easy
A. A meeting to discuss project risks
B. The final version of the software ready for release
C. A time-boxed period of one to four weeks to accomplish a set amount of work
D. A document listing all user requirements

16 Software engineering aims to apply principles from which field to the development of software?

Evolution and impact of software engineering Easy
A. Marketing
B. Biology
C. Engineering
D. Accounting

17 What is the primary output of the requirement analysis phase?

Requirement gathering & analysis Easy
A. A working prototype
B. Software Requirements Specification (SRS) document
C. Source Code
D. Test Cases

18 Which of the following is a classic example of a non-functional requirement?

Functional & Non-functional requirements Easy
A. Report Generation
B. Online Payment Processing
C. Security
D. User Registration

19 What is the primary goal of the DevOps lifecycle model?

Life cycle models (Waterfall, Prototyping, Spiral, V-Model Agile & Scrum DevOps lifecycle) Easy
A. To build a quick prototype for immediate user feedback
B. To shorten the development lifecycle and enable continuous delivery with high quality
C. To complete all design work before starting any implementation
D. To focus exclusively on risk management before any code is written

20 Which organization is well-known for providing a standard for writing SRS documents, often referred to as IEEE 830?

Software Requirements Specification (IEEE standard, writing & validation) Easy
A. W3C (World Wide Web Consortium)
B. ISO (International Organization for Standardization)
C. IEEE (Institute of Electrical and Electronics Engineers)
D. ANSI (American National Standards Institute)

21 A project is characterized by high technical risks and requirements that are not fully understood at the outset. The client, however, needs to see a functional version early in the process to provide feedback. Which SDLC model is most appropriate for this scenario?

Life cycle models (Waterfall, Prototyping, Spiral, V-Model Agile & Scrum DevOps lifecycle) Medium
A. Formal Methods Model
B. V-Model
C. Waterfall Model
D. Spiral Model

22 An online banking application has a requirement stating: "The system shall encrypt all communication between the client and server using TLS 1.2 or higher." How should this requirement be classified?

Functional & Non-functional requirements Medium
A. Business Requirement
B. Security Requirement (a type of Non-functional)
C. Usability Requirement
D. Functional Requirement

23 A development team is building a new air traffic control system. The end-users are highly skilled controllers who find it difficult to articulate their cognitive processes and complex workflows. Which requirements gathering technique would be most effective?

Requirement gathering & analysis Medium
A. Brainstorming features with the project managers.
B. Analyzing existing, outdated system documentation.
C. Conducting observation and shadowing of controllers in their work environment.
D. Sending out questionnaires to all controllers.

24 What is the fundamental principle of the V-Model that distinguishes it from the Waterfall model?

Life cycle models (Waterfall, Prototyping, Spiral, V-Model Agile & Scrum DevOps lifecycle) Medium
A. It emphasizes early and frequent prototyping to gather user feedback.
B. It eliminates the need for detailed documentation.
C. It establishes a direct link between each development phase and a corresponding testing phase.
D. It allows for overlapping development phases to speed up delivery.

25 During an SRS validation review, a tester notes that a requirement, "The system should be user-friendly," is problematic. According to the IEEE 830 standard, which quality attribute does this requirement primarily violate?

Software Requirements Specification (IEEE standard, writing & validation) Medium
A. Verifiability
B. Completeness
C. Consistency
D. Modifiability

26 In a Scrum project, the Product Owner believes a new feature is critical and wants to add it to the current, ongoing Sprint. According to Scrum principles, what is the correct procedure?

Life cycle models (Waterfall, Prototyping, Spiral, V-Model Agile & Scrum DevOps lifecycle) Medium
A. The Scrum Master should add the feature to the Sprint Backlog and increase the Sprint's duration.
B. The Development Team must immediately stop their work and start on the new feature.
C. The new feature should be added to the Product Backlog and can be considered for a future Sprint during the next Sprint Planning meeting.
D. The Product Owner can directly assign the new task to an available developer.

27 The term "Software Crisis" in the late 1960s described a common set of problems in the industry. Which of the following best represents the impact of this crisis on the field of computing?

Evolution and impact of software engineering Medium
A. It caused companies to abandon large-scale software projects entirely.
B. It led to a decrease in the production of computer hardware.
C. It resulted in the dominance of assembly language programming for large systems.
D. It spurred the creation of software engineering as a formal discipline to manage complexity.

28 A system requirement states: "The system must be compliant with the General Data Protection Regulation (GDPR)." This is an example of:

Functional & Non-functional requirements Medium
A. A functional requirement, because it dictates data handling functions.
B. An external constraint, a specific type of non-functional requirement.
C. A performance requirement, as it may slow down data processing.
D. A usability requirement, because it affects user data.

29 A team is developing a small, well-understood web application. Their primary goal is to get a basic version to market as quickly as possible and then add more features in subsequent releases. Which model best fits this approach?

Life cycle models (Waterfall, Prototyping, Spiral, V-Model Agile & Scrum DevOps lifecycle) Medium
A. Waterfall Model
B. Incremental Development Model
C. Spiral Model
D. V-Model

30 If an SRS document contains two requirements that cannot both be true at the same time (e.g., R1: "User access is granted via password" and R2: "No password is required for user access"), the SRS fails in terms of which quality attribute?

Software Requirements Specification (IEEE standard, writing & validation) Medium
A. Traceability
B. Completeness
C. Feasibility
D. Consistency

31 A software company is using a Throwaway Prototyping model to develop a novel user interface. What is the most likely fate of the prototype code after the requirements are finalized?

Life cycle models (Waterfall, Prototyping, Spiral, V-Model Agile & Scrum DevOps lifecycle) Medium
A. It is delivered to the customer as the first version of the software.
B. It is discarded, and development of the final product begins from scratch using a more robust architecture.
C. It is integrated into the company's automated testing suite.
D. It is carefully refactored and becomes the foundation of the final product.

32 In a generic SDLC, what is the primary purpose of the Maintenance phase?

Software development life cycle (SDLC) Medium
A. To gather initial requirements from stakeholders.
B. To design the high-level architecture of the system.
C. To correct faults, improve performance, and adapt the software to a changed environment after release.
D. To perform final user acceptance testing before release.

33 A project manager is facing issues with stakeholders from different departments providing conflicting requirements for a new CRM system. Which requirements engineering technique is specifically designed to resolve such conflicts and build consensus in a structured workshop setting?

Requirement gathering & analysis Medium
A. Interviews
B. Surveys
C. Joint Application Design (JAD)
D. Document Analysis

34 Which of the following statements is a clear example of a functional requirement for an e-commerce website?

Functional & Non-functional requirements Medium
A. The user shall be able to add an item to the shopping cart by clicking an 'Add to Cart' button.
B. The website pages must load in under 2 seconds on a standard broadband connection.
C. The system shall be available 99.9% of the time.
D. The website's color scheme must adhere to the corporate branding guide.

35 The DevOps lifecycle aims to shorten the development lifecycle by emphasizing automation and collaboration. What does the concept of "Continuous Integration" (CI) primarily involve in this context?

Life cycle models (Waterfall, Prototyping, Spiral, V-Model Agile & Scrum DevOps lifecycle) Medium
A. Operations teams manually deploying new code to production servers on a daily basis.
B. Holding daily meetings between the development and operations teams.
C. Developers merging their code changes into a central repository frequently, after which automated builds and tests are run.
D. Continuously gathering feedback from end-users after each release.

36 In which phase of a traditional SDLC would you expect to create data flow diagrams (DFDs), architectural diagrams, and database schema designs?

Software development life cycle (SDLC) Medium
A. Design
B. Implementation (Coding)
C. Testing
D. Requirements Gathering and Analysis

37 A primary criticism of the classic Waterfall model, especially for long-term projects, is its:

Life cycle models (Waterfall, Prototyping, Spiral, V-Model Agile & Scrum DevOps lifecycle) Medium
A. Inflexibility in accommodating changes in requirements once a phase is complete.
B. Lack of emphasis on documentation.
C. Inability to handle stable and well-understood requirements.
D. Over-reliance on customer feedback throughout the process.

38 What is the primary purpose of a requirements traceability matrix in an SRS?

Software Requirements Specification (IEEE standard, writing & validation) Medium
A. To ensure all requirements are written in an unambiguous way.
B. To calculate the total cost of implementing all requirements.
C. To link each requirement back to its source (e.g., a business objective or stakeholder request) and forward to design and test cases.
D. To prioritize requirements based on their technical difficulty.

39 Consider these two statements about a university registration system:
1. The system shall allow students to register for courses online.
2. The system must support 2000 concurrent student registrations during the first week of the semester.

Which option correctly classifies both statements?

Functional & Non-functional requirements Medium
A. 1 is Functional, 2 is Non-functional (Performance).
B. 1 is Non-functional, 2 is Functional.
C. 1 is Non-functional, 2 is Non-functional.
D. 1 is Functional, 2 is Functional.

40 Which artifact is the primary output of a Sprint Planning meeting in Scrum?

Life cycle models (Waterfall, Prototyping, Spiral, V-Model Agile & Scrum DevOps lifecycle) Medium
A. An updated Burndown Chart.
B. The Product Backlog.
C. The Sprint Backlog.
D. A potentially shippable increment of software.

41 A project involves developing a novel medical imaging analysis tool using machine learning. The core algorithms have high technical uncertainty, and the user interface requirements from radiologists are expected to evolve as they interact with prototypes. Which SDLC model provides the best framework for managing both of these distinct types of risk simultaneously?

Life cycle models (Waterfall, Prototyping, Spiral, V-Model Agile & Scrum DevOps lifecycle) Hard
A. The Spiral model, using prototyping for requirement clarification in early iterations and focusing on technical risk mitigation for the algorithms in subsequent iterations.
B. An Evolutionary Prototyping model to refine the UI, followed by a Waterfall model for the backend.
C. A V-Model to ensure rigorous validation of the imaging algorithms.
D. A pure Scrum model, treating both UI features and algorithm improvements as backlog items prioritized by business value alone.

42 During an SRS validation review, a stakeholder points out that a specified functional requirement, while clear, complete, and testable, directly contradicts a fundamental business rule outlined in the project's vision document. This discovery represents a failure in which specific SRS quality attribute?

Software Requirements Specification (IEEE standard, writing & validation) Hard
A. Traceability
B. Modifiability
C. Verifiability
D. Correctness

43 Consider the following requirement for an e-commerce website: "The system must process payments using a third-party payment gateway that is PCI-DSS compliant." How should this requirement be primarily classified?

Functional & Non-functional requirements Hard
A. As a functional requirement, because it describes an interaction (processing payments).
B. As an external interface requirement with an embedded non-functional constraint.
C. As a design constraint, because it specifies a 'how' (using a gateway) rather than a 'what'.
D. As a non-functional requirement, specifically a performance requirement.

44 How does the V-Model's approach to Quality Assurance fundamentally differ from that of a standard Waterfall model, despite their shared sequential nature?

Life cycle models (Waterfall, Prototyping, Spiral, V-Model Agile & Scrum DevOps lifecycle) Hard
A. The V-Model introduces testing only after the implementation phase is fully complete.
B. The V-Model focuses exclusively on unit and integration testing, while Waterfall focuses on system and acceptance testing.
C. The V-Model is an iterative process, whereas the Waterfall model is strictly linear.
D. The V-Model integrates testing activities in parallel with development phases, emphasizing the principle of 'early test design'.

45 You are tasked with gathering requirements for a new air traffic control system intended to replace a legacy system. The current controllers rely heavily on intuition and tacit knowledge not documented anywhere. Which requirements elicitation technique would be most critical for capturing these implicit, expert-driven processes?

Requirement gathering & analysis Hard
A. Analyzing the existing legacy system's source code and database schema.
B. Using focus groups to brainstorm new features for the future system.
C. Employing ethnographic study, involving direct observation of controllers in their work environment over an extended period.
D. Conducting structured interviews with senior controllers using a pre-defined questionnaire.

46 In a Scrum project, the 'Definition of Done' (DoD) is a critical artifact. A mature team's DoD includes 'code reviewed', 'unit tests passed', 'integrated into main branch', and 'deployed to staging environment'. In a mature DevOps lifecycle, how would this DoD most likely be extended?

Life cycle models (Waterfall, Prototyping, Spiral, V-Model Agile & Scrum DevOps lifecycle) Hard
A. By adding 'acceptance criteria met', which is already part of the user story.
B. By adding 'all documentation has been updated'.
C. By adding 'Product Owner has signed off on the feature'.
D. By adding 'successfully deployed to production and key performance metrics are monitored and within acceptable limits'.

47 An SRS for a banking application contains the requirement: "The system shall provide a fast response to all user queries." According to the IEEE 830 standard, this requirement primarily lacks which essential quality characteristic?

Software Requirements Specification (IEEE standard, writing & validation) Hard
A. Unambiguity
B. Completeness
C. Verifiability
D. Correctness

48 The concept of 'Separation of Concerns' is a fundamental principle in software engineering. How is this principle manifested at an architectural level in a modern microservices-based system, as opposed to a traditional monolithic layered architecture?

Evolution and impact of software engineering Hard
A. In a monolith, concerns are separated into logical layers (e.g., UI, Business Logic, Data Access) within a single deployment unit. In microservices, concerns are separated into physically independent, deployable services organized around business capabilities.
B. In microservices, all business logic is separated into a single 'business' service, while in a monolith it is spread across all layers.
C. In both architectures, it is achieved by using different programming languages for different components.
D. In a monolith, separation of concerns applies only to the user interface, whereas in microservices it applies to the entire system.

49 A Scrum team's velocity has been consistently dropping for the last three sprints. A retrospective reveals that the team is spending an increasing amount of time fixing bugs found in production from previously delivered features. This pattern suggests a weakness in which Scrum element or practice?

Life cycle models (Waterfall, Prototyping, Spiral, V-Model Agile & Scrum DevOps lifecycle) Hard
A. The team's 'Definition of Done' is not stringent enough.
B. The Product Owner's ability to prioritize the backlog.
C. The Sprint Planning meeting, as they are likely overcommitting.
D. The Daily Scrum is not effective at identifying impediments.

50 When using the MoSCoW method for prioritization, a feature is classified as 'Should Have'. What is the most accurate implication of this classification for project planning and delivery?

Requirement gathering & analysis Hard
A. The feature is a critical dependency and the release is a failure without it.
B. The feature is a 'nice to have' and will only be worked on if there is spare capacity after all other work is complete.
C. The feature will not be included in the current release but is a high priority for a future release.
D. The feature is important and should be included if at all possible, but the release is not dependent on it. It can be held back if time or resources are constrained.

51 A non-functional requirement for a system is 'portability'. Which of the following is the best example of a specific, verifiable requirement that would support this NFR?

Functional & Non-functional requirements Hard
A. The system should be easy to move to a new operating system.
B. The system shall be deployable on both Windows Server 2022 and Red Hat Enterprise Linux 9 with no more than 4 person-hours of configuration effort and no source code changes.
C. The system must be written in a platform-independent language like Java or Python.
D. The system should avoid using proprietary hardware or software.

52 A project manager is choosing between an Evolutionary Prototyping model and a Throwaway Prototyping model. The project's primary uncertainty lies in defining a complex and novel user workflow, but the underlying technology stack is well-understood and stable. Which model is more suitable and why?

Life cycle models (Waterfall, Prototyping, Spiral, V-Model Agile & Scrum DevOps lifecycle) Hard
A. Throwaway Prototyping, because its goal is to solidify requirements, after which a more robust development process can begin using the stable technology.
B. Throwaway Prototyping, because it is cheaper and faster to build a prototype without worrying about the underlying architecture.
C. Evolutionary Prototyping, because it allows for more user feedback cycles.
D. Evolutionary Prototyping, because the prototype can be directly built upon, saving development time since the technology is stable.

53 What is the fundamental difference between SRS Validation and SRS Verification?

Software Requirements Specification (IEEE standard, writing & validation) Hard
A. Validation is done by the development team, while Verification is done by the client.
B. Validation asks "Are we building the right product?" (checking against user needs), while Verification asks "Are we specifying the product right?" (checking for quality attributes like clarity, consistency, and testability).
C. Validation is an automated process, while Verification is a manual review process like a walkthrough.
D. Validation checks if the SRS is well-written and complete (internal consistency), while Verification checks if the specified requirements meet the user's actual needs.

54 A project is initiated to add a major new feature to a large, existing legacy system. The new feature has several complex interfaces with the old code. The team estimates that the risk of unforeseen integration problems is very high. In a risk-driven Spiral model, what would be the most appropriate activity for the first one or two iterations?

Life cycle models (Waterfall, Prototyping, Spiral, V-Model Agile & Scrum DevOps lifecycle) Hard
A. Gathering detailed requirements for the entire new feature from all stakeholders.
B. Creating technical prototypes or 'spikes' to explore and de-risk the most complex integration points with the legacy system.
C. Building a comprehensive UI prototype of the new feature for user sign-off.
D. Developing a full-scale project plan and budget for the entire implementation.

55 A system's Service Level Agreement (SLA) guarantees 99.9% uptime. This is a classic non-functional requirement of 'Availability'. What is the most significant functional requirement that is implied by this NFR?

Functional & Non-functional requirements Hard
A. The system must be easily maintainable by the development team.
B. The system must process transactions securely.
C. The system must have a user-friendly interface.
D. The system must have robust monitoring, automated failure detection, and potentially failover capabilities.

56 During a requirements analysis workshop using Kano analysis, a feature is identified as a 'Performance' or 'One-Dimensional' attribute. What is the key characteristic of such a feature regarding customer satisfaction?

Requirement gathering & analysis Hard
A. The customer is neutral when it's absent, but delighted when it's present (an Exciter).
B. The customer is indifferent to its presence or absence.
C. Customer satisfaction is directly and linearly proportional to the extent to which the feature is implemented; the more/better of it, the more satisfied they are.
D. The customer is dissatisfied when it's absent, but neutral when it's present (a Basic Expectation).

57 A company is building an internal payroll system. The country's tax laws, which form the core logic, are complex, well-documented, and legally mandated to be stable for the next year. The user interface requirements are also clear and pre-defined by the HR department. However, the system must be demonstrably correct and auditable at every step. Which SDLC model is most appropriate?

Life cycle models (Waterfall, Prototyping, Spiral, V-Model Agile & Scrum DevOps lifecycle) Hard
A. Spiral Model, to manage the risks associated with misinterpreting tax law.
B. Evolutionary Prototyping, to refine the complex tax calculations.
C. V-Model, due to its emphasis on rigorous verification and validation at each stage for a system with stable, clear requirements.
D. Scrum, to allow for iterative feedback from the HR department.

58 A critical design flaw is discovered during the 'System Testing' phase of a pure Waterfall project. According to the model's principles, what is the most formally correct (though costly) immediate course of action?

Software development life cycle (SDLC) Hard
A. Note the flaw as 'known bug' and proceed to the 'Deployment' phase.
B. Patch the code directly and continue testing.
C. Form an agile mini-team to fix the flaw in a short sprint.
D. Halt the project, return to the 'Design' phase, update the design documents, and then re-initiate the subsequent 'Implementation' and 'Testing' phases.

59 During a Sprint Review, stakeholders express disappointment with a feature. The development team demonstrates that the feature perfectly implements all acceptance criteria listed in the user story. This situation points to a primary failure in which activity?

Life cycle models (Waterfall, Prototyping, Spiral, V-Model Agile & Scrum DevOps lifecycle) Hard
A. The Backlog Refinement process and the Product Owner's engagement with stakeholders.
B. The Sprint Review meeting's format and structure.
C. The Scrum Master's facilitation of the Daily Scrum.
D. The development team's implementation during the Sprint.

60 The 'Software Crisis' of the 1960s and 70s was a primary catalyst for the emergence of software engineering as a formal discipline. A key economic principle highlighted by this crisis, and famously illustrated by Barry Boehm, was that:

Evolution and impact of software engineering Hard
A. Larger development teams produce software at a slower per-person rate due to communication overhead.
B. Agile methods were inherently more cost-effective than plan-driven methods.
C. The relative cost to fix a software defect increases exponentially the later it is found in the development lifecycle.
D. The cost of hardware was decreasing faster than the cost of software.