5.0 Both 1&4: Need and Importance of Testing

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

Need and Importance of Testing

Q.1 We need to test the product


1.O As Cost of defects increases as they are discovered later in the lifecycle
2.O when we use V Lifecycle for development
3.0 When we do Agile Methodology
4.O Since the Software is mind crafted by Humans and prone to errors
5.0 Both 1&4

Definitions of basic testing concepts


Q.2 Verification refers to
1.0 Set of Activities to ensure that product meets customer specifications
2.0 Set of Activities to ensure that software correctly implements the function
3.0 is a Quality assurance activity
4.0 Both 1 and 3

Life Cycle and WandT activities


Q.3 Testing is done at all stages
1.O to detect defects as early as possible
2.0 to Stop Defect Seepage
3.0 To increase quality of the delivered product
4.O Cost of correcting Defects increases in every subsequent stage
5.O All of the above

Testing Process
Q.4 Test Case Preparation & Scripting is done as part of
1.0 Initiation Phase
2.0 Planning Phase
3.0 Design Phase
4.0 Execution

Basic Concepts of testing Process


Q.5 Part of the test data can be re-used from the previous release depending on......
1.O opinion of the DBA
2.O opinion of the architect
3.O nature of changes in the current release
4.O All of these
5.O None of these

Q.6 Test data is driven by......


1.0 code changes
2.0 test cases
3.O requirements in the current release
4.0 design changes
5.O All of these

Agile Testing
Q.7 In Agile Testing Test Packs need to be Automated due to
1.0 Due to continuous & Incremental drops in functionality
2.0 To meet daily testing requirements
3.0 We cannot use manual testing
4.0 Option 1 and 2
5.O All of the above

Various Levels of Testing


Q.8 System testing is carried out by the test team within the developing organization is termed as
1.0 Alpha Testing
2.0 Beta Testing
3.0 Gamma Testing
4.O Acceptance Testing
5.O None of these

Q.9 Rigorous____ would be carried out, to ensure that the changes made to the application do not cause any
new errors.
1.0 Operational Readiness Testing
2.0 Regression testing
3.0 CAT
4.O SIT
5.0 Performance testing

Review Techniques
Q. 10 Scribe is a member of______
1.0 Walkthrough
2.0 Inspection
3.0 Peer review
4.O None of these

Defect Lifecycle and Defect Log (1/3)


Q.11 In and IT organization, the mail server fails with no backup in place. The defect would e classified as
1.0 High Severity, High Priority
2.0 High Priority, Low severity
3.0 Low Priority, High severity
4.0 None of the above

Q.12 In a billing system scenario, a service provider changes local calls at the rate of 30p/sec. Your system
calculates the bills at the rate of 20p/sec. The defect severity is
1.0 High
2.0 Medium
3.0 Low
4.O None of the above
Q.13 In TechM Defects are 'weighted' according to their.
1.0 Priority
2.0 Severity
3.0 Both 1& 2
4.0 None of the above
Defect Metrics
Q.14 Which one of the following is a testing metrics?
1.0 Schedule Variance
2.0 defect density
3.0 % of defects per stage
4.0 productivity
White Box Testing Approach
Q. 15 Which group of test cases will ensure decision coverage for the code below?
Read I
If k100 (2/3)
Then
If(1%2]<>0
Then
OddSum=OddSum + I
Else
EvenSum = EvenSum + I
Endif
Endif
1.0 I = "24", "65","101"
2.0 I = "30","32","110"
3.0 l= "25","28","98"
4.0 I="25","65", "'101"

Q. 16 What is the key characteristic of structure-based testing technique?


1.0 They are mainly used to assess the structure specification
2.0 They are used both to measure coverage and to design tests to increase coverage
3.O They are based on skills and experience of the tester
4.0 They use a formal or informal model of the software or component

Q.17 A vending machine dispenses either hot or cold drinks. If you chose a hot drink [e.g. tea or coffee), it asks
if you want milk: and adds milk if required), Then it asks if you want sugar (and adds sugar if required), then
your drink is dispensed. Given the following tests what is the no of decisions covered and no of statements
covered 1) Test 1: Cold drink. Test 2: Hot drink with milk & sugar
1.0 No of Decisions=4 ; No of Statements=4
2.0 No of Decisions=3 ; No of Statements=All
3.0 No of Decisions=All ; No of Statements=All
4.0 No of Decisions=All ; No of Statements=4

Black Box Testing Approach


Q.18 The hospital has the large no of following equipment: The X-ray machine, the CT-Scan machine and the
ultrasonic imager: Other
institutions/hospitals can hire this equipment for a maximum of one month. The charges are based on the
number of days.
1> If No of days used is less than 5 then: The X-ray machine costs $350 per day, CT-Scan machine is $750 per
day and the ultrasonic imager is
$150 per day.
2> No of days is >= than 5 but less than 12: The X-ray machine costs $250 per day, CT-Scan machine is $550
per day and the ultrasonic imager is
$100 per day.
3> No of days is >- 12: The X-ray machine costs $200 per day, CT-Scan machine is $450 per day and the
ultrasonic imager is $75 per day.
Design Test inputs to perform Equivalence partitioning
1.0 "4","8","15"
2.0 "5","8","15,"32"
3.0 "4","8","15","32"
4.0 "4","9","12"

Q.19 Which of the following statements is true?


1.0 White Box testing and Equivalence partitioning complement each other
2.0 Only White box Testing
3.0 Most of the cases we need to perform both equivalence partitioning & Boundary Value Analysis
4.0 None of the above

Q.20 In case of an airline company the charges are as follows:


1> Age< 4yrs- 20% of the fare
2> Age >= 4 yrs. and Age< 12yrs- 50% of the fare
3> Age >- 12 yrs. & Age< 65 yrs. - 100% of the fare
4> Age >=65 yrs.- 50% of the fare.
Which of the following test inputs can be used to efficiently test for equivalence partitioning & BVA?
1.0 “3","4","5","11","12", "60", "65"
2.0 "3","4","5","11","12","13", "64","65","66"
3.0 "3","4" "5", "11", "64", "65", "66"
4.0 "3","4","5","7","8","9","11","12","13""64","65"
Basic Concepts of Nonfunctional Testing (1/2)
Q.21 if 'Documentation testing plan' is not included in overall test plan, then
1.0 it can be ignored
2.0 it can be included at later stage with ease
3.0 tester should raise it as an issue
4.0 testing process will get halted
5.0 none of the above

Q. 22 Compatibility testing does not test which of the following areas


1.0 System interacts with all the prespecified operating system
2.0 System recovers from failure quickly
3.O System shares data in prespecified manner with other systems
4.O None of the above
Security Testing
Q.23 Which of these activities are carried out as a part of security testing
1.0 Identifying potential penetration Areas
2.0 Identifying potential perpetrators
3.0 Identifying High Risk Penetration Areas
4.0 All of the above
5.0 1 and 2

Web Testing
Q.24 Which of the following is not true in case of White Box testing of the websites?
1.0 Tests the Dynamic Content
2.0 Checks database driven Webpages
3.0 Tester needs to have necessary language expertise
4.0 All of the above
5.0 None of the above

Other Areas- ERP, CRM, Datawarehouse (0/2)


Q.25 In case of CRM Testing, which of the following is true?
1.0 We need to test the access control areas
2.0 We need to test all APls
3.0 We need to check only the functional areas
4.0 We need to check performance of integration components

Q.26 Which of the following is true in case of ERP Testing?


1.0 Authorization control on the application areas
2.0 Authorization control on the database level areas
3.0 Testing done at customer level
4.0 All of the above

Concept of Automation and Automation Tools (1/2)


Q.27 Capture & Playback tools can be easily used for
1.0 Nonfunctional testing
2.0 Performance testing
3.O Tracking Defects
4.0 Regression Testing

Q.28 The role of defect tracking tool is to


1.O Track the performance issues
2.0 Manage the defect life cycle
3.0 Similar to capture/playback tools
4.O None of these.

Concept of QTP (1/2)


Q.29 One Object Repository is___
1.0 created for every object identified
2.0 created for every test
3.O created for every action
4.O None of the above

Q.30 Data table in QTP___


1.0 is encapsulated as object repository
2.0 is encapsulated as data table object
3.0 contains a sheet for every test
4.0 All of the above

You might also like