ExamGecko
Question list
Search
Search

Related questions











Question 192 - CTFL-2018 discussion

Report
Export

Which of the following correctly describes the goal of Statement Testing?

A.
Reduce the number of tests needed to test the system
Answers
A.
Reduce the number of tests needed to test the system
B.
Assess of the correctness of key statements in each module of the application
Answers
B.
Assess of the correctness of key statements in each module of the application
C.
Increase the percentage of executable statements that are exercised by a test set
Answers
C.
Increase the percentage of executable statements that are exercised by a test set
D.
Assess the number of code statements needed to implement each feature
Answers
D.
Assess the number of code statements needed to implement each feature
Suggested answer: C

Explanation:

The goal of statement testing is to increase the percentage of executable statements that are exercised by a test set.This is also known as statement coverage or line coverage3defines this as follows:

Statement Coverage (also known as Line Coverage) measures how many statements have been executed by your tests. It's calculated by dividing the number of executed statements by total number statements in source code file.

Statement testing does not aim to reduce the number of tests needed to test the system (A), assess the correctness of key statements in each module of the application (B), or assess the number of code statements needed to implement each feature (D).

asked 18/09/2024
Mitchell Mansfield
28 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first