Showing posts with label testing. Show all posts
Showing posts with label testing. Show all posts

October 24, 2018

Software Testing Methodologies - MCQS


Question

A regression test

Select one:
a.  Will always be automated
b. Can only be run during user acceptance testing
c. Will help ensure unchanged areas of the software have not been affected
d. Will help ensure changed areas of the software have not been affected

The Correct answer is: Will help ensure unchanged areas of the software have not been affected

Question
The inputs for developing a test plan are taken from

Select one:
a. Support plan
b. Business plan
c. Project Plan
d. None

The Correct answer is: Business plan

Question
Weak Robust Equivalence Class Testing is defined as:

Select one:
a. Weak refers to the single fault assumption
b. Robust comes from the consideration of invalid values
c. All
d. The name of the form Weak Robust is counterintuitive and oxymoronic

The correct answer is: All

Question
Data set {brown, black, blue, green , red} is example of

Select one:
a. Ordinal attribute
b. Continuous attribute
c. Numeric attribute
d. Nominal attribute

The correct answer is: Nominal attribute

Question
What are the two important requirements of class partitioning?

Select one:
a. Disjointedness and partial-completeness
b. Completeness and Non-Redundancy
c. Partial-completeness and Non-Redundancy
d. Completeness and Redundancy

The correct answer is: Completeness and Non-Redundancy

Question 
The specification: an integer field shall contain values from and including 1 to and including 12 (number of the month) Which equivalence class partitioning is correct?

Select one:
a. Less than 1, 1 through 11, and above
b. Less than 1, 1 through 12, larger than 12
c. Less than 0, 1 through 12, larger than 12
d. Less than 1, 1 through 11, larger than 12

The correct answer is: Less than 1, 1 through 12, larger than 12

Question 
RADAR system operates in normal temp (28 degC), maximum temp at (70 degC) and minimum temp at (-30 degC) as per the specification. At which temperatures do you test the system for normal boundary value testing?

Select one:
a. 28 degC, 70 degC, -30 degC, 72 degC, -28 degC
b. 28 degC, 70 degC, -30 degC, 72 degC, -33 degC
c. 28 degC, 70 degC, -30 degC, 69 degC, -29 degC
d. 28 degC, 70 degC, -30 degC, 68 degC, -33 degC

The correct answer is: 28 degC, 70 degC, -30 degC, 69 degC, -29 degC

Question
A lot consists of 10 good articles, 4 with minor defects and 2 with major defects. Two articles are chosen from the lot at random (without replacement).
Find the probability that:
both have major defects, 
Both are Good,
Neither is Good.

Select one:
a. 3/8
b. 91/120
c. 1/8
d. 1/120

The Correct answer is:
Both have major defects - 1/120
Both are Good -  3/8
Neither is Good - 1/8
Question
How much testing is enough

Select one:
a. The answer should be standardized for the software development industry
b. The answer depends on the maturity of your developers
c. The answer depends on the risks for your industry, contract and special requirements
d. This question is impossible to answer

The Correct answer is: The answer depends on the risks for your industry, contract and special requirements

Question
Which of the following statement is correct for Strong Robust Equivalence Class Testing?

Select one:
a. Robust comes from consideration of invalid values of inputs
b. Strong refers to the single fault assumption
c. All
d. Robust comes from consideration of invalid values of outputs

The Correct answer is: Robust comes from consideration of invalid values of inputs


Question
Number of unique test cases generated in Worst-Case Boundary Value Analysis for a function of n variables is
(For Robust Worst-Case Boundary Value Analysis - 7^n)
Select one:
a. 4n+1
b. 5^n
c. 7^n
d. 6n+1

The Correct answer is: 5^n

Question
Number of unique test cases generated in Robust Boundary Value Analysis for a function of n variables is

Select one:
a. 7n+1
b. 6n+1
c. 4n+1
d. 7*n

The correct answer is: 6n+1

Question
If a candidate is given an exam of 40 questions, should get 25 marks to pass (61%) and should get 80% for distinction,what is equivalence class?

Select one:
a. 30, 36, 39
b. 32, 37, 40
c. 23, 24, 25
d. 0, 12, 25

The Correct answer is: 30, 36, 39

Question
Strong normal equivalence class testing is based on:

Select one:
a. Single fault assumption
b. None
c. Not covering all the equivalence classes
d. Multiple fault assumption

The Correct answer is: Multiple fault assumption

Question
In specification based testing, what are the valid perspectives through which a system can be looked into?
Select one:
a. End User/Consumer
b. All
c. Customer/Client
d. Alpha/Beta User

The Correct answer is: All

Question
Basic Testing terms as per IEEE

Select one:
a. Error,Fault,Failure and Incident
b. Defect,System Halt,System Restart
c. Bug,Bug Report,solution
d. Severe error, Incident Raising,Shutdown

The correct answer is: Error,Fault,Failure and Incident
NOTE: As per the statement give here - anomaly section https://goo.gl/WJx3vr
Question
It is conducted to validate that the application, database, and network that is running can handle projected volumes

Select one:
a. Stress / Load Testing
b. Functional Testing
c. Integration Testing
d. Recovery Testing

The Correct answer is: Stress / Load Testing

Question
Testing process is best described as:

Select one:
a. Executing a program to validate its performance
b. Executing a program with the intent of finding errors
c. Executing a program to validate its efficiency
d. Executing a program to sign-off its accuracy

The Correct answer is: Executing a program with the intent of finding errors

Question
Alpha Testing is:

Select one:
a. Post- release testing by end user representatives at the developer's site
b. Pre- release testing by    end user represe ntatives at   their sites
c. Pre- release testing by end user representatives at the developer's site
d. The first testing that is performed

The Correct answer is: Pre- release testing by end user representatives at the developer's site


Question
A black-box test technique is

Select one:
a. Independent of implementation
b. Based on specifications
c. All
d. A functional testing focuses on input and corresponding output

The Correct answer is: All

Question
Boundary Value Analysis focuses on:
Select one:
a. The boundary of the input space to identify test cases
b. The boundary of the output space to identify test cases
c. None
d. The boundary of the inner space to identify test cases

The Correct answer is: The boundary of the input space to identify test cases

Question
What are the criteria for good Test Cases?

Select one:
a. Neither too simple nor too complex
b. All
c. High probability of finding a defect which is yet to be discovered
d. It is not redundant

The Correct answer is: All

Question
Which of the following would form a part of a test plan?

1. Features to be tested
2. Incident Reports
3. Risks
4. Schedule

Select one:
a. 1,3 and 4 only
b. 2 and 4 only
c. 1 only
d. 1  and  3 only

The correct answer is:1,3 and 4 only

Question 
Find the Equivalence class for the following test case. Enter a number to test the validity of being accepting the numbers between 1 and 99

Select one:
a. Number = 0
b. All numbers 99
c. All numbers greater than 99
d. All numbers between 1 and 99

The correct answer is: All numbers between 1 and 99

Question 
Equivalence partitioning examples in RL 3 discusses

Select one:
a. Finding max of two numbers only
b. Finding max of 1 to 1000 numbers and max of two numbers
c. Finding max of 1000 numbers and max of three numbers
d. Finding max of two numbers and max of three numbers

The correct answer is: Finding max of 1000 numbers and max of three numbers

Question 
Consider the statement, “If number is divisible by 33 then number is divisible by 3 and by 11.” Which of the following statements is equivalent to this statement?

Select one:
a. If number is divisible by 3 and divisible by 11 then number is divisible by 33.
b. If number is not divisible by 33 then number is not divisible by 3 or not divisible by 11.
c. If number is not divisible by 3 or not divisible by 11 then number is not divisible by 33.
d.  If number is not divisible by 33 then number is divisible by 3 or divisible by 11.

The correct answer is: If number is not divisible by 3 or not divisible by 11 then number is not divisible by 33.

Question 
An input field takes the number from 10 to 50. The boundary values for testing this field are:

Select one:
a. 9,10,50,51
b. 10,30,50
c. 10,15,50,55
d. 9,30,51

The correct answer is:  9,10,50,51

Question 
Code reviews is a part of

Select one:
a. Dynamic testing
b. Static Testing
c. Static and Dynamic testing
d. None

The correct answer is: Static Testing

Question 
Boundary Value Analysis focuses on:
Select one:
a. The boundary of the input space to identify test cases
b. The boundary of the output space to identify test cases
c. The boundary of the inner space to identify test cases
d. None

The correct answer is: The boundary of the input space to identify test cases

Question 
Bug life cycle

Select one:
a. Assigned, Open, Closed, Fixed
b. Open, Assigned, Fixed, Closed
c. Assigned, Open, Fixed, Closed
d. Open, Fixed, Assigned, Closed

The correct answer is: Open, Assigned, Fixed, Closed

Question 
Boundary value testing

Select one:
a. Test boundary conditions on, below and above the edges of input and output equivalence classes
b. Tests combinations of input circumstances
c. Is used in white box testing strategy
d. Is the same as equivalence partitioning tests?

The correct answer is: Test boundary conditions on, below and above the edges of input and output equivalence classes

Question 
Identify the invalid Set operation

Select one:
a. Union
b. Complement
c. Addition
d. Intersection

The correct answer is: Addition

Question 
Which one of the statements is  - BVA is to use input variable values at
Select one:
a. Only on normal, minimum and just above the minimum
b. Only on normal, maximum and just below maximum
c. Only on normal, minimum, just above minimum, maximum and just below maximum
d. Only on normal and minimum values but not on maximum values

The correct answer is: Only on normal, minimum, just above minimum, maximum and just below maximum

Question 
A lock which opens with a sequence of digits is an example for

Select one:
a. Regular lock
b. Combination lock
c. Permutation lock
d. Both Permutation and Combination lock

The correct answer is: Permutation lock

Question 
Which of the following is an example of an Error-handlingTesting?

Select one:
a. Attempted access without a proper password to the on-line data entry and display transactions (notification to the user of invalid authentication) will be tested.
b. System is stressed beyond its specifications to check how and when it fails. Performed under heavy load like putting large number beyond storage capacity, complex database queries, and continuous input to system or database load.
c. Testing evaluated against the performance requirements by measuring the run times of several jobs using production data volumes
d. Testing to confirm that app can recover from all types of errors when they occur without terminating the application.

The correct answer is: Testing to confirm that app can recover from all types of errors when they occur without terminating the application.

Question 
Which of the following statements about functional testing is true?

1. Structural testing is more important than functional testing as it addresses the code
2. Functional testing is useful throughout the lifecycle and can be applied by business analysts, testers, developers, and users.
3. Functional testing is more powerful than static testing as you actually run the system and see what happens.
4. Inspection is a form of Functional Testing.

Select one:
a. 1 and 3 only
b. 2 only
c. 1 only
d. 2 and 4 only

The correct answer is:  2 only

Question
Which of the following types of testing are carried out for an erroneous input by the end user?

Select one:
a. Performance testing
b. Error handling testing Correct
c. Conversion testing
d. Parallel testing

The correct answer is: Error handling testing

Question 
Which one of the following represents the Specification Based Testing only?

Select one:
a. Decision Tables, Ad-hoc, Exploratory, Control Flow
b. Decision Tables, Boundary Value Analysis, Equivalence Partitioning
c. Boundary Value Analysis, Control Flow, Data Flow
d. Equivalence Partitioning, Decision Tables, Data Flow

The correct answer is: Decision Tables, Boundary Value Analysis, Equivalence Partitioning

Question
V-Process Model can be used for the development of R&D Projects

Select one:
a. I Don't Know
b. False
c. True

The correct answer is: False

Question 
Which of the following models is most appropriate for R&D oriented projects?

Select one:
a. Waterfall Model
b. Rapid protoyping
c. Incremental development
d. Research-and-Risk Model

The correct answer is: Rapid protoyping

Question 
Pick the correct statement from the following:

Select one:
a. IF uncertainty is high, THEN use incremental approach
b. IF schedule is tight THEN use evolutionary or incremental
c. IF complexity is high but uncertainty is not THEN use evolutionary approach
d. IF uncertainty and complexity both low THEN use Prototype model

The correct answer is: IF schedule is tight THEN use evolutionary or incremental

Question 
Identify the common Agile Project Management method:

Select one:
a. Software Development Life Cycle (SDLC) Model
b. FlexPlan Model
c. SCRUM Methodology
d. V-Process Model

The correct answer is: SCRUM Methodology

Question 
What should a project manager do or follow to ensure clear boundaries for project completion?
Select one:
a. scope definition
b. Scope verification
c. Completing a scope statement
d. Risk management plan

The correct answer is: Completing a scope statement

Question 
Project requirements continuously change, but change can be easily accommodated in a software project as per customer’s demand when:

Select one:
a. Meeting Customer Expectation is of High Priority
b. Software is written in High-Level Language which is flexible
c. Scope Change is included in the Master Contract
d. There is no impact on Schedule or Cost or Quality

The correct answer is: There is no impact on Schedule or Cost or Quality

Question
Any Project will have a set of Activities that are practical to implement:

Select one:
a. I Don't Know
b. TRUE
c. FALSE

The correct answer is: TRUE

Question 
If you were to choose one factor that significantly differentiates IT projects from non-IT projects, what would that be?

Select one:
a. Technology advances
b. Communication
c. Volatile Requirements
d. Environmental Risk

The correct answer is: Volatile Requirements

Question 
Which of the following tools of Project Management indicates who is responsible for what?

Select one:
a. Activity network chart
b. Resource levelling chart
c. Programme evaluation chart
d. Resource assignment chart

The correct answer is: Resource assignment chart

Question 
Contract Manager is also Project Manager who: (select the most appropriate answer)

Select one:
a. Manages project on behalf of the client
b. Deals with contractual terms of the out-sourced project
c. Delegates his/her responsibility to vendor organization
d. Reports project status to stakeholders in the client organization

The correct answer is: Manages project on behalf of the client

Question 
Calculation of Payback period of a project provides the organization :

Select one:
a. The overall income that the implemented system should produce, less any initial investment
b. An assessment of how quickly an implemented system will produce a profit
c. How much future income from an implemented project will be worth in present day terms
d. The discount rate that would give a payback with a net present value of zero

The correct answer is: An assessment of how quickly an implemented system will produce a profit

Question 
Which of the following is NOT a Project?

Select one:
a. Building of a large ERP System
b. Development of a Software Product
c. Customer Support Call Handling
d. Design of a next generation SmartPhone

The correct answer is: Customer Support Call Handling

Question 
Identify from the below who is NOT a typical project stakeholder: 

Select one:
a. End-user of the Project
b. Shareholder of the vendor organization
c. Project Manager 
d. CFO of the client organization

The correct answer is: Shareholder of the vendor organization

Question 
Which is the important attribute for Agile Project Management?

Select one:
a. Detailed Requirements Capture
b. Clear Requirements
c. Constant Communication
d. Customer Conflict Resolution

The correct answer is: Constant Communication

Question
Which definition is best suited for a well-defined process?

Select one:
a. Something which cannot be measured, cannot be controlled
b. Something which can be measured, cannot be controlled
c. Something which cannot measured, can be controlled
d. None

The correct answer is: Something which cannot be measured, cannot be controlled

Question
Which one of the following best represents the attributes of Software Quality?

Select one:
a. Reliability, Efficiency and Cost
b. Portability, Reliability and Efficiency
c. Scalability, Testability and Effectiveness
d. Usability, Security and Marketability

The correct answer is: Portability, Reliability and Efficiency

Question 
Defects are least costly to correct at what stage of the development cycle?

Select one:
a. Analysis and Design
b. Requirements
c. Testing
d. Coding

The correct answer is: Requirements

Question 
Number of unique test cases generated in Robust Worst-Case Boundary Value Analysis for a function of n variables is

Select one:
a. 5n+1
b. 5^n
c. 7n+1
d. 7^n

The correct answer is: 7^n

Question 
What is Black-Box testing technique?

Select one:
a. A testing technique where implementation details are not tested
b. A testing technique where implementation details are tested
c. A testing technique where program structure are tested.
d. All

The correct answer is: A testing technique where implementation details are not tested

Question 
A committe of five is to be formed from six ladies and four gentlemen.In how many ways this can be done so that the committee contains exactly two ladies:

Select one:
a. 40
b. 60
c. 30
d. 15

The correct answer is: 60

Question 
Strong Normal Equivalence Class testing is:

Select one:
a. At least one test is selected from each of the multidimensional sub domain
b. Based on a multiple fault assumption
c. Test Cases are derived out of the Cartesian product of equivalence classes
d. All

The correct answer is: All

Question 
In how many ways can the letters of the word VOWEL be arranged so that the words begin with V but do not end with L?

Select one:
a. 24
b. 18
c. 120
d. 6

The correct answer is: 18

Question 
Number of unique test cases generated in Normal Boundary Value Analysis for a function of n variables is

Select one:
a. 5n+1
b. 4n+1
c. 6n+1
d. 5*n

The correct answer is: 4n+1

Question 
Which process is applied to break down the project in to smaller and more manageable elements?

Select one:
a. Scope Estimation
b. Activity Duration Estimation
c. Work Break-Down Structure
d. Schedule Planning

The correct answer is: Work Break-Down Structure

Question
In testing of the following things, where do we need to focus more on security aspects?

Select one:
a. Tea/Coffee Vending Machine
b. Refrigerator
c. Washing Machine
d. Automated Teller Machine

The correct answer is: Automated Teller Machine

Question
Find the invalid equivalence class for the following test case. Draw a line up to the length of 4 inches

Select one:
a. Line with 1 dot-width
b. line with 1 inch.
c. line with 4 inches
d. Curve

The Correct answer is: Curve

Question 
Types of Equivalence Classes are

Select one:
a. All
b. Weak Normal, Strong Normal, Weak Robust, Strong Robust
c. Weak Normal, Robust Normal, Weak Robust, Strong Robust
d. Weak Normal, Strong Normal, Weak Robust, Normal Robust

The Correct answer is: Weak Normal, Strong Normal, Weak Robust, Strong Robust

Question 
Which one is the valid recommendation for identification of valid equivalence class?

Select one:
a. No need to look for membership in a group
b. No need to look for range in numbers
c. Equivalence class for invalid inputs
d. None

The Correct answer is: Equivalence class for invalid inputs

Question 
One technique of Black Box testing is Equivalence Partitioning. In a program statement that accepts only one choice from among 10 possible choices,numbered 1 through 10, the middle partition would be from _____ to _____

Select one:
a. 0 to 10
b. 4 to 6
c. None
d. 1 to 10

The Correct answer is: 4 go 6

Question
Strong Normal Equivalence Class testing is:

Select one:
a. All
b. Based on a multiple fault assumption
c. At least one test is selected from each of the multidimensional sub domain
d. Test Cases are derived out of the Cartesian product of equivalence classes

The correct answer is: All

Question 
Test strategy is prepared as part of

Select one:
a. Test cases
b. Test Plan
c. Test scenarios
d. Test Procedure

The Correct answer is: Test Plan

Question 
A man has 3 sons and there are 7 schools in the town. In how many ways can he send his sons to schools, so that no two of them read in the same school?

Select one:
a. 37
b. 210
c. 343
d. 18

The Correct answer is: 210

Explained: The number of ways of admitting 3 sons into 7 schools if no two of them will be in the same:



Question 
Assume postal rates for ‘light letters’ are:$0.25 up to 10 grams;$0.35 up to 50 grams;$0.45 up to 75 grams;$0.55 up to 100 grams Which test inputs (in grams) would be selected using boundary value analysis?

Select one:
a. 0, 9, 19, 49, 50, 74, 75, 99, 100
b. 0, 1, 10, 11, 50, 51, 75, 76, 100, 101
c. 10, 50, 75, 100, 250, 1000
d. 25, 26, 35, 36, 45, 46, 55, 56

The Correct answer is: 0, 1, 10, 11, 50, 51, 75, 76, 100, 101

Question 
What would be the first step in project planning
Select one:
a. select a team organizational model.
b. establish the objectives and scope.
c. determine the budget.
d. determine the project constraints.

The correct answer is: establish the objectives and scope.

Question 
TCP is a Data-link Layer Protocol in OSI Network Model

Select one:
a. I Don't Know
b. True
c. False

The correct answer is: False

Question 
Which definition is best suited for a well-defined process?

Select one:
a. Something which cannot be measured, cannot be controlled
b. Something which can be measured, cannot be controlled
c. Something which cannot measured, can be controlled
d. None

The Correct answer is: Something which can be measured, cannot be controlled

Question 
Your organization is considering to run a project which will entail an investment of Rs 1,00,00,000. The product from the project is forecasted to create revenues of Rs 25,00,000 in the first year after the end of the project and of Rs 42,00,000 in each of the two following years. What is true for the net present value of the project over the three years cycle at a discount rate of 10%?

Select one:
a. The net present value is positive, which makes the project unattractive.
b. The net present value is negative, which makes the project unattractive.
c. The net present value is negative, which makes the project attractive.
d. The net present value is positive, which makes the project attractive.

The correct answer is: The net present value is negative, which makes the project unattractive.

Question 
Which of the following is NOT a characteristic of a Project?

Select one:
a. Uniqueness
b. Routine activity
c. Limited resources
d. Interrelated tasks

The correct answer is: Routine activity

Question
The output of product testing is:

Select one:
a. Test Data
b. Test Reports
c. Test Plan
d. Test Cases

The correct answer is: Test Reports

Question 
Software Quality Assurance activities are integral part of:

Select one:
a. ISO-9001 compliance
b. Project planning
c. Total Quality Management
d. Business planning

The correct answer is: Project planning

Question 
The Quality Management Standard adopted by Wipro Technologies for Software Development is:

Select one:
a. Quality Assurance Model
b. ISO 14001
c. Six-Sigma   
d. ISO 9000

The correct answer is: ISO 9000

Question 
Which one of the statements is correct - BVA is to use input variable values at

Select one:
a. Only on normal, minimum, just above minimum, maximum and just below maximum
b. Only on normal, minimum and just above the minimum
c. Only on normal and minimum values but not on maximum values
d. Only on normal, maximum and just below maximum

The correct answer is: Only on normal, minimum, just above minimum, maximum and just below maximum

Question
What are the goals of Software Testing?

Select one:
a. To show that the software system satisfies the requirements and performs as expected
b. All
c. To have “confidence” in the software system
d. To find defects and ensure software quality

The correct answer is: All

Question 
JavaScript is an Object-Oriented version of Java Programming language

Select one:
a. I Don't Know
b. True
c. False

The correct answer is: False

Question 
"I hereby declare I am honest in all my statements and affirm that I sincerely answered all the Questions by myself based on my understanding of the topic, and I seek clarification on any Question/Answer by sharing it with my Faculty during the regular Contact-sessions."

Select one:
True
False

Congratulations....Wish You Happy Learning.

The correct answer is 'True'.

Question 
Your organization is considering to run a project which will entail an investment of Rs 1,00,00,000. The product from the project is forecasted to create revenues of Rs 25,00,000 in the first year after the end of the project and of Rs 42,00,000 in each of the two following years. What is true for the net present value of the project over the three years cycle at a discount rate of 10%?

Select one:
a. The Net Present Value is negative, which makes the project attractive
b. The Net Present Value is positive, which makes the project attractive.
c. The Net Present Value is negative, which makes the project unattractive
d. The Net Present Value is positive, which makes the project unattractive

The correct answer is: The Net Present Value is negative, which makes the project unattractive

Question
Shareholder of company can also be one of the Stakeholders in a Project

Select one:
a. I Don't Know
b. True
c. False

The correct answer is: False

Question 
ISO 9001:2000 is a standard that defines which of the following?

Select one:
a. IT Project Deliverables 
b. Software Testing Procedures
c. Project Management Standard 
d. Quality Management Systems 

The correct answer is: Quality Management Systems

Question 
Metrics Baselining for a project primarily involves:

Select one:
a. Defining a reference standard for measurement
b. Collection of data from past projects
c. Estimating target schedules
d. Identifying industry benchmarks

The correct answer is: Collection of data from past projects

Question 
Which of these would be the best way to improve morale, motivate workforce and avoid frustration during the software development process?
Select one:
a. Give team members less control over process and technical decisions.
b. Hide bad news from the project team members until things improve.
c. Reward programmers based on their productivity.
d. Give team members more control over process and technical decisions.

The correct answer is: Give team members more control over process and technical decisions.

Question 
The best strategy for a project manager when he/she receives  a complaint from customer regarding already late (schedule over-runned software project) is: 

Select one:
a. Add more people to the project
b. Renegotiate schedule with customer
c. Part-delivery of requirements
d. Training the project team

The correct answer is: Part-delivery of requirements

Question 
Which of the following is found to contribute significantly to software project problems?

Select one:
a. Poor programming skills
b. Poor requirements capture
c. Insufficient Testing & Validation
d. Unavailability of software architects

The correct answer is: Poor requirements capture