40 Question quiz 24 (1001-1040)

Description

Quiz on 40 Question quiz 24 (1001-1040), created by Daniel Neag on 11/12/2017.
Daniel Neag
Quiz by Daniel Neag, updated more than 1 year ago
Daniel Neag
Created by Daniel Neag almost 7 years ago
29
0

Resource summary

Question 1

Question
Which of the following is true?
Answer
  • A. Component testing should be black box, system testing should be white box.
  • B. If u find a lot of bugs in testing, you should not be very confident about the quality of software
  • C. The fewer bugs you find, the better your testing was
  • D. The more tests you run, the more bugs you will find.

Question 2

Question
If the pseudo code below were a programming language ,how many tests are required to achieve 100% statement coverage? 1. If x=3 then 2. Display_messageX; 3. If y=2 then 4. Display_messageY; 5. Else 6. Display_messageZ; 7. Else 8. Display_messageZ;
Answer
  • A. 1
  • B. 2
  • C. 3
  • D. 4

Question 3

Question
In which order should tests be run?
Answer
  • A. The most important tests first
  • B. The most difficult tests first(to allow maximum time for fixing)
  • C. The easiest tests first (to give initial confidence)
  • D. The order they are thought of

Question 4

Question
A program validates a numeric field as follows: Values less than 10 are rejected, values between 10 and 21 are accepted, values greater than or equal to 22 are rejected. Which of the following covers the MOST boundary values?
Answer
  • A. 9,10,11,22
  • B. 9,10,21,22
  • C. 10,11,21,22
  • D. 10,11,20,21

Question 5

Question
What is the important criterion in deciding what testing technique to use?
Answer
  • A. How well you know a particular technique
  • B. The objective of the test
  • C. How appropriate the technique is for testing the application
  • D. Whether there is a tool to support the technique

Question 6

Question
Which is not true-The black box tester
Answer
  • A. Should be able to understand a functional specification or requirements document
  • B. Should be able to understand the source code.
  • C. Is highly motivated to find faults
  • D. Is creative to find the system's weaknesses

Question 7

Question
A number of critical bugs are fixed in software. All the bugs are in one module, related to reports. The test manager decides to do regression testing only on the reports module.
Answer
  • A. The test manager should do only automated regression testing.
  • B. The test manager is justified in her decision because no bug has been fixed in other modules
  • C. The test manager should only do confirmation testing. There is no need to do regression testing
  • D. Regression testing should be done on other modules as well because fixing one module may affect other modules

Question 8

Question
Which of the following statements contains a valid goal for a functional test set?
Answer
  • A. A goal is that no more failures will result from the remaining defects
  • B. A goal is to find as many failures as possible so that the cause of the failures can be identified and fixed
  • C. A goal is to eliminate as much as possible the causes of defects
  • D. A goal is to fulfil all requirements for testing that are defined in the project plan.

Question 9

Question
Which set of metrics can be used for monitoring of the test execution?
Answer
  • A. Number of detected defects, testing cost;
  • B. Number of residual defects in the test object.
  • C. Percentage of completed tasks in the preparation of test environment; test cases prepared
  • D. Number of test cases run / not run; test cases passed / failed

Question 10

Question
Which of the following can be root cause of a bug in a software product? (I) The project had incomplete procedures for configuration management. (II) The time schedule to develop a certain component was cut. (III) the specification was unclear (IV) Use of the code standard was not followed up (V) The testers were not certified
Answer
  • A. (I) and (II) are correct
  • B. (I) through (IV) are correct
  • C. (III) through (V) are correct
  • D. (I), (II) and (IV) are correct

Question 11

Question
The following list contains risks that have been identified for a software product to be developed. Which of these risks is an example of a product risk?
Answer
  • A. Not enough qualified testers to complete the planned tests
  • B. Software delivery is behind schedule
  • C. Threat to a patient's life
  • D. 3rd party supplier does not supply as stipulated

Question 12

Question
A test engineer is testing a Video Player (VCR), and logs the following report: Title: Fast Forward stops after 2 minutes. It happens every time Expected result: Fast forward continues till the end of the tape Severity: High Priority: Urgent What important information did the engineer leave out?
Answer
  • A. Identification (Software and hardware) of the VCR
  • B. Actual result
  • C. History of the report
  • D. Ideas for the test case improvement

Question 13

Question
Test data planning essentially includes
Answer
  • A. Network
  • B. Operational Model
  • C. Boundary value analysis
  • D. Test Procedure Planning

Question 14

Question
Functional testing is mostly
Answer
  • A. Validation techniques
  • B. Verification techniques
  • C. Both of the above
  • D. None of the above

Question 15

Question
Component integration testing can be done
Answer
  • A. Before Integration testing
  • B. After unit testing
  • C. After component testing
  • D. After system testing

Question 16

Question
White Box Testing
Answer
  • A. Same as glass box testing
  • B. Same as clear box testing
  • C. Both A. and B.
  • D. None of the above.

Question 17

Question
Equivalence partitioning consists of various activities:
Answer
  • A. Ensure that test cases test each input and output equivalence class at least once
  • B. Identify all inputs and all outputs
  • C. Identify equivalence classes for each input
  • D. All of the above

Question 18

Question
Static Analysis
Answer
  • A. Same as static testing
  • B. Done by the developers
  • C. Both A. and B
  • D. None of the above

Question 19

Question
In formal review, Rework: fixing defects found typically done by _________
Answer
  • A. Moderator
  • B. Author
  • C. Reviewer
  • D. Recorder

Question 20

Question
The _________ may facilitate the testing of components or part of a system by simulation the environment in which the test object will run
Answer
  • A. Test Design tool
  • B. Test data preparation tool
  • C. Test execution tool
  • D. Test harness
  • E. None of the above

Question 21

Question
Which testing technique do you prefer for the following situations? 1. Severe time pressure 2. Inadequate specification
Answer
  • A. Decision testing
  • B. Error guessing
  • C. Statement testing
  • D. Exploratory testing

Question 22

Question
Which of the following is false?
Answer
  • A. In a system two different failures may have different severities.
  • B. A system is necessarily more reliable after debugging for the removal of a fault.
  • C. A fault need not affect the reliability of a system.
  • D. Undetected errors may lead to faults and eventually to incorrect behavior.

Question 23

Question
Which of the following is a form of functional testing?
Answer
  • A. Boundary value analysis
  • B. Usability testing
  • C. Performance testing
  • D. Security testing

Question 24

Question
Static analysis is best described as:
Answer
  • A. The analysis of batch programs.
  • B. The reviewing of test plans.
  • C. The analysis of program code.
  • D. The use of black box testing.

Question 25

Question
Which of the following statements about reviews is true?
Answer
  • A. Reviews cannot be performed on user requirements specifications.
  • B. Reviews are the least effective way of testing code.
  • C. Reviews are unlikely to find faults in test plans.
  • D. Reviews should be performed on specifications, code, and test plans.

Question 26

Question
A configuration management system would NOT normally provide:
Answer
  • A. Linkage of customer requirements to version numbers.
  • B. Facilities to compare test results with expected results.
  • C. The precise differences in versions of software component source code.
  • D. Restricted access to the source code library.

Question 27

Question
Considering the following pseudo-code, calculate the MINIMUM number of test cases for statement coverage, and the MINIMUM number of test cases for decision coverage respectively. READ A READ B READ C IF C>A THEN IF C>B THEN PRINT "C must be smaller than at least one number" ELSE PRINT "Proceed to next stage" ENDIF ELSE PRINT "B can be smaller than C" ENDIF
Answer
  • A. 3, 3.
  • B. 2, 3.
  • C. 2, 4.
  • D. 3, 2.

Question 28

Question
Why are static testing and dynamic testing described as complementary?
Answer
  • A. Because they share the aim of identifying defects and find the same types of defect.
  • B. Because they have different aims and differ in the types of defect they find.
  • C. Because they have different aims but find the same types of defect.
  • D. Because they share the aim of identifying defects but differ in the types of defect they find.

Question 29

Question
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 system integration testing after system testing.
Answer
  • A. Water Fall Model
  • B. V-Model
  • C. Spiral Model
  • D. RAD Model

Question 30

Question
Entry criteria should address questions such as: I. Are the necessary documentation, design and requirements information available that will allow testers to operate the system and judge correct behavior. II. Is the test environment-lab, hardware, software and system administration support ready? III. Those conditions and situations that must prevail in the testing process to allow testing to continue effectively and efficiently. IV. Are the supporting utilities, accessories and prerequisites available in forms that testers can use
Answer
  • A. I, II and IV
  • B. I, II and III
  • C. I, II, III and IV
  • D. II, III and IV.

Question 31

Question
From the below given choices, which one is the Confidence testing
Answer
  • A. Sanity testing
  • B. System testing
  • C. Smoke testing
  • D. Regression testing

Question 32

Question
What should be taken into account to determine when to stop testing? I. Technical risk II. Business risk III Project constraints IV Product documentation
Answer
  • A. I and II are true. III and IV are false
  • B. III is true, I, II, and IV are false
  • C. I, II, and IV are true; III is false
  • D. I, II, and III are true, IV is false

Question 33

Question
The following code segment contains a potential "divide by 0" error. J=50 K=1 while (N>=10) and (N<=10) loop M [K] = J/N K = K + 1 N = N 1 end loop Which of the following is the most effective way of detecting this error?
Answer
  • A. Boundary testing
  • B. Condition testing
  • C. Compilation of the source code
  • D. Source code inspection

Question 34

Question
IEEE stands for:
Answer
  • A. Information Engineering Endeavoring to Excel
  • B. Institute of Electrical and Electronics Engineers
  • C. Institute of Education for E-commerce Entrepreneurs
  • D. Individual Excellence in Engineering Enterprises

Question 35

Question
What are good practices for testing within the development life cycle?
Answer
  • A. Early test analysis and design.
  • B. Different test levels are defined with specific objectives.
  • C. Testers will start to get involved as soon as coding is done.
  • D. A and B above.

Question 36

Question
Postal rates for 'light letters' are 25p up to 10g, 35p up to 50g plus an extra 10p for each additional 25g up to 100g. Which test inputs (in grams) would be selected using equivalence partitioning?
Answer
  • A. 8, 42, 82, 102
  • B. 4, 15, 65, 92, 159
  • C. 10, 50, 75, 100
  • D. 5, 20, 40, 60, 80

Question 37

Question
Which of the following would structure-based test design techniques be most likely to be applied to? 1. Boundaries between mortgage interest rate bands. 2. An invalid transition between two different arrears statuses. 3. The business process flow for mortgage approval. 4. Control flow of the program to calculate repayments.
Answer
  • A. 2, 3 and 4
  • B. 2 and 4
  • C. 3 and 4
  • D. 1,2 and 3

Question 38

Question
Which of the following is the most important difference between the metrics-based approach and the expert-based approach to test estimation?
Answer
  • A. The metrics-based approach is more accurate than the expert-based approach.
  • B. The metrics-based approach uses calculations from historical data while the expertbased approach relies on team wisdom.
  • C. The metrics-based approach can be used to verify an estimate created using the expert-based approach, but not vice versa.
  • D. The expert-based approach takes longer than the metrics-based approach.

Question 39

Question
Which of these statements about functional testing is true?
Answer
  • A. Structural testing is more important than functional testing as it addresses the code.
  • B. Functional testing is useful throughout the life cycle and can be applied by business analysts, testers, developers and users.
  • C. Functional testing is more powerful than static testing as you actually run the system and see what happens.
  • D. Inspection is a form of functional testing.

Question 40

Question
How is the scope of maintenance testing assessed?
Answer
  • A. Scope is related to the risk, size of the changes and size of the system under test
  • B. Scope is defined by the size and type of system being changed
  • C. Scope is dependant on the amount of regression testing already performed
  • D. Scope is related to the number of system users affected by the change.
Show full summary Hide full summary

Similar

Plant Structure and Photosynthesis
mckenziedev
Cell Structure
daniel.praecox
GCSE Maths Notes: Averages
Andrea Leyden
MCAT Study Plan
Alice McClean
AQA Biology B1 Questions
Bella Statham
GCSE Maths: Overview Note
Andrea Leyden
GCSE AQA Biology 1 Adaptations, Competition & Environmental Change
Lilac Potato
Edexcel Additional Science Biology Topic 1
hchen8nrd
Cells and the Immune System
Eleanor H
Groups Starter Pack
Micheal Heffernan
Část 2.
Gábi Krsková