← All B.S.W.E. Bachelor of Software Engineering Flashcard Decks

B.S.W.E. Bachelor of Software Engineering MCQ Flashcards

7 cards from real B.S.W.E. Bachelor of Software Engineering practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.

Read the first 7 B.S.W.E. Bachelor of Software Engineering MCQ flashcards as text
  1. Which software process model is best suited for projects with well-understood, stable requirements?

    Answer: Waterfall model

    The Waterfall model works best when requirements are fully known and unlikely to change because it follows a rigid sequential phase structure.

  2. In object-oriented design, which principle states that a class should have only one reason to change?

    Answer: Single Responsibility Principle

    The Single Responsibility Principle (SRP) dictates each class should encapsulate only one responsibility, making it have only one reason to change.

  3. Which data structure provides O(1) average-case time complexity for both insertion and lookup?

    Answer: Hash table

    A hash table uses a hash function to map keys to buckets, achieving O(1) average time for insert and lookup operations.

  4. In a relational database, the property that ensures a transaction is fully completed or not applied at all is called:

    Answer: Atomicity

    Atomicity is the ACID property guaranteeing that each transaction is treated as a single indivisible unit—either all operations succeed or none are applied.

  5. Which network layer of the OSI model is responsible for end-to-end communication and error recovery between hosts?

    Answer: Transport layer

    The Transport layer (Layer 4) handles end-to-end communication, flow control, and error recovery using protocols like TCP.

  6. In software testing, a technique that derives test cases from the internal structure and code logic of a program is known as:

    Answer: White-box testing

    White-box testing (structural testing) designs test cases based on knowledge of the internal code structure, paths, and logic.

  7. Which version control concept allows developers to work on features independently without affecting the main codebase?

    Answer: Branching

    Branching creates a separate line of development so new features or bug fixes can be built in isolation from the main (production) branch.