Which statement regarding testing transparency, explainability, or interpretability is MOST correct? Choose ONE option (1 out of 4)
Correct Answer: B
The ISTQB CT-AI syllabus states in Section2.10 - Explainability, Transparency, and Interpretabilitythat interpretability isuser-dependent, meaning different users understand explanations differently. This is because interpretability depends not only on the ML algorithm but also on the user's domain knowledge, experience, and expectations. OptionBdirectly reflects this syllabus principle: interpretability testing must consideruser background, and explanations must be comprehensible to the intended user group. Option A is incorrect because explainability testing requires substantial information about the model, data, and expected behavior-not just exploratory effort. Option C is incorrect because explainability isnot generally quantifiable through dynamic testing alone, and the syllabus does not assert model-type specificity in this way. Option D exaggerates LIME's capabilities. LIME offers approximate local explanations, but cannotpreciselystate root causes; the syllabus emphasizes itslimitationsand that explanations are approximations, not exact reasons. Therefore,Option Bis the most syllabus-aligned and correct statement.
Question 42
Consider a natural language processing (NLP) algorithm that attempts to predict the next word that you would like to type in a text message. An update to the algorithm has been created that should increase the accuracy of the predictions based on user typing patterns. The old algorithm was rated for accuracy by the users. Then, after the new update was released, the users rated the updated algorithm. A statistical test was used to compare between the two versions of the algorithm to see whether or not the update should remain in place. This is an example of what type of testing?
Correct Answer: B
A/B testing is a statistical testing method that compares two different versions of a system to determine which one performs better. In this scenario, theold NLP algorithmwas rated for accuracy, and after the update, the new algorithmwas also rated by users. A statistical test was performed to compare the two versions, which is the fundamental approach ofA/B testing. A/B testing is commonly used in: * User experience testing(e.g., comparing different versions of a website). * ML model evaluation(e.g., comparing two AI-based classifiers). * Performance assessment(e.g., determining if a new recommendation algorithm is more effective). This approach allows for data-driven decisions, ensuring that any changes to the system result in meaningful improvements. * Section 9.4 - A/B Testingstates that A/B testing is used to compare updates in AI-based systems to determine if the newer version is better. Reference from ISTQB Certified Tester AI Testing Study Guide:
Question 43
ln the near future, technology will have evolved, and Al will be able to learn multiple tasks by itself without needing to be retrained, allowing it to operate even in new environments. The cognitive abilities of Al are similar to a child of 1-2 years.' In the above quote, which ONE of the following options is the correct name of this type of Al? SELECT ONE OPTION
Correct Answer: D
* A. Technological singularity Technological singularity refers to a hypothetical point in the future when AI surpasses human intelligence and can continuously improve itself without human intervention. This scenario involves capabilities far beyond those described in the question. * B. Narrow AI Narrow AI, also known as weak AI, is designed to perform a specific task or a narrow range of tasks. It does not have general cognitive abilities and cannot learn multiple tasks by itself without retraining. * C. Super AI Super AI refers to an AI that surpasses human intelligence and capabilities across all fields. This is an advanced concept and not aligned with the description of having cognitive abilities similar to a young child. * D. General AI General AI, or strong AI, has the ability to understand, learn, and apply knowledge across a wide range of tasks, similar to human cognitive abilities. It aligns with the description of AI that can learn multiple tasks and operate in new environments without needing retraining.
Question 44
Which ONE of the following models BEST describes a way to model defect prediction by looking at the history of bugs in modules by using code quality metrics of modules of historical versions as input? SELECT ONE OPTION
Correct Answer: D
Defect prediction models aim to identify parts of the software that are likely to contain defects by analyzing historical data and code quality metrics. The primary goal is to use this predictive information to allocate testing and maintenance resources effectively. Let's break down why option D is the correct choice: * Understanding Classification Models: * Classification models are a type of supervised learning algorithm used to categorize or classify data into predefined classes or labels. In the context of defect prediction, the classification model would classify parts of the code as either "defective" or "non-defective" based on the input features. * Input Data - Code Quality Metrics: * The input data for these classification models typically includes various code quality metrics such as cyclomatic complexity, lines of code, number of methods, depth of inheritance, coupling between objects, etc. These metrics help the model learn patterns associated with defects. * Historical Data: * Historical versions of the code along with their defect records provide the labeled data needed for training the classification model. By analyzing this historical data, the model can learn which metrics are indicative of defects. * Why Option D is Correct: * Option D specifies using a classification model to predict the presence of defects by using code quality metrics as input data. This accurately describes the process of defect prediction using historical bug data and quality metrics. * Eliminating Other Options: * A. Identifying the relationship between developers and the modules developed by them: This does not directly involve predicting defects based on code quality metrics and historical data. * B. Search of similar code based on natural language processing: While useful for other purposes, this method does not describe defect prediction using classification models and code metrics. * C. Clustering of similar code modules to predict based on similarity: Clustering is an unsupervised learning technique and does not directly align with the supervised learning approach typically used in defect prediction models. References: * ISTQB CT-AI Syllabus, Section 9.5, Metamorphic Testing (MT), describes various testing techniques including classification models for defect prediction. * "Using AI for Defect Prediction" (ISTQB CT-AI Syllabus, Section 11.5.1).
Question 45
Upon testing a model used to detect rotten tomatoes, the following data was observed by the test engineer, based on certain number of tomato images. For this confusion matrix which combinations of values of accuracy, recall, and specificity respectively is CORRECT? SELECT ONE OPTION
Correct Answer: A
To calculate the accuracy, recall, and specificity from the confusion matrix provided, we use the following formulas: * Confusion Matrix: * Actually Rotten: 45 (True Positive), 8 (False Positive) * Actually Fresh: 5 (False Negative), 42 (True Negative) * Accuracy: * Accuracy is the proportion of true results (both true positives and true negatives) in the total population. * Formula: Accuracy=TP+TNTP+TN+FP+FN\text{Accuracy} = \frac{TP + TN}{TP + TN + FP + FN}Accuracy=TP+TN+FP+FNTP+TN * Calculation: Accuracy=45+4245+42+8+5=87100=0.87\text{Accuracy} = \frac{45 + 42}{45 + 42 + 8 + 5} = \frac{87}{100} = 0.87Accuracy=45+42+8+545+42=10087=0.87 * Recall (Sensitivity): * Recall is the proportion of true positive results in the total actual positives. * Formula: Recall=TPTP+FN\text{Recall} = \frac{TP}{TP + FN}Recall=TP+FNTP * Calculation: Recall=4545+5=4550=0.9\text{Recall} = \frac{45}{45 + 5} = \frac{45}{50} = 0.9 Recall=45+545=5045=0.9 * Specificity: * Specificity is the proportion of true negative results in the total actual negatives. * Formula: Specificity=TNTN+FP\text{Specificity} = \frac{TN}{TN + FP}Specificity=TN+FPTN * Calculation: Specificity=4242+8=4250=0.84\text{Specificity} = \frac{42}{42 + 8} = \frac{42}{50} = 0.84Specificity=42+842=5042=0.84 Therefore, the correct combinations of accuracy, recall, and specificity are 0.87, 0.9, and 0.84 respectively. References: * ISTQB CT-AI Syllabus, Section 5.1, Confusion Matrix, provides detailed formulas and explanations for calculating various metrics including accuracy, recall, and specificity. * "ML Functional Performance Metrics" (ISTQB CT-AI Syllabus, Section 5).