167
89.8k

340+ Software Testing Solved MCQs

These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Computer Science Engineering (CSE) , Bachelor of Business Administration in Computer Applications (BBA [CA]) , Bachelor of Business Administration (BBA) , Master of Computer Applications (MCA) .

Chapters

More MCQs
201.

Which of these primary objectives have to be achieved for the requirement model?

A. To describe what the customer requires
B. To establish a basis for the creation of a software design
C. To define a set of requirements that can be validated once the software
D. All mentioned above
Answer» D. All mentioned above
202.

Which of the following is not a functional testing technique?

A. Boundary-Value Analysis
B. Decision Table
C. Regression Testing
D. None of the above
Answer» C. Regression Testing
203.

Decision tables are useful in situations where

A. An action is taken under varying sets of conditions.
B. Number of combinations of actions is taken under varying sets of conditions.
C. No action is taken under varying sets of conditions.
D. None of the above.
Answer» B. Number of combinations of actions is taken under varying sets of conditions.
204.

‘Causes’ and ‘Effects’ are related to

A. Input and Output
B. Output and Input
C. Destination and Source
D. Source and Destination
Answer» A. Input and Output
205.

If ‘n’ represents the number of variables in a program then Boundary Value analysis yields how many test cases

A. 4n+2
B. 4n+1
C. n+2
D. n+1
Answer» B. 4n+1
206.

For a function of ‘n’ variables, the robustness testing will yield how many cases

A. 6n+1
B. 6n+2
C. 6n+4
D. None of above
Answer» A. 6n+1
207.

In decision tables, which of the following is true?

A. Number of test cases is equal to number of rules (columns)
B. No. of test cases is not equal to number of rules (or column)
C. Both (a) and (b)
D. None of the above.
Answer» A. Number of test cases is equal to number of rules (columns)
208.

Cyclomatic complexity is equal to

A. Number of independent paths
B. Number of paths
C. Number of edges
D. None of the above
Answer» A. Number of independent paths
209.

Data flow testing is related to

A. DFD
B. ERD
C. Data Dictionary
D. None of the above
Answer» D. None of the above
210.

In data flow testing, objective is to find

A. All dc-paths that are not du-paths
B. All du-paths
C. All du-paths that are not dc-paths
D. All dc-paths
Answer» C. All du-paths that are not dc-paths
211.

Every node is represented by

A. One row and one column in graph matrix
B. Two rows and two columns in graph matrix
C. One row and two columns in graph matrix
D. None of the above.
Answer» A. One row and one column in graph matrix
212.

The testing technique that requires devising test cases to demonstrate that each program function is operational is called

A. black-box testing
B. glass-box testing
C. grey-box testing
D. white-box testing
Answer» A. black-box testing
213.

What types of errors are missed by black-box testing and can be uncovered by whitebox testing?

A. Behavioral errors
B. Logic errors
C. Performance errors
D. Typographical errors
Answer» D. Typographical errors
214.

Black-box testing attempts to find errors in which of the following categories

A. Incorrect or missing functions
B. Interface errors
C. Performance errors
D. All of the above
Answer» D. All of the above
215.

What is an equivalence partition (also known as an equivalence class)?

A. A set of test cases for testing classes of objects
B. An input or output range of values such that only one value in the range becomes a test case
C. An input or output range of values such that each value in the range becomes a test case
D. An input or output ranges of values such that every tenth value in the range becomes a test case.
Answer» B. An input or output range of values such that only one value in the range becomes a test case
216.

Functional system testing is:

A. Testing that the system functions with other systems
B. Testing that the components that comprise the system function together
C. Testing the end to end functionality of the system as a whole
D. Testing the system performs functions within specified response times
Answer» C. Testing the end to end functionality of the system as a whole
217.

One of the fields on a form contains a text box which accepts alpha numeric values. Identify the Valid Equivalence class

A. BOOK
B. Book
C. Boo01k
D. Book
Answer» C. Boo01k
218.

Which of the following techniques is not a White box technique?

A. Statement Testing and coverage
B. Decision Testing and coverage
C. Condition Coverage
D. Boundary value analysis
Answer» D. Boundary value analysis
219.

What is the relationship between equivalence partitioning and boundary value analysis techniques?

A. Structural testing
B. Opaque testing
C. Compatibility testing
D. All of the above
Answer» B. Opaque testing
220.

White Box Techniques are also called as

A. Structural Testing
B. Design Based Testing
C. Error Guessing Technique
D. Experience Based Technique
Answer» A. Structural Testing
221.

The cyclomatic complexity metric provides the designer with information regarding the number of

A. Cycles in the program
B. Errors in the program
C. Independent logic paths in the program
D. Statements in the program
Answer» D. Statements in the program
222.

Condition testing is a control structure testing technique where the criteria used to design test cases is that they

A. Rely on basis path testing
B. Exercise the logical conditions in a program module
C. Select test paths based on the locations and uses of variables
D. Focus on testing the validity of loop constructs
Answer» C. Select test paths based on the locations and uses of variables
223.

Data flow testing is a control structure testing technique where the criteria used to design test cases is that they

A. Rely on basis path testing
B. Exercise the logical conditions in a program module
C. Select test paths based on the locations and uses of variables
D. Focus on testing the validity of loop constructs
Answer» B. Exercise the logical conditions in a program module
224.

Loop testing is a control structure testing technique where the criteria used to design test cases is that they

A. Rely basis path testing
B. Exercise the logical conditions in a program module
C. Select test paths based on the locations and uses of variables
D. Focus on testing the validity of loop constructs
Answer» C. Select test paths based on the locations and uses of variables
225.

An independent path is

A. Any path through DD path graph that introduces at least one new set of process statement or new condition
B. Any path through DD path graph that introduces at most one new set of process statement or new condition
C. Any path through DD path graph that introduces one and only one new set of process statement or new condition
D. None of the above
Answer» A. Any path through DD path graph that introduces at least one new set of process statement or new condition
226.

Cyclomatic complexity was developed by

A. B.W.Bohem
B. T.J.McCabe
C. B.W.Little wood
D. Victor Basili
Answer» B. T.J.McCabe
227.

Cyclomatic complexity is denoted by

A. e-n+2P
B. Number of regions of graph
C. No of predicate nodes + 1
D. All of the above
Answer» D. All of the above
228.

The equation V(G)= No. of predicated nodes+1 is applicable only when node has

A. Two outgoing edges
B. Three outgoing edges
C. No outgoing edges
D. None of the above
Answer» A. Two outgoing edges
229.

The size of the graph matrix is

A. Number of edges in the flow Graph
B. Number of nodes in the flow Graph
C. Number of paths in the flow Graph
D. Number of independent paths in the flow Graph
Answer» B. Number of nodes in the flow Graph
230.

Data flow testing is related to

A. DFD
B. ER diagram
C. Data dictionaries
D. None of these
Answer» D. None of these
231.

__________ testing assumes that the path of logic in a unit or program is known.

A. Black Box testing
B. Performance Testing
C. White Box testing
D. Functional testing
Answer» C. White Box testing
232.

White Box techniques are also classified as

A. Design based testing
B. Structural testing
C. Error guessing technique
D. Strong testing
Answer» B. Structural testing
233.

Exhaustive testing is

A. Always possible
B. Practically possible
C. Impractical but possible
D. Impractical and impossible
Answer» C. Impractical but possible
234.

Which of the following is/are White box technique?

A. Statement Testing
B. Decision Testing
C. Condition Coverage
D. All of these
Answer» D. All of these
235.

What are the various Testing Levels?

A. Unit testing
B. System Testing
C. Integration Testing
D. All of the mentioned
Answer» D. All of the mentioned
236.

Boundary value analysis belongs to?

A. White Box Testing
B. Black Box Testing
C. Glass Testing
D. Alpha Testing
Answer» B. Black Box Testing
237.

Alpha testing is done at

A. Developer’s end
B. User’s end
C. Customer’s end
D. Tester’s end
Answer» A. Developer’s end
238.

SPICE stands for

A. Software Process Improvement and Compatibility Determination
B. Software Process Improvement and Control Determination
C. Software Process Improvement and Capability Determination
D. None of the mentioned
Answer» C. Software Process Improvement and Capability Determination
239.

Unit testing is done by

A. Users
B. Developers
C. Customers
D. Tester
Answer» B. Developers
240.

Behavioral testing is

A. White box testing
B. Black box testing
C. Grey box testing
D. Glass testing
Answer» B. Black box testing
241.

Which of the following is black box testing

A. Basic path testing
B. Boundary value analysis
C. Code path analysis
D. None of the mentioned
Answer» B. Boundary value analysis
242.

Which of the following is not used in measuring the size of the software

A. KLOC
B. Function Points
C. Size of module
D. Software Metric
Answer» C. Size of module
243.

When code is made available to others, it goes in a/an

A. hard drive
B. access-controlled library
C. servers
D. access control
Answer» B. access-controlled library
244.

What allows different projects to use the same source files at the same time?

A. Version Control
B. Access control
C. CM Process
D. Version Control and Access control
Answer» A. Version Control
245.

Why is decomposition technique required?

A. Software project estimation is a form of problem solving
B. Developing a cost and effort estimate for a software project is too complex
C. All of the mentioned
D. None of the mentioned
Answer» C. All of the mentioned
246.

If a Direct approach to software project sizing is taken, size can be measured in

A. LOC
B. FP
C. LOC and FP
D. None of the mentioned
Answer» A. LOC
247.

The expected value for the estimation variable (size), S, can be computed as a weighted average of the optimistic(Sopt), most likely (Sm), and pessimistic (Spess) estimates given as

A. EV = (Sopt + 4Sm + Spess)/4
B. EV = (Sopt + 4Sm + Spess)/6
C. EV = (Sopt + 2Sm + Spess)/6
D. EV = (Sopt + 2Sm + Spess)/4
Answer» B. EV = (Sopt + 4Sm + Spess)/6
248.

How many forms exists of Barry Boehm’s COCOMO Model?

A. Two
B. Three
C. Four
D. No form exists
Answer» B. Three
249.

Who suggested the four different approaches to the sizing problem?

A. Putnam
B. Myers
C. Boehm
D. Putnam and Myers
Answer» D. Putnam and Myers
250.

Which of the following is not one of the five information domain characteristics of Function Point (FP) decomposition?

A. External inputs
B. External outputs
C. External process
D. Internal Inputs
Answer» C. External process

Done Studing? Take A Test.

Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.