CTFL 2018 Sample Exam C v1.2
CTFL 2018 Sample Exam Quiz
Test your knowledge of software testing principles and practices with our comprehensive quiz designed for aspiring testers, Agile practitioners, and software quality assurance professionals. With 40 carefully crafted questions, this quiz will help you assess your understanding of crucial testing concepts, processes, and methodologies.
Join us for a challenging experience that includes:
- Multiple choice questions
- Real-world scenarios
- Immediate feedback on your performance
- Insights into quality assurance practices
Consider the following types of defects that a test level might focus on:
- Defects in separately testable modules or objects
- Not focused on identifying defects
- Defects in interfaces and interactions
- Defects in the whole test object
Which of the following list correctly matches test levels from the Foundation syllabus with the defect focus options given above?
You are working on a video game development project, using Agile methods. It is based on Greek mythology and history, and players can play key roles in scenarios such as the battles between the Greeks and Trojans.
Consider the following user story and its associated acceptance criteria:
As a player,
I want to be able to acquire the Rod of Midas (a new magic object), so that I can turn objects and other players into gold
AC1: The Rod must work on any object or player, no matter what size, which can be touched anywhere by the player holding the Rod
AC2: Holding the Rod does not change the player holding it into gold
AC3: Any object or player touched by the Rod transforms completely into gold within one millisecond
AC4: The Rod appears as shown in Prototype O.W.RoM
AC5: The transformation starts at the point of contact with the Rod and moves at a rate of one meter per millisecond
You are participating in a checklist-based review session of this user story.
This user story and its associated acceptance criteria contain which of the following typical defects identified by static testing in this type of work product?
A batch application has been in production unchanged for over two years. It runs overnight once a month to produce statements that will be e-mailed to customers. For each customer, the application goes through every account and lists every transaction on that account in the last month. It uses a nested-loop structure to process customers (outer loop), each customer’s accounts (middle loop), and each account’s transactions (inner loop).
One night, the batch application terminates prematurely, failing to e-mail statements to some customers, when it encounters a customer with one account for which no transactions occurred in the last month. This is a very unusual situation and has not occurred in the years since this application was placed in production.
While fixing the defect, a programmer asks you to recommend test techniques that are effective against this kind of defect. Which of the following test techniques would most likely have been able to detect the underlying defect?
You are testing an unattended gasoline pump that only accepts credit cards. Once the credit card is validated, the pump nozzle placed into the tank, and the desired grade selected, the customer enters the desired amount of fuel in gallons using the keypad. The keypad only allows the entry of digits. Fuel is sold in tenths (0.1) of a gallon, up to 50.0 gallons.
Which of the following is a minimum set of desired amounts that covers the equivalence partitions for this input?
You are testing an e-commerce system that sells cooking supplies such as spices, flour, and other items in bulk. The units in which the items are sold are either grams (for spices and other expensive items) or kilograms (for flour and other inexpensive items). Regardless of the units, the smallest valid order amount is 0.5 units (e.g., half a gram of cardamom pods) and the largest valid order amount is 25.0 units (e.g., 25 kilograms of sugar). The precision of the units field is 0.1 units.
Which of the following is a set of input values that cover the boundary values with two-point boundary values for this field?
Consider the following decision table for the portion of an online airline reservation system that allows frequent flyers to redeem points for reward travel:
Condition |
1 |
2 |
3 |
Account/password okay |
N |
Y |
Y |
Sufficient points |
- |
N |
Y |
Action |
|
|
|
Show flight history |
N |
Y |
Y |
Allow reward travel |
N |
N |
Y |
Suppose that there are two equivalence partitions for the condition where Account/password okay is not true, one where the account is invalid and another where the account is valid but the password is invalid. Suppose that there is only one equivalence partition corresponding to the condition where Account/password okay is true, where both the account and password are valid.
If you want to design tests to cover the equivalence partitions for Account/password okay and also for this portion of the decision table, what is the minimum number of tests required?
Consider the following state transition diagram for a credit-card only, unattended gasoline pump:
Assume that you want to develop the minimum number of tests to cover each transition in the state transition diagram. Assume further that each test must start at the beginning state, waiting for customer, and each test ends when a transition arrives at the beginning state. How many tests do you need?
You are testing an e-commerce system that sells cooking supplies such as spices, flour, and other items in bulk. The units in which the items are sold are either grams (for spices and other expensive items) or kilograms (for flour and other inexpensive items). Regardless of the units, the smallest valid order amount is 0.5 units (e.g., half a gram of cardamom pods) and the largest valid order amount is 25.0 units (e.g., 25 kilograms of sugar). The precision of the units’ field is 0.1 units.
Which of the following is a MINIMAL set of input values that cover the equivalence partitions for this field?
You are working as a tester on an online banking system. Availability is considered one of the top products (quality) risks for the system. You find a reproducible failure that results in customers losing their connections to the bank Web site when transferring funds between common types of accounts and being unable to reconnect for between three and five minutes.
Which of the following would be a good summary for a defect report for this failure, one that captures both the essence of the failure and its impact on stakeholders?
You are testing a mobile app that allows users to find a nearby restaurant, based on the type of food they want to eat. Consider the following list of test cases, priorities (smaller number is high priority), and dependencies, in the following format:
Test case number |
Test condition covered |
Priority |
Logical dependency |
01.001 |
Select type of food |
3 |
none |
01.002 |
Select restaurant |
2 |
01.001 |
01.003 |
Get directions |
1 |
01.002 |
01.004 |
Call restaurant |
1 |
01.002 |
01.005 |
Make reservation |
3 |
01.002 |
Which of the following is a possible test execution schedule that considers both priorities and dependencies?
You are working as a project manager on an in-house banking software project. To prevent rework and excessive find/fix/retest cycles, the following process has been put in place for resolving a defect once it is found in the test lab:
Nevertheless, a large number of defects which the testers confirmed as fixed in the development environment (in step 3) are somehow failing confirmation testing in the test environment, with the resulting rework and cycle time outcomes. You have the highest confidence in your testers, and have ruled out mistakes or omissions in step 3.
Which of the following is the MOST likely part of the process to check next?
You are engaged in planning a test effort for a new mobile banking application. As part of estimation, you first meet with the proposed testers and others on the project. The team is well-coordinated and has already worked on similar projects. To verify the resulting estimate, you then refer to some industry averages for testing effort and costs on similar projects, published by a reputable consultant.
Which statement accurately describes your estimation approach?
Consider the following list of undesirable outcomes that could occur on a mobile app development effort:
- Incorrect totals on reports
- Change to acceptance criteria during acceptance testing
- Users find the soft keyboard too hard to use with your app
- System responds too slowly to user input during search string entry
- Testers not allowed to report test results in daily standup meetings
Which of the following properly classifies these outcomes as project and product risks?
You have just completed a pilot project for a regression testing tool. You understand the tool much better and have tailored your testing process to it. You have standardized an approach to using the tool and its associated work products. Which of the following is a typical test automation pilot project goal that remains to be carried out?