Midterm 3 Final

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Stress tests are designed to discover problems associated with: - Buffer allocation errors - Memory overflow - Memory leaks - All of these

- All of these

The function point of a system indicates its: - Convertability - Functionality X - All of these - Complexity

- All of these

The function point of a system is a weighted statistic comprising of: - Number of inputs and outputs - All of these - Number of inquiries produced - Number of files

- All of these

Useful types of security tests include verifying: - Correctness of encryption - Only authorized users have access - Unauthorized access is not permitted but recorded - All of these

- All of these

While testing/reviewing requirements document, you should look for the following: - All of these - Completeness - Comprehensiblity - Consistency

- All of these

You are testing a sixteen disk RAID system and remove one of the disks in the array and replace it with a brand new one. You notice that the system continued to work as expected during this operation. This means that the system passed: - On-line remove testing - All of these - On-line insertion testing - A kind of Robustness Testing

- All of these

You need documentation testing to ensure: - Documentation is accurate - All of these - Documentation is usable - Documentation is consistent

- All of these

When you turn on a MacBook Pro, you see the following startup options. You try starting up a Macbook Program each of these in turn. You are conduction: If the graphic is not visible along, please follow this link: MBP Boot Options.png - None of these - Boot Tests - LED Tests - Diagnostic tests Normal

- Boot Tests

Which of the following is a form of static testing: - Performance Analysis - Code Review - Graybox Testing - Load Testing

- Code Review

A macbook pro is connected to a router, printer, a sound system and a sketch pad. When you restart the Macbook Pro, you ping each of these components one by one to make sure they are functioning as desired. You are conducting: - Integration Testing - Startup Testing - Diagnostic Testing - Boot Testing

- Diagnostic Testing

In the context of GUI testing, match concepts with their correct meaning: - Efficiency - Comprehensibility - Accessibility - Responsiveness

- Efficiency (Minimum number of steps) Can users do what they want with a minimum number of steps and time? - Comprehensibility (GUI is intuitive and understandable) Do users understand the product structure with a minimum amount of effort? - Accessibility (GUI is easy to navigate) Can users enter, negate, and exit with relative ease - Responsiveness (Moves from screen to Screen **) Can users do what they want when they want in a way that is clear?

In the situation of the previous question, you could have tested AMT with 100 simultaneous users and predicted its scalability to 1000 simultaneous users using: - Extension - Extraneous data - Extrapolation - Extreme Programming

- Extrapolation

What kind of test provide comprehensive testing over a full range of requirements? - Inter-operability testing - Functionality Testing - Robustness Testing - Basic Testing

- Functionality Testing

A requirement that a system is expected to support but not explicitly stated is known as: - Interfered requirement - Interfaced requirement - Inferred requirement - Infra-red requirement

- Inferred requirement

SpartanMart, a bartering system designed and implemented by the CMPE 131 students, is required to handle a minimum of one hundred simultaneous users. You decide to test it with 1000 simultaneous users. This is a form of: - Litmus Testing - Regression Testing - Efficiency Testing - Load Testing

- Load Testing

Apple's new Airport Extreme is made up components such as Wi-Fi radios (3) power supply, line card and a fan shown the left which are assembled to create the system shown on the right. These components are tested individually to make sure they function as expected after the system is assembled. This is known as: - Diagnostic Testing - Module Testing - Boot Testing - All of these

- Module testing

Measuring throughput and responsive time under different conditions is known as: - Personality Testing - Functionality Testing - Robustness Testing - Performance Testing

- Performance Testing

A program is considered an input classifier: *True *False

*True

Which of the following can cause a domain error: *A predicate which always evaluates to true *Incorrect assignment to a variable used in a predicate *Incorrectly specified predicate *Business rule anomaly

* Incorrect assignment to a variable used in a predicate * Incorrectly specified predicate

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: *An Open Boundary *An Open Rim *A Closed Boundary *A Closed Rim

*A Closed Boundary

Diagnostic tests are designed to verify that the hardware components (or, modules) of a system are functioning as desired. These include: *All of These *Power-on Self Tests *Ethernet Loop back Tests *Bit-error Tests

*All of These

A domain is termed closed if: *Some of its boundaries are open *All of these *A data point lies within the boundaries *All of its boundaries are closed

*All of its boundaries are closed

GUI tests include tests for: *All of these *Accessibility *Efficiency *Comprehensibility

*All of these

Prerequisites for test automation include: *System stability *Unambiguous test cases *All of these *Well defined requirements

*All of these

The function point of a system is a statistic comprising of: *All of these *Number on inqurires produced *Number of inputs and outputs *Number of files

*All of these

Which of the following are done by a program unit: *Perform Computations *Assign Values to Variables *Accept Input *All of these

*All of these

During a code review of a unit under test, you observe that a certain parameter p to the unit shows up only in conditional tests. A good (optimal) data flow testing criteria to use, to test this unit WRT p would be: *All-p uses *All of these *All uses *All c-uses

*All-p uses Note: P-Use means predicate use, and the keyword here is "Only Conditional tests"

To make sure a system can be installed, configured and brought into an operational state, you run: *Unit Tests *Robustness Tests *Basic Tests *Integration Tests

*Basic Tests

Microsoft sends you twenty seven different modules and asks you to integrate them. They tell you that these modules include everything you need to build a system called Cloudy. The approach to take for integration here would be: *Bottom-up Integration *Big Bang Integration *Top-down Integration *Sandwich Integration

*Big Bang Integration

Identify common approaches to Integration Testing: *Control Flow Testing *Conformance Testing *Domain Testing *Sandwich Testing *Data Flow Testing *Big-bang Testing *Bottom-up Testing *Top-down Testing *LED Testing *Incremental Testing

*Big-bang Testing *Sandwich Testing *Bottom-up Testing *Top-down Testing *Incremental Testing

Apple sends you the executable for their Maps app for testing. The only kind of testing you can perform are: *Black-box Testing *White-box Testing *Dynamic Testing *Static Testing

*Black-box Testing

Tesla sends you their speed indicator for testing. They tell you that the indicator should turn red when the speed exceeds 90 MPH. You notice that it turns red at 90 MPH. You should categorize this as a: *Boundary value error *Closure error *Open error *Specification error

*Closure error Note: Keyword here is "Exceeds", meaning that it was given as an 'Open boundary'.

Characteristics of Testable Requirements The following items must be analyzed during the review of requirements: *Safety *Security *Completeness *Correctness *Consistency *Clarity *Relevance *Feasibility *Verifiable *Traceable

*Completeness *Correctness *Understandability

The function point of a system indicates it's: *Convertibility *All of these *Functionality *Complexity

*Complexity

Security testing includes testing for: *Confidentiality *Authorized Administration *Availability *Corruption *Integrity *Contradictions

*Confidentiality *Availability *Integrity

Functional Tests for testing a Graphic User interface should include testing for: - Comprehensibility - Efficiency - Responsiveness - All of these

- All of these

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: *Control Flow Testing *Domain Testing *Data Flow Testing *Conformance Testing

*Conformance Testing *Domain Testing

One advantage of the Big Bang approach to integration is that it avoids: *Smaller units *Incremental development cost *Creation of stubs and drivers *Extensive testing

*Creation of stubs and drivers

A web browser is a good example of a: *Partition dominated system *Data dominated system *Control dominated system *All of these

*Data dominated system

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: *Random Testing *Equivalence Partitioning *Decision Tables *None of these

*Decision Tables

Wells Fargo Bank 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 log in. 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. *Decision Tables *Random Testing *None of these *Equivalence Partitioning

*Decision Tables

A unit under test has a read only input parameter x. Most likely, w.r.t x, any path through the unit will be a: Note: Ignore the node depicting the intial value of the parameter *Non-use path *Definition use path *None of these *Definition clear path

*Definition clear path Note the key word is 'READ ONLY', means that parameter x is not changed during the path.

A data flow graph is a:

*Directed Graph

A mathematical program unit under test, written in C Programing Language, has the following sequence - #include #include double functionOne ( double parameterOne ) { double resultOne = sqrt ( parameterOne ) ; /* find the square root of parameterOne */return ( resultOne ) ; } void main( int argc, char** argv ) { double negNumber = -25; double sqrtNegNum = functionOne ( negNumber ) printf("Square root of -25 = %d\n", sqrtNegNum) ; } As given, the program unit under test exhibits what kind of error: Note: Square roots of negative numbers do not exist! *Conformation Error *Infeasible Path Error *Boundary Value Error *Domain Error

*Domain Error

When a set of input data makes a program to execute an unexpected path, it is known as a: *Computation Error *Path Error *Correlation Error *Domain Error

*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 are consistently flagged as misspelled. This could be regarded as: *Computational Error *Spelling Error *Functional Error *Domain Error

*Domain Error

Skeletal code written to simulate a calling function during Unit Testing is known as a: *Dummy code *Pseudo Function Call *Driver *Stub

*Driver Note: The keyword is CALLING. Simulated Drivers invoking the function.

A test team observes non-changing constant values during a program execution. This can be termed as: *Static Analysis *Data Flow Testing *Dynamic Analysis *Blackbox Testing

*Dynamic Analysis Note: Keyword is 'During a program execution'. Means that it is running.

Amazon sends you a test version of EchoTunes, their iTunes rival. They want to know if EchoTunes is better than iTunes. In one of the tests, you check whether the number of steps taken to do a task in EchoTunes is less than that needed in iTunes. Here you are comparing the two user interfaces in terms of: *Comprehensibility *Accessibility *Responsiveness *Efficiency

*Efficiency

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: *None of these *Separate Classes *Equivalence Classes *Disjoint Classes

*Equivalence Classes

Points where two or more boundaries cross are known as: *Intersections *Extreme Points *On Points *Off Points

*Extreme Points

A domain is a set of values for which a program performs non-identical computations: *True *False

*False

Equivalence Class partitioning works only with input domains. *True *False

*False

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 = { between 2 and 4 lines } S2 = { between 5 and 10 lines } S3 = { between 11 and 15 lines } S4 = { between 16 and 20 lines } S5 = { 21 and more lines } These five subsets make equivalent partitions of S: *True *False

*False

Fault Tolerance means: *All of these *High availability *Correcting faults *Ignoring faults

*High availability

The set of all possible inputs to a program is known as: *Data Domain *Data Set *Input Vector *Input Domain

*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: *Input Domain *Input Vector *Input Parameter Set *Input Condition

*Input Vector

A path with all distinct nodes, except possibly the first and and the last, is known as a: *Complex Path *Loop-free Path *None of these *None of these

*Loop-free path Simply Note: 'with all DISTINCT nodes'. meaning that the nodes are visited at most once.

A finite state machine that has inputs and outputs depicted on edges is called a: *Mealy Machine *Moore Machine *Perpetual Machine *Turing Machine

*Mealy Machine

Google sends you a test unit of their new product GTiny, a portable music player. They tell you that the unit can hold and play continuously 1000 songs. You run tests on it with 0, 100, 250, 500 and 900 songs. This is called: *None of these *Capacity Testing *Performance Testing *Stress Testing

*None of these

The difference between static data flow testing and dynamic data flow testing is that during static data flow testing, the program is: *Not executed *Untouched *Executed *Broken down

*Not executed

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

*ON Point

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: *Close Range *Open Boundary *Open Range *Closed Boundary

*Open Boundary

A quantitative characterization of how a system will be used is known as: *User Stories *Operational Profile *Operational Manual *Users Manual

*Operational Profile

In a dataflow diagram, an edge represents: *D-use *None of these *C-use *P-use

*P-use

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: *None of these *Pairwise Testing *Single pair testing *All On/Off testing

*Pairwise Testing

A domain can be represented by a set of: *Predicates *Computations *None of these *Variable uses

*Predicates

Boundary Value Testing facilitates testing: *Robustness *Performance *Security *None of these

*Robustness

While visiting a Dropbox data center, you notice technicians removing and inserting disk drives from live servers. They are probably testing the system for: *Robustness *Efficiency *Install-ability *Usability

*Robustness

While Modeling and categorizing defects you must consider these two characteristics: *Severity *Priority *Time of occurrence *Module where it occurred

*Severity *Priority

Which of these are types of interfaces: *Shared Memory *Message Passing *Boundary condition *Function call interface *Off Point Interface *Cross functional *(Procedure call)

*Shared Memory *Message Passing *Function call interface *(Procedure call)

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: *Deterministic System *Stateless System *Non-deterministic System *All of these

*Stateless System

The limitations of a system and the manner in which it fails when these are breached, are determined via: *Stress tests *Robustness tests *Reliability tests *Load tests

*Stress tests

Skeletal code written to simulate a called function during Unit Testing is known as a: *Simulation Function *Stub *Driver *Skeletal Routine

*Stub

Performance tests are used to determine: *Throughput & response time *Longevity of a system *All of these *Robustness

*Throughput & response time

In a bottom-up approach to integration, detection of major faults are pushed towards the end because major design decisions are embedded in: *Top-level modules *Sandwich modules *Both top-level and bottom-level modules *Bottom-level modules

*Top-level modules

Requirements to be tracked through analysis, design, implementation and testing using a: *Traceability Matrix *Singular Matrix *None of these *Matrix Trilogy

*Traceability Matrix

State machine driven testing involves creating sequences of state transitions from an initial state to a final state. Such a sequence is called a: *Transition State Sequence *None of these *State Tour *Transition Tour

*Transition Tour

For every Deterministic Finite Automata, there exists an equivalent Non-deterministic Finite Automata. *True *False

*True

Major faults hidden in details are discovered more easily in a Bottom-up approach rather than in a Top-down approach to integration: *True *False

*True

Major faults hidden in the details are discovered more easily in a Bottom-up approach rather than in a Top-down approach to integration: *True *False

*True

One advantage in using a Top-down approach to integration is that system behavioral characteristics can be observed early: *True *False

*True

The probability of uncovering defects with Equivalence Partitioning is generally higher than with a randomly selected suite from the same size of an input domain. *True *False

*True

Which of these are three types of data flow anomalies that arise by the use of variables: *Defined and redefined *Defined but not assigned *Defined but not referenced *Undefined but referenced *Renamed and reused *Unnamed *Undefined but tested

*Undefined but referenced *Defined and redefined *Defined but not referenced

During data flow testing, you come across the following code: { int x, y z; x = 0, y = 0, z = 1; w = (x + y)/z }

*W is undefined

A system test plan should include: - Are source and testing schedule - All of these - A traceability matrix to assure test coverage X - Guidance to management for supporting the plan

- All of these

While testing an open source office suite running on Ubuntu, you try opening seventeen different kinds of files including pdf, jpg, tiff, png, mp3, docx, txt, and pages (Mac OS/iOS word processing software) files. You notice that while trying to open a page file, the office suite crashes. This means that the software failed tests for: - Portability - Compatibility X - Cross functionality - Robustness

- Portability

Reliability of a system, such as the AT&T landlines, that run for long time periods can be tested via: - Load and Stress Testing X - None of these - Controlled Testing - Random Testing

- Random Testing

You can determine that a system remains stable during integration with subsystems and maintenance tasks via: - Portability Testing - Regression Testing - Integration Testing X - Robustness Testing

- Regression Testing

It is important to test if a fix for a bug has not introduced new ones, during testing. This is done via: - Forward Testing - Priority Testing - Regression Testing - Partition Testing

- Regression testing

You are asked to test the OpenOffice suite. You are given a set of files with different file types, such as pdf, doc, docx, jpg, png, tiff, abc, and xyz. You try opening these kinds of files and the software either opens them or gracefully shows an error message without aborting. What kind of testing would you call this: - Basic Testing - Functional Testing - Inter-operability Testing - Robustness Testing

- Robustness Testing

Analysis is carried out to determine the origin of a bug and reasons for the failure is known as: - None of these - Cause and Effect Analysis - Retro Testing Analysis - Root Cause Analysis

- Root Cause Analysis

In testing the SpartanMart App/system with 1000 simultaneous users, as in the previous question, you notice that the response time remains the same as it was when tested with ten simultaneous users. This could mean that SpartanMart passes: - Scalability Testing - Portability Testing - Sufficiency Testing - Efficiency Testing

- Scalability testing

Command Line Interface tests are designed to test: - System Configuration - System Modification X - System Parameterization - System installation

- System Configuration

You are testing a monitoring system for solar panels manufactured by SolarCity. The SRS specifies that the surface temperature needs to be displayed on the instrument panel of the monitoring system and you notice that the panel does display the temperature. You can say that as far as this requirement goes, the system passed: - Variation - VIllification - Validation - Verification

- Validation

Continuing from the previous question, you notice that the temperature is displayed using a Celsius scale. You know that local/state/federal regulations require all temperatures to follow the Fahrenheit scale. You can say that the system failed: - Validation - Verification - Villification - Variation

- Verification

A flight Data Recorder (Black Box) is a device of critical importance in all flights. It is used to record flight data which can be used to replay paths and cockpit conversations. For such a system, it is important to conduct: *Portability Testing X *Profitability Testing *Path Testing *Log and Trace Testing

-*Log and Trace Testing

*Deterministic Non-finite State Machine *Cartesian Finite State Machine *Non-deterministic Finite State Machine *Equivalent Finite State Machine

//www.cram.com/2/images/upload-flashcards/000/8625977/29870874_m.jpeg<><>*Non-deterministic Finite State Machine

*Non-deterministic Finite State Machine *Turing State Machine *Carnot State Machine *Deterministic Finite State Machine

//www.cram.com/2/images/upload-flashcards/000/8625977/29870953_m.jpeg<><>*Deterministic Finite State Machine

A finite-state machine (what inputs do delta and lamda take?) M = , where • S is a set of states. • I is a set of inputs. • O is a set of outputs. • s0 is the initial state. • δ: • λ:

• δ: S x I -> S (next state function) • λ: S x I -> O (output function)<><>/images/upload-flashcards/86/32/35/29863235_m.png


संबंधित स्टडी सेट्स

Chapter 16 Book 2: Scientific Revolution and Enlightenment (1540-1789)

View Set

KIN 224- EXAM 2: CHAPTER 18, 19, 20 (BLOOD, HEART, VESSELS)

View Set

17:7 Providing First Aid for Heat Exposure

View Set