CMPE 187 Midterm 2 (Ch. 6 - 11)

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

For the boundary condition x + 7 y >= 6, the point (-1,1) would be an:

a. on point

A component that provides the functionality to combine different off-the-shelf components is called a:

c. glue

In integration, meaningful system functions are embedded in: a. none of these b. top-level modules c. lower-level modules d. stubs and drivers

c. lower-level modules

Google wants you to test a fun LED they want to add to the Pixel phone. The light gives out Google colors when different buttons (home, volume, mute, power) are pressed/unpressed in combination. You write an Oracle that covers valid colors for every button (On/Off) at least once. Such an Oracle can be created by considering:

c. pairwise testing

Mean Time to Failure can be used as a measure for:

c. reliability

The mapping between requirements and test cases is known as: a. validation b. verification c. traceability matrix d. none of these

c. traceability matrix

During the horizontal phase of an In Parameter Order algorithm to generate test cases for functional testing, test cases are extended with:

c. values of input parameters not used before

LED lights are installed in a classroom. They are activated when motion is detected at any point in the room and stay on. Lights go out if no motion is detected continuously for ten minutes. This time interval can be adjusted to lengthen or shorten via data input on a control panel. This system can be categorized as:

control oriented

In a Mealy Machine, outputs are determined by the current state and None of these State Transition Current Input Any Input

current input

Goals of Integration Testing are: a. cost reduction b. early error detection c. validation and verification d. all of these

d. all of these

Values closest to a boundary in a divided domain are most sensitive to change is a fact that makes which of these really important:

d. boundary value analysis

Bank of America is designing a modern ATM machine operated with a mobile phone. When a registered mobile phone is tapped on the ATM, the ATM will turn on. A code is sent via text to your mobile device which you need to enter to login. Alternatively, you are allowed to use your fingerprint via the mobile phone to login, but not both. More than three wrong code entries will turn off the ATM. Using the wrong fingerprint even once will turn off the ATM as well. What is a good technique to use to test this system of rules and associated actions:

d. decision tables

Error guessing technique in testing is based largely on:

d. development/testing team experience

Building in instrumentation code helps in running: a. reliability tests b. none of these c. performance tests d. diagnostic tests

d. diagnostic tests

In order to test a business system, we need to understand not only the technical aspects but also the goals of the system, business processes it supports and the users of the system. This is termed as acquiring:

d. domain knowledge

For a closed boundary, an OFF point is: a. within the domain b. non-existent c. on the boundary d. in an adjacent domain

d. in an adjacent domain

In security tests, protection from unauthorized modification of data and processes is known as:

d. integrity

Microsoft sends you a MExcel (Mini Excel) program for testing. They tell you that the spreadsheets in this program are designed to handle just about 500 x 500 matrix of cells. You test them out by filling in 20 x 20, 50 x 50, 100 x 100, 250 x 250 and 475 x 475 matrices. This kind of testing is termed:

d. load testing

While visiting a Dropbox data center, you notice technicians removing and inserting disk drives from live servers. They are probably testing the system for:

d. robustness

Samsung has asked you to test their newest 100" 8K OLED TV and send you the requirements defined for the same along with a prototype of the TV. You come across a requirement that sounds rather ambiguous - The TV must have very high frame refresh rate in order to minimize judder (image blurring when the camera pans faster than the refresh rate can cope with) One way to eliminate ambiguity is to state the requirement as: a. refresh rate should be adjustable b. none of these c. refresh rate is matches speed of camera pan d. the TV can achieve a refresh rate of 240 frames per second

d. the TV can achieve a refresh rate of 240 frames per second

In Conformance Testing with Finite State Machines, test cases are derived from: a. Input & Output at some states b. Input & Output at all states c. None of these d. Transition Tours

d. transition tours

A point of interaction between a system and its users, in the context of Conformance Testing, is called a Point of Control and Observation or a PCO. A rural route has a traffic light that is set to green continuously. For the rare occasion when someone needs to cross the road from either side, they press a button. The light turns yellow for twenty seconds for any motorists to slow down and stop for the pedestrians. The light then turns red for ninety seconds before turning green again signaling vehicles to drive on. How many PCO's are seen in this system: a. none of these b. one c. four d. two

d. two

Running regulatory tests is a form of: a. reliability testing b. validation c. none of these d. verification

d. verification

In Conformance Testing, the robustness of a system can be tested:

true

In Conformance Testing, the robustness of a system can be tested: true or false

true

Identify Integration Testing Techniques:

- incremental - top-down - bottom-up - sandwich - big-bang

Identify types of interfaces: - sentinels - semaphores - message passing - shared memory - procedure call - external - internal

- message passing - shared memory - procedure call

Identify types of interfaces:

- procedure call - shared memory - message passing

One of the uses of a Traceability Matrix during system test is to:

Identify & Track the functional coverage of a test

Error guessing technique is based largely on: a. Development/Testing Team b. Experience Domain Knowledge c. Fault Feeding d. Mutation Testing

a. Development/Testing Team

While testing the Groupon case from the previous question, you create the following subsets from all possible number of lines (S) that can be ordered. S1 ={between2and4lines} S2 ={between5and10lines} S3 = { between 11 and 15 lines } S4 = { between 16 and 20 lines } S5 ={21andmorelines} What is true of these five subsets: a. They make an equivalent class partitioning of S b. Are all equivalent subsets c. Do not have intersections d. All of these

They make an equivalent class partitioning of S

*EXAM IIA*

VIEW THIS CARD

*EXAM IIB*

VIEW THIS CARD

In the context of Compliance Testing, a Finite State Machine M is defined as follows: M=<S,I,O,s0,δ, λ> What is λ? a. A function from S x I --> O b. A function from S x I --> I c. A function from S x O --> S d. A function from S x S --> I x O

a. A function from S x I --> O

During random testing, using equivalence class partitioning of large domains increases the chances of: a. Better distribution of test cases over the domain b. Creating a much smaller test suite c. True randomness in a small domain d. All of these

a. Better distribution of test cases over the domain

Samsung has asked you to test their newest 100" 8K OLED TV and send you the requirements defined for the same along with a prototype of the TV. You come across a requirement that sounds rather ambiguous - The TV must have very high frame refresh rate in order to minimize judder (image blurring when the camera pans faster than the refresh rate can cope with) One way to eliminate ambiguity is to state the requirement as a. The TV can achieve a refresh rate of 240 frames per second b. Refresh rate should be adjustable c. Refresh rate is matches speed of camera pan d. None of these

a. The TV can achieve a refresh rate of 240 frames per second

You are asked to modify the drawing routine so a printer allows printing points on or within a border on a page. This is an example of: a. a closed boundary b. an open boundary c. a closed rim d. an open rim

a. a closed boundary

Goals of Integration Testing are: a. all of these b. validation and verification c. cost reduction d. early detection of errors

a. all of these

Orthogonal Arrays achieve which of the following: a. all of these b. Guarantee pairwise combinations of all selected variables c. Generate fewer test cases than a all-combination approach d. Generate a test suite with even distribution of pairwise combinations

a. all of these

Which of the following are done by a program unit:

a. all of these

A good strategy to use in Domain Testing is: a. an on-off sequence b. boundary selection c. all of these d. domain classification

a. an on-off sequence

Values closest to a boundary in a divided domain are most sensitive to change is a fact that makes which of these really important: a. boundary value analysis b. domain knowledge c. equivalence class partitioning d. none of these

a. boundary value analysis

Running diagnostic tests is facilitated by:

a. building-in instrumentation code

Adobe Acrobat program is designed to make sure page layouts are within the printable area of a designated printer. While testing the software, you discover that text that is very close to the edges of this area are not printed at all. This could occur due to a/an: a. closure error b. on point error c. off point error d. all of these

a. closure error

In security testing, protection from *unauthorized disclosure* is termed:

a. confidentiality

Groupon is collaborating with Verizon with aggressively pricing their Mobile Phone Plans. Together they offer 20% discount if you signup for 2 to 4 lines, 23% for 5 to 10 lines,27 % for 11 to 15 and 30% for 16 to 20 lines. If you signup for over 20 lines, your account is converted into a business account and you get a 40% discount overall. Discounts apply only if you signup online via a by invitation only link from Groupon. Invitations are sent only to members of select airlines frequence flyer programs. Groupon asks you to test the system. Which of these test categories can you carry out:

a. conformance testing

LED lights are installed in a classroom. They are activated when motion is detected at any point in the room and stay on. Lights go out if no motion is detected continuously for ten minutes. This time interval can be adjusted to lengthen or shorten via data input on a control panel. This system can be categorized as: a. control oriented b. data oriented c. hybrid data and control oriented d. none of these

a. control oriented

Identify a disadvantage of a top-down approach to integration testing:

a. creation of throw away code

In a Mealy Machine, outputs are determined by the current state and: a. current input b. nothing else c. error state d. none of these

a. current input

One of the projects in CMPE 295A is centered around collecting shopping receipts from shoppers at Walmart, Target and their competitors. Collected receipts are scanned and processed via OCR so that purchased items can be identified and categorized. An accompanying app collects GPS coordinates to determine how far shoppers travel in order to shop at these stores. The information is used to determine where to open new stores to optimize several parameters. This system can be categorized as:

a. data oriented

A mathematical program unit understand, written in C Programming Language, has the following sequence - As given, the program unit test exhibits what kind of error:

a. domain error

You are given a task to test the spell check routine for MS Word and you notice that, when you input words for testing purposes, a group of correctly spelled words is consistently flagged as misspelled. This could be regarded as: a. domain error b. computational error c. boundary value error d. random error

a. domain error

Which of these are factors to be considered in designing System Testing: a. effectiveness b. productivity c. environment d. programming language e. coverage f. exceptions g. special circumstances

a. effectiveness b. productivity e. coverage

Points where two or more boundaries cross are known as: a. extreme points b. inflection points c. off points d. on points

a. extreme points

In the realm of Domain Testing, a program under test is termed as a: a. input classifier b. domain classifier c. output segregator d. none of these

a. input classifier

The set of all possible inputs to a program is known as: a. input domain b. input vector c. data domain d. oracle

a. input domain

The collection of all data entities read by a routine whose values must be fixed prior to entering the routine is known as an: a. input vector b. input conditions c. oracle d. none of these

a. input vector

Apple sends you a MKeynote (Mini Keynote) presentation program to test. They tell you that the program can handle up to 200 slides. You test the program with 10, 50, 100, 150 and 175 slides. This can be termed as:

a. load testing

Which of these is *not* a usability characteristic of a GUI:

a. menu-selections

Two domains sharing a boundary are said to be: a. none of these b. co-domains c. intersecting domains d. parallel domains

a. none of these

You are asked to write a routine that would help the drawing module of MS PowerPoint restrict all geometric shapes to be contained within the boundaries of a slide. This is an example of a: a. open boundary b. closed boundary c. open range d. closed range

a. open boundary

During functional testing, if each possible combination of values for every pair of input variables is covered by at least one test case it is termed:

a. pair-wise testing

Google wants you to test a fun LED they want to add to the Pixel phone. The light gives out Google colors when different buttons (home, volume, mute, power) are pressed/unpressed in combination. You write an Oracle that covers valid colors for every button (On/Off) at least once. Such an Oracle can be created by considering: a. pairwise testing b. all on/off testing c. single pair testing d. none of these

a. pairwise testing

Documentation tests include which of these:

a. read-tests b. hands-on tests c. functional tests

Mean Time to Failure is used as a measure of:

a. reliability

While visiting a Dropbox data center, you notice technicians removing and inserting disk drives from live servers. They are probably testing the system for:

a. robusteness

Boundary Value Testing facilitates testing: a. robustness b. performance c. security d. all of these

a. robustness

What are two Conformance Testing strategies that use Finite State Machines:

a. state coverage and transition coverage

VM Ware sends you a virtual machine that runs Mac OS on a Windows/Linux environment, called Maowlin. You notice that there are no points of control/observation included. You would say that Maowlin is probably a:

a. stateless system

Apple sends you the executable for their Maps app for testing. The only kind of testing you * cannot* perform is:

a. static testing

The ability to enhance the functionality of an off-the-shelf component is known as:

a. tailoring

In the context of Compliance Testing, a Finite State Machine M is defined as follows: M < S, I, O, S0, delta, lambda> What is S0 in the definition: a. the initial state b. set of states c. set of inputs and output d. all of these

a. the initial state

In integration, major design decisions are embodied in:

a. top-level modulse

State machine driven testing involves creating sequences of state transitions from an initial state to a final state. Such a sequence is called a:

a. transition tour

A point of interaction between a system and its users, in the context of Conformance Testing, is called a Point of Control and Observation or a PCO. A rural route has a traffic light that is set to green continuously. For the rare occasion when someone needs to cross the road from either side, they press a button. The light turns yellow for twenty seconds for any motorists to slow down and stop for the pedestrians. The light then turns red for ninety seconds before turning green again signaling vehicles to drive on. How many PCO's are seen in this system:

a. two

An Extreme Point is one at which: a. two or more boundaries intersect b. there is an inflection c. domains overlap d. ranges and domains intersect

a. two or more boundaries intersect

Checking for compliance with regulations during testing can be termed:

a. verification

While using an In Parameter Order algorithm, additional test cases are generated during which phase:

a. vertical growth phase

For an open boundary, and OFF point is: a. within the domain b. in an adjacent domain c. on the boundary d. non-existent

a. within the domain

In conformance testing, a sequence of state transitions from the initial state to the final state is known as a: a. Transition Coverage b. Transition Tour c. State Coverage d. None of these

b. Transition Tour

What are two Conformance Testing strategies that use Finite State Machines: a. State Coverage & Transition Coverage b. Transition Tours c. Input & Output Coverage d. State Coverage & Condition Coverage

b. Transition Tours

Which of these is a usability characteristic of a GUI:

b. accessibility

Orthogonal Arrays achieve which of the following:

b. all of these

During random testing, using equivalence class partitioning of large domains increases the chances of:

b. better distribution of test cases over the domain

You are given a task to test the spell check routine for MS Word and you notice that, when you input words for testing purposes, a group of correctly spelled words is consistently flagged as misspelled. This could be regarded as:

b. domain error

A video store rents out three classes of movie DVD's - Classics, Run of the Mill and New Releases. Whenever a new DVD is purchased, it is classified strictly into one of these three categories and nothing else. If this is maintained, the three categories make up a well-defined set of:

b. equivalence classes

The ration number of planned test cases / number of planned test cases + test case escapes * 100% is known as the:

b. test case design yield

Pair-wise testing is designed to produce a number of test cases that is:

c. Fewer than that in all-combination testing

Identify an advantage of a top-down approach to integration testing:

c. ease of isolating interface errors

A Finite State Machine depicting both inputs and outputs is called a: Moore Machine Non-deterministic Finite State Machine Deterministic Finite State Machine Mealy Machine

mealy machine

Printing from an Excel spreadsheet, you set the print area to contain rows 1 through 11 and columns A through K. However when you retrieve the printed page from the printer, you notice that data from rows 12 and column L have also been printed. You could term this as:

shifted boundary error

In the context of Compliance Testing, a Finite State Machine M is defined as follows: M = <S, I, O, S0, delta, lamda> a. The cross product of I and O b. The cross product of S and I c. The cross product of S and O d. The sets S and I and O

the cross product of S and I


Ensembles d'études connexes

AP Biology - Chapter 17: From Gene to Protein

View Set

Med Surg Chap 44 Nursing management: Liver, Pancreas, biliary tract problems

View Set

Microecon Final Exam Practice Test

View Set