A predicate node is the one, which has
A. Two outgoing edges
B. No outgoing edges
C. Three or more outgoing edges
D. None of the above

2 Answers

Answer :

A. Two outgoing edges

Answer :

B. No outgoing edges

A predicate node, also known as a decision node, is a type of node in a flowchart, decision tree, or other diagram that represents a logical decision point. It is a node that represents a decision or test that must be made in a process or algorithm. A predicate node has no outgoing edges, because it represents a decision point where the flow of the process or algorithm is determined based on the outcome of the decision or test.

Related questions

Description : A node with in degree ¹ 0 and out degree = 0 is known as A. Source node B. Destination node C. Predicate node D. None of the above

Last Answer : B. Destination node

Description : The size of the graph matrix is A. Number of edges in the flow graph B. V Number of nodes in the flow graph C. Number of paths in the flow graph D. Number of independent paths.

Last Answer : B. V Number of nodes in the flow graph

Description : An independent path is the one A. That is a complete path from source to destination node B. That is a path which introduces at least one new set of processing statements C. That is a path which introduces at most one new set of processing statements D. None of the above

Last Answer : B. That is a path which introduces at least one new set of processing statements

Description : A node with in degree = 0 and out degree ¹ 0 is known as A. Source node B. Destination node C. Transfer node D. None of the above.

Last Answer : A. Source node

Description : Given a flow graph with 10 nodes, 13 edges and one connected components, the number of regions and the number of predicate (decision) nodes in the flow graph will be (A) 4, 5 (B) 5, 4 (C) 3, 1 (D) 13, 8

Last Answer : (B) 5, 4

Description : Which one of the following is used to compute cyclomatic complexity ? (A) The number of regions - 1 (B) E - N + 1, where E is the number of flow graph edges and N is the number of flow graph nodes. (C) ... in the flow graph G. (D) P + 1, where P is the number of predicate nodes in the flow graph G.

Last Answer : (D) P + 1, where P is the number of predicate nodes in the flow graph G.

Description : A wholesaler sells printer cartridges. The minimum order quantity is 5. There is a 20% discount for orders of 100 or more printer cartridges. You have been asked to prepare test cases using various values for the number of printer cartridges ... A. 5, 6, 20 B. 4, 5, 80C. 4, 5, 99 D. 1, 20, 100

Last Answer : C. 0, 1,10,11, 50, 51, 75, 76,100,101

Description : System test can begin when? I. The test team competes a three day smoke test and reports on the results to the system test phase entry meeting II. The development team provides software to the test team 3 business days prior ... . I and II only B. II and III only C. I and III only D. I, II and III

Last Answer : D. I, II and III

Description : Load testing emphasizes on performance under load while stress testing emphasizes on _______ A. Breaking load B. Performance under stress C. Performance under load D. There is no such difference, both are same

Last Answer : A. Breaking load

Description : Acceptance testing means A. Testing performed on a single stand - alone module or unit of code B. Testing after changes have been made to ensure that no unwanted changes were introduced C. ... the needs of the organization and end user. D. Users test the application in the developers environment

Last Answer : C. Testing to ensure that the system meets the needs of the organization and end user.

Description : Integration testing where no incremental testing takes place prior to all the system’s components being combined to form the system. A. System testing B. Component Testing C. Incremental Testing D. Big bang testing

Last Answer : D. Big bang testing

Description : Benefits of Independent Testing a) Independent testers are much more qualified than Developers b) Independent testers see other and different defects and are unbiased. c) Independent Testers cannot identify defects. d) Independent Testers can test better than developers

Last Answer : b) Independent testers see other and different defects and are unbiased.

Description : Impact Analysis helps to decide :- a) How much regression testing should be done. b) Exit Criteria c) How many more test cases need to written. d) Different Tools to perform Regression Testing

Last Answer : a) How much regression testing should be done.

Description : . One of the more daunting challenges of managing a test project is that so many dependencies converge at test execution. One missing configuration file or hard ware device can render all your test results ... incident? A. Test managers faults only B. Test lead faults only C. Test manager and proj

Last Answer : A. Test managers faults only

Description : In practice, which Life Cycle model may have more, fewer or different levels of development and testing, depending on the project and the software product. For example, there may be component integration testing ... after system testing. A. Water Fall Model B.V-Model C. Spiral Model D. RAD Model

Last Answer : B.V-Model

Description : In practice, which Life Cycle model may have more, fewer or different levels of development and testing, depending on the project and the software product. For example, there may be component integration testing after component testing, and

Last Answer : B.V-Model

Description : Range of accelerating factor is a) 50 to 100 b) 1.3 to 1.7 c) 1 to 10 d) 10.8 to 11.2

Last Answer : b) 1.3 to 1.7

Description : The Provision and Management of a controlled library containing all the configurations items is called as a) Configuration Control b) Status Accounting c) Configuration Identification d) Configuration Identification

Last Answer : The provision and management of a controlled library containing all the configuration items is called Configuration Management. Configuration Management is the process of identifying, organizing, and ... Verification and Audit (ensuring that the configuration items are complete and accurate).

Description : In case of Large Systems :- a) Only few tests should be run b) Testing should be on the basis of Risk c) Only Good Test Cases should be executed. d) Test Cases written by good test engineers should be executed.

Last Answer : b) Testing should be on the basis of Risk

Description : Which of the following helps in monitoring the Test Progress:- i. Percentage of Test Case Execution ii. Percentage of work done in test environment preparation. iii. Defect Information e.g. defect density, ... ii,iii are correct and iv is incorrect c) i,ii are correct and iii,iv are incorrect

Last Answer : b) i,ii,iii are correct and iv is incorrect

Description : Exit Criteria may consist of :- i. Thoroughness measures , such as coverage of code, functionality or risk ii. Estimates of Defect density or reliability measures. iii. Residual risk such as defects not fixed or ... correct and i,ii,iii are incorrect d) iii and iv are correct and i,ii are incorrect

Last Answer : b) i,ii,iii is correct and iv is incorrect

Description : Drivers are also known as: i. Spade ii. Test harness iii. Scaffolding a) i , ii are true and iii is false b) i , iii are true and ii is false

Last Answer : c) ii , iii are true and i is false

Description : Which of the following is not a type of incremental testing approach? a) Top down b) Big-bang c) Bottom up d) Functional incrementation.

Last Answer : b) Big-bang

Description : Which of the following will be the best definition for Testing :- a) The goal / purpose of testing is to demonstrate that the program works. b) The purpose of testing is to demonstrate that the ... does what it is supposed to do. d) Testing is executing Software for the purpose of finding defects.

Last Answer : d) Testing is executing Software for the purpose of finding defects.

Description : Which of the following is a part of Test Closure Activities? i. Checking which planned deliverables have been delivered ii. Defect report analysis. iii. Finalizing and archiving testware. iv. Analyzing lessons. a) i , ii , ... false c) i , iii , iv are true and ii is false d) All of above are true

Last Answer : c) i , iii , iv are true and ii is false

Description : Which of the following is the task of a Test Lead / Leader: i. Interaction with the Test Tool Vendor to identify best ways to leverage test tool on the project. ii. Write Test Summary Reports based on the ... is true and ii,iii,iv are false d) iii and iv is correct and i and ii are incorrect

Last Answer : a) i, ii, iii is true and iv is false

Description : The structure of an incident report is covered in the Standard for Software Test Documentation IEEE 829 and is called as : - a) Anomaly Report b) Defect Report c) Test Defect Report d) Test Incident Report

Last Answer : a) Anomaly Report

Description : Minimum Test Required for Statement Coverage :- Disc = 0 Order-qty = 0 Read Order-qty If Order-qty >=20 then Disc = 0.05 If Order-qty >=100 then Disc =0.1 End if End if a) Statement coverage is 4 b) Statement coverage is 1

Last Answer : b) Statement coverage is 1

Description : Minimum Tests Required for Statement Coverage and Branch Coverage :- Read P Read Q If p+q > 100 thenPrint Large End if If p > 50 then Print pLarge End if a) Statement coverage is 2, Branch ... c) Statement coverage is 1 and branch coverage is 2 d) Statement Coverage is 4 and Branch coverage is 2

Last Answer : c) Statement coverage is 1 and branch coverage is 2

Description : Regression testing should be performed: i. every week ii. after the software has changed iii. as often as possible iv. when the environment has changed v. when the project manager says a) i & ii are true, iii, iv & v are ... iv are true, i, iii & v are false d) ii is true, i, iii, iv & v are false

Last Answer : c) ii & iv are true, i, iii & v are false

Description : Which of the following is true about White and Black Box Testing Technique:- a) Equivalance partitioning, Decision Table and Control flow are White box Testing Techniques. b) Equivalence partitioning ... , State Transition , Use Case Testing and Decision Table are White Box Testing Techniques.

Last Answer : c) Equivalence partitioning , State Transition , Use Case Testing are black box Testing Techniques.

Description : Test Conditions are derived from :- a) Specifications b) Test Cases c) Test Data d) Test Design

Last Answer : a) Specifications

Description : Defects discovered by static analysis tools include: i. Variables that are never used. ii. Security vulnerabilities. iii. Programming Standard Violations iv. Uncalled functions and procedures a) i , ii,iii,iv is correct b ... ,iv are incorrect. c) i ,ii, iii and iv are incorrect d) iv, ii is correct

Last Answer : a) i , ii,iii,iv is correct

Description : Success Factors for a review include: i. Each Review does not have a predefined objective ii. Defects found are welcomed and expressed objectively iii. Management supports a good review process. iv. There is an emphasis on ... and ii is incorrect c) i , iii , iv , ii is in correct d) ii is correct

Last Answer : a) ii,iii,iv are correct and i is incorrect

Description : Which of the following techniques is NOT a black box technique? a) State transition testing b) LCSAJ (Linear Code Sequence and Jump) c) syntax testing d) boundary value analysis

Last Answer : b) LCSAJ (Linear Code Sequence and Jump)

Description : Which of the following is not phase of the Fundamental Test Process? a) Test Planning and Control b) Test implementation and Execution c) Requirement Analysis d) Evaluating Exit criteria and reporting

Last Answer : c) Requirement Analysis

Description : Match every stage of the software Development Life cycle with the Testing Life cycle: i. Hi-level design a Unit tests ii. Code b Acceptance tests iii. Low-level design c System tests iv. Business requirements d Integration tests a) i-d , ii ... i-b , ii-a , iii-d , iv-c d) i-c , ii-a , iii-d , iv-b

Last Answer : d) i-c , ii-a , iii-d , iv-b

Description : The Kick Off phase of a formal review includes the following :- a) Explaining the objective b) Fixing defects found typically done by author c) Follow up d) Individual Meeting preparations

Last Answer : a) Explaining the objective

Description : Consider the following statements: i. 100% statement coverage guarantees 100% branch coverage. ii. 100% branch coverage guarantees 100% statement coverage. iii. 100% branch coverage guarantees 100% decision coverage. iv. 100% decision ... & v are False d) ii, iii & iv are True; i & v are False

Last Answer : d) ii, iii & iv are True; i & v are False

Description : Peer Reviews are also called as :- a) Inspection b) Walkthroughc) Technical Review d) Formal Review

Last Answer : Technical Review

Description : . Consider the above state transition diagram of a switch.Which of the following represents an invalid state transition? a) OFF to ON b) ON to OFF c) FAULT to ON Q15. Peer Reviews are also called as :- a) Inspection b) Walkthrough

Last Answer : c) FAULT to ON

Description : 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

Last Answer : c) testing the end to end functionality of the system as a whole

Description : Repeated Testing of an already tested program, after modification, to discover any defects introduced or uncovered as a result of the changes in the software being tested or in another related or ... software component: a) Re Testing b) Confirmation Testing c) Regression Testing d) Negative Testing

Last Answer : c) Regression Testing

Description : What is the expected result for each of the following test cases? A. Citibank card member, holding a Silver room B. Non Citibank-member, holding a Platinum room a) A - Don't offer any upgrade, B - Don't ... , B - Offer upgrade to Silver. d) A - Offer upgrade to Gold, B - Don't offer any upgrade

Last Answer : d) A – Offer upgrade to Gold, B – Don’t offer any upgrade

Description : Which of the following uses Impact Analysis most? a) Component testing b) Non-functional system testing c) User acceptance testing d) Maintenance testing

Last Answer : d) Maintenance testing

Description : Validation involves which of the following: i. Helps to check the Quality of the Built Product ii. Helps to check that we have built the right product. iii. Helps in developing the product iv. Monitoring tool wastage and ... , ii, iii are true and iv is false d) iii is true and i, ii, iv are false

Last Answer : b) ii is true and i, iii, iv are false

Description : We use the output of the requirement analysis, the requirement specification as the input for writing :- a) User Acceptance Test Cases b) Integration Level Test Cases c) Unit Level Test Cases d) Program specifications

Last Answer : a) User Acceptance Test Cases

Description : Which of the following has highest level of independence in which test cases are : a) Designed by persons who write the software under test b) Designed by a person from a different sectionc) Designed by a person from a different organization d) Designed by another person

Last Answer : c) Designed by a person from a different organization

Description : One of the fields on a form contains a text box which accepts alphabets in lower or upper case. Identify the invalid Equivalence class value. a. CLASS b. cLASS c. CLass d. CLa01ss

Last Answer : d. CLa01ss