Independent Preparation Bank for Pakistani Computing Graduates • 100% Free • No Signup
NSCTTest.
Simulator
Home/Subjects/Software Engineering/Software Requirements Engineering
Software EngineeringTopic #4 of 535 MCQs Available

Software Requirements Engineering

Comprehensive question bank, step-by-step rationales, and dedicated timed quiz for Software Requirements Engineering.

Launch Quiz Mode ↗

Software Requirements Engineering Question Bank

Showing 35 questions of 35 with verified answers

12Multiple Choice

(Comparison) Compare **Monolithic** and **Service-Oriented Architecture (SOA)**. What is a key characteristic of SOA?

13Multiple Choice

(Conceptual) What is the purpose of an API Gateway in a Microservices architecture? api-request GET /api/v1/customers/502/orders Content-Type: application/json

14Multiple Choice

(Scenario-Based) An architect is using the ATAM (Architecture Trade-off Analysis Method). The goal is to:

15Multiple Choice

(Conceptual) In the Model-View-Controller pattern, which component is responsible for updating the state of the database?

1Multiple Choice

(Scenario-Based) A user is filling out a long registration form. After clicking "Submit," the page clears all fields and shows a red error message at the top saying "Invalid Input," • • • • but doesn't highlight which field is wrong. This is a violation of which of Shneiderman's Golden Rules?

2Multiple Choice

(Comparison) What is the primary architectural difference between Direct Manipulation (like a GUI) and Command Line Interfaces (CLI)?

3Multiple Choice

(Conceptual) In the context of Accessibility, what is the primary purpose of "ALT" tags in HTML or ARIA labels in web applications?

4Multiple Choice

(Scenario-Based) A mobile app designer notices that users frequently accidentally click the "Delete" button because it is placed right next to the "Save" button and is very small. Which UI law should the designer apply to fix the button size and placement?

5Multiple Choice

(Code/Console Logic) A developer is checking a Web Accessibility report. Based on the following JSON configuration for a button, what is the most likely UI issue?

6Multiple Choice

(Conceptual) What does the term "Affordance" mean in UI design?

7Multiple Choice

(Scenario-Based) An expert user of a photo editor wants to quickly switch between the "Brush" and "Eraser" tools. Instead of clicking the icons in the sidebar, they press 'B' and 'E' on the keyboard. This UI feature is an example of:

8Multiple Choice

(Comparison) Compare Modal and Modeless dialog boxes. Which is the defining characteristic of a Modal dialog?

9Multiple Choice

(Conceptual) In the UI design process, what is the primary purpose of creating a Low- Fidelity Prototype (like a paper sketch)?

10Multiple Choice

(Scenario-Based) A designer is choosing icons for a global application. They decide not to use a "Mailbox" icon for 'Email' because users in different countries have very different looking physical mailboxes. This is a consideration of:

1Multiple Choice

(Scenario-Based) A developer is writing a function to process user ages. Even though the documentation says users will only provide numbers, the developer adds code to check if the input is negative or a string, and returns an error message if so. This practice is known as:

2Multiple Choice

(Code/Console Logic) A developer has finished a feature and is preparing to share it with the team. Which Version Control command sequence correctly represents the implementation workflow? • git-terminal $ git add . $ git commit -m "Implement user authentication logic" $ git push origin feature-auth

3Multiple Choice

(Conceptual) Why do professional software organizations enforce Coding Standards?

4Multiple Choice

(Comparison) What is the difference between Internal Documentation and External Documentation?

5Multiple Choice

(Scenario-Based) A team decides to skip writing unit tests and ignores code reviews just to hit a very tight release deadline. They know they will have to go back and fix these issues later. This "cost of rework" is called:

6Multiple Choice

(Code/Console Logic) During a Code Review, a senior developer leaves the following comment on a junior's code. What is the senior developer suggesting?

7Multiple Choice

(Conceptual) What is the primary characteristic of Self-Documenting Code?

8Multiple Choice

(Comparison) In the context of implementation, what is the difference between Logic Errors and Syntax Errors?

9Multiple Choice

(Scenario-Based) An engineer is told that their implementation must be "Portable." This means the code should:

10Multiple Choice

(Conceptual) Which of the following describes the practice of Pair Programming during the implementation phase?

1Multiple Choice

(Scenario-Based) A bank releases a new version of its mobile app to fix a small login bug. After the update, users find that they can no longer transfer money between accounts —a feature that worked perfectly before. What type of testing was skipped or performed inadequately?

2Multiple Choice

(Calculation) A software component accepts an integer input representing a user's age, which must be between 18 and 65 (inclusive). Using Boundary Value Analysis, which set of values represents the best test inputs?

3Multiple Choice

(Code/Console Logic) A developer is analyzing a function's Control Flow Graph. Based on the logic below, what is the minimum number of test cases required to achieve 100% Statement Coverage? coverage_logic.cpp void checkAccess(bool isAdmin, bool isActive) { if (isAdmin) { logAdminAccess(); } if (isActive) { grantAccess(); }

4Multiple Choice

(Conceptual) Which testing technique is most effective for discovering Logic Errors and "Dead Code" that can never be executed?

5Multiple Choice

(Scenario-Based) A software product is finished and is currently being tested by a selected group of end-users at their own locations before the general public release. This is known as:

6Multiple Choice

(Comparison) What is the primary difference between Static Testing and Dynamic Testing? }

7Multiple Choice

(Code/Console Logic) A QA engineer is looking at an Automation Report. Based on the console output, which testing category is being executed?

8Multiple Choice

(Conceptual) In the context of Verification, what is a "Walkthrough"?

9Multiple Choice

(Calculation) A tester uses Equivalence Partitioning for a field that accepts marks from 0 to 100. How many "Invalid" partitions are there?

10Multiple Choice

(Scenario-Based) A gaming company wants to see if their server will crash if 100,000 players log in at the exact same second. This is an example of:

23Multiple Choice

According to the Liskov Substitution Principle (LSP) in SOLID design, what must be true of derived classes?