Ch 09: Testing Basics and Techniques

106 Questions106 MCQs0 Short Questions0 Long Questions
๐ŸŽฏ Exam Practice Papers
SEMESTER PASS

CS611 - Software Quality Engineering Examination Practice

Timed practice exam simulation for CS611 - Software Quality Engineering.

๐Ÿ“˜ VU MID TERM EXAMLectures 1 to 22
โฑ๏ธ 60 Mins

Mid Term Examination

Covers syllabus of Lectures 1 to 22 with 30 high-yield MCQs in a timed exam environment.

๐Ÿ“30 MCQs
โฑ๏ธ60 Minutes
๐Ÿ“— VU FINAL TERM EXAMLectures 23 to 45
โฑ๏ธ 90 Mins

Final Term Examination

Comprehensive semester exam preparation with 45 MCQs covering Lectures 23 to 45 with complete course coverage.

๐Ÿ“45 MCQs
โฑ๏ธ90 Minutes
Showing 1 โ€“ 10 of 106 Questions
Page 1 of 11
Q1
โ“ MCQ๐Ÿ“˜ CS611๐Ÿ“‘ Lec 9๐Ÿท๏ธ 09.9. Example-II: Black Box TestingEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
According to Module 09, Example 2 of Black Box Testing, which of the following represents a set of recommended conditions and boundary tests when evaluating a Date Class with a DaysInMonth(month, Year) method?
  1. A.Compile code blocks using SCM systems and count total execution statements.
  2. B.Check for leap year (every 4th year), try years such as even 100s, 101s, 4s, 5s, and try months such as June, July, Feb, and Invalid Values.
  3. C.Run stress testing with 500,000 concurrent database write requests using automated testing tools.
  4. D.Inspect UML class diagrams and perform static peer walkthroughs led by a certified lead auditor.
Q2
โ“ MCQ๐Ÿ“˜ CS611๐Ÿ“‘ Lec 9๐Ÿท๏ธ 09.8. Example-I: Black Box TestingEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
According to Module 09 of the course handouts, which of the following represents a classic testing error/test idea for an arithmetic division feature under Black Box Testing?
  1. A.Dividing by zero to verify if the program handles the exception or crashes.
  2. B.Running line-by-line statement coverage to ensure the division loop is executed.
  3. C.Conducting a third-party CMMI compliance audit on the division algorithm's requirements.
  4. D.Manually examining code comments to verify that the author of the division function is cited.
Q3
โ“ MCQ๐Ÿ“˜ CS611๐Ÿ“‘ Lec 9๐Ÿท๏ธ 09.4. Major Activities in Software TestingEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
According to Module 09 of the course handouts, what are the three main activities in software testing?
  1. A.Requirement Gathering, Design Walkthrough, and Code Compilation Reviews.
  2. B.Test Planning & Preparation, Test Execution, and Analysis & Follow-up.
  3. C.Configuration Management, Process Auditing, and Milestone Billing.
  4. D.Unit Testing, Integration Testing, and System Deployment.
Q4
โ“ MCQ๐Ÿ“˜ CS611๐Ÿ“‘ Lec 9๐Ÿท๏ธ 09.2. Rationale for TestingMediumโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
According to Module 09 of the course handouts, which of the following describes the key reasons comprising the 'Rationale for Testing'?
  1. A.To automate the project planning efforts and reduce total development time to less than 200 hours.
  2. B.To ensure the system is working as expected, provide objective information about quality, allow stakeholders to put confidence in the product, and reveal risks associated with implementation.
  3. C.To audit the SCM configuration management logs and ensure that no team member can modify shared code bases.
  4. D.To establish a legal Service Level Agreement (SLA) with the client to bypass the need for future hot-fixes.
Q5
โ“ MCQ๐Ÿ“˜ CS611๐Ÿ“‘ Lec 9๐Ÿท๏ธ 09.5. Functional TestingMedium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
According to Module 09 of the course handouts, what is the primary focus of 'Functional Testing'?
  1. A.Verifying the internal data structures, branch coverages, and code structures of the program.
  2. B.Verifying that the software and all of its functions perform in total conformance with the software requirements, focusing on external behavior.
  3. C.Measuring the exact amount of hardware resources, such as disk space and memory, consumed at compile time.
  4. D.Automating the translation of UML use case diagrams into executable database scripts.
Q6
โ“ MCQ๐Ÿ“˜ CS611๐Ÿ“‘ Lec 9๐Ÿท๏ธ 09.11. Example-I: White Box TestingMediumโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
According to Module 09, Example 1 of White Box Testing, what is the outcome of calling the function calculate(4, 3, 2), and why does it occur?
๐Ÿ’ป cpp Snippet
Float calculate (int a, int b, int c)
{
  Float e=0.0;
  if (a==0) return e;
  int x=0;
  if (a>b && ca) // a=4, b=3, c=2
  {
    x=a;
  }
  e=1/x;
  return e;
}
  1. A.It returns 0.25 because the condition (a>b && ca) is fully satisfied, causing x to be assigned 4.
  2. B.It immediately returns 0.0 at the beginning because a is equal to 0, preventing any further line execution.
  3. C.It results in a critical runtime division-by-zero error because the condition (a>b && ca) evaluates to false (as 2 > 4 is false), meaning x remains 0 and the division 1/x is executed as 1/0.
  4. D.It returns 1.0 because the variable x is initialized to 1 by default to avoid arithmetic exceptions during compiler runs.
Q7
โ“ MCQ๐Ÿ“˜ CS611๐Ÿ“‘ Lec 9๐Ÿท๏ธ 09.4. Major Activities in Software TestingEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Sourced from Module 09, Section 09.4 of the course handouts, what critical SQA concept must be kept in mind regarding defect fixing and re-verification activities?
  1. A.Both defect fixing and re-verification are integrated parts of the software testing process.
  2. B.Defect fixing is a development activity, while re-verification is exclusively a customer-side billing activity.
  3. C.Both activities are handled automatically by SCM compiling tools without QA involvement.
  4. D.Re-verification is only performed after software reaches CMMI Maturity Level 5.
Q8
โ“ MCQ๐Ÿ“˜ CS611๐Ÿ“‘ Lec 9๐Ÿท๏ธ 09.6. Structural TestingEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
According to Module 09 of the course handouts, which of the following best defines 'Structural Testing' as outlined under Section 09.6?
  1. A.It is a testing strategy focused on the internal implementation details of the software product, verifying that programming/code structures, blocks, data structures, and interconnections are implemented correctly.
  2. B.It is abstract-level testing that ensures the software is giving the desired output to the end-user without questioning how the functionality is achieved.
  3. C.It is a static peer-review method where requirements are analyzed by SCM configuration teams to prevent code branching conflicts.
  4. D.It is an auditing practice that uses CPI and SPI metrics to assess the commercial viability and market value of off-the-shelf products.
Q9
โ“ MCQ๐Ÿ“˜ CS611๐Ÿ“‘ Lec 9๐Ÿท๏ธ 09.2. Rationale for TestingEasy๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Based on the testing rationale outlined in Module 09, why is executing software in a 'controlled or simulated environment' considered the most natural way to perform testing?
  1. A.It eliminates the need for developers to write unit tests or perform manual code inspections.
  2. B.It allows software defects and bugs to be discovered and taken care of before the product is deployed on live customer sites.
  3. C.It guarantees that the software will be 100% bug-free and eliminates the need for post-deployment SLAs.
  4. D.It automatically optimizes the SCM repository branches to prevent conflicts on merged code bases.
Q10
โ“ MCQ๐Ÿ“˜ CS611๐Ÿ“‘ Lec 9๐Ÿท๏ธ 09.1. What is Software TestingEasyโญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
According to Module 09 of the course handouts, how is 'Software Testing' formally defined and what are its primary objectives?
  1. A.It is a static walkthrough of requirements specifications conducted exclusively by a certified lead auditor.
  2. B.It is the process of executing the software product with the intention to ensure that it is giving the desired outcomes, satisfying all requirements/business needs, and finding defects so they can be corrected.
  3. C.It is an automated compilation technique to minimize the execution lines of code in database shared variables.
  4. D.It is a project management planning process used to calculate cost variances and Schedule Performance Index (SPI) values.