Component Testing and Interface Types

Component interface testing, 4 interface types, 3 classes of interface error

download Export
search_insights Statistics
stylus_note White Board
Quran
calculate Calculator
dictionary Dictionary
fullscreen Full Screen

QUESTION OF
Views #: 5
Questions #: 12
Time: 10 minutes
Pass Score: 80.0%
Style
Mode

What Component Testing Focuses On

1 pts
volume_mute

When testing composite components made up of several interacting objects, what should testing focus on?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Component Interface Testing Model

1 pts
volume_mute

The diagram below illustrates component interface testing where components A, B, and C have been integrated.

Test cases A B C

Where are test cases applied in component interface testing?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Four Types of Component Interfaces

1 pts

Match each interface type to its correct description.

To complete the line match

  1. Click on an item in the first group
  2. Click on the match in the second group

To delete a match, double click on a line

Interface Type

Procedural interfaces
Message passing interfaces
Shared memory interfaces
Parameter interfaces

Description

One component requests a service from another by passing a message; results returned in a reply message
One component encapsulates a set of procedures that can be called by other components
Data or function references are passed from one component to another
A block of memory is shared between components; data placed by one subsystem and retrieved by others
note_alt Add notes
flag Flag

Correct Answer

Explanation

Shared Memory Interface Use Case

1 pts
volume_mute

Which type of system most commonly uses shared memory interfaces between components?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Three Classes of Interface Errors

1 pts

Interface errors fall into three classes. Classify each scenario into the correct error class.

drag and drop the selected option to the right place

note_alt Add notes
flag Flag

Correct Answer

Explanation

Interface Misuse - Most Common Type

1 pts
volume_mute

Interface misuse is particularly common with which type of interface, and what forms does it typically take? Select all that apply.

note_alt Add notes
flag Flag

Correct Answer

Explanation

Queue Overflow Interface Defect

1 pts
volume_mute

An object implements a queue as a fixed-length data structure. A calling object assumes the queue is infinite and never checks for overflow. Under what condition is this defect revealed during testing?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Fault Interaction Between Modules

1 pts
volume_mute

A module calls another module expecting a correct return value. The called module has a subtle fault and returns a value that is valid but incorrect. The error only becomes obvious when a later computation using the returned value goes wrong. What does this scenario illustrate?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Interface Testing Guidelines

1 pts
volume_mute

Which of the following are recommended guidelines for testing component interfaces? Select all that apply.

note_alt Add notes
flag Flag

Correct Answer

Explanation

Stress Testing in Message-Passing Systems

1 pts
volume_mute

Why is stress testing particularly recommended for message-passing systems during interface testing?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Inspections vs. Testing for Interface Errors

1 pts
volume_mute

For detecting interface errors, the text suggests that inspections can sometimes be better than testing. In what way are inspections particularly effective for interface testing?

note_alt Add notes
flag Flag

Correct Answer

Explanation

Interface Errors Are Common

1 pts
volume_mute

Research on software defects has highlighted the prevalence of interface errors. Which statement correctly reflects this finding?

note_alt Add notes
flag Flag

Correct Answer

Explanation