โ 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?
A.Compile code blocks using SCM systems and count total execution statements.
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.
C.Run stress testing with 500,000 concurrent database write requests using automated testing tools.
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?
A.Dividing by zero to verify if the program handles the exception or crashes.
B.Running line-by-line statement coverage to ensure the division loop is executed.
C.Conducting a third-party CMMI compliance audit on the division algorithm's requirements.
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?
A.Requirement Gathering, Design Walkthrough, and Code Compilation Reviews.
B.Test Planning & Preparation, Test Execution, and Analysis & Follow-up.
C.Configuration Management, Process Auditing, and Milestone Billing.
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'?
A.To automate the project planning efforts and reduce total development time to less than 200 hours.
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.
C.To audit the SCM configuration management logs and ensure that no team member can modify shared code bases.
D.To establish a legal Service Level Agreement (SLA) with the client to bypass the need for future hot-fixes.
According to Module 09 of the course handouts, what is the primary focus of 'Functional Testing'?
A.Verifying the internal data structures, branch coverages, and code structures of the program.
B.Verifying that the software and all of its functions perform in total conformance with the software requirements, focusing on external behavior.
C.Measuring the exact amount of hardware resources, such as disk space and memory, consumed at compile time.
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;
}
A.It returns 0.25 because the condition (a>b && ca) is fully satisfied, causing x to be assigned 4.
B.It immediately returns 0.0 at the beginning because a is equal to 0, preventing any further line execution.
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.
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?
A.Both defect fixing and re-verification are integrated parts of the software testing process.
B.Defect fixing is a development activity, while re-verification is exclusively a customer-side billing activity.
C.Both activities are handled automatically by SCM compiling tools without QA involvement.
D.Re-verification is only performed after software reaches CMMI Maturity Level 5.
According to Module 09 of the course handouts, which of the following best defines 'Structural Testing' as outlined under Section 09.6?
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.
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.
C.It is a static peer-review method where requirements are analyzed by SCM configuration teams to prevent code branching conflicts.
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?
A.It eliminates the need for developers to write unit tests or perform manual code inspections.
B.It allows software defects and bugs to be discovered and taken care of before the product is deployed on live customer sites.
C.It guarantees that the software will be 100% bug-free and eliminates the need for post-deployment SLAs.
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?
A.It is a static walkthrough of requirements specifications conducted exclusively by a certified lead auditor.
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.
C.It is an automated compilation technique to minimize the execution lines of code in database shared variables.
D.It is a project management planning process used to calculate cost variances and Schedule Performance Index (SPI) values.
๐ Related CS611 - Software Quality Engineering Curriculum Units
Continue practicing topic-wise multiple choice questions from adjacent examination units.