Emulation Technique MCQ Quiz – Objective Question with Answer for Emulation Technique

21. Which of the following is not a part of Execution Flow during debugging?

a) Step Over
b) Step Into
c) Step Up
d) Step Out

Answer: C

Step Into executes code, Step Out continues execution until bound value, and Step Over is to execute code without stopping.

 

22. Cyclomatic Complexity method comes under which testing method.

a) Yellow box
b) White box
c) Gray box
d) Black box

Answer: B

Cyclomatic Complexity tells us about the number of independent paths in a program which is covered in white box testing.

 

23. Which is a black-box testing technique appropriate to all levels of testing?

a) Acceptance testing
b) Regression testing
c) Equivalence partitioning
d) Quality assurance

Answer: C

Equivalence partitioning is a software testing technique that divides the input data of a software unit into partitions of equivalent data from which test cases can be derived.

 

24. Which of the following is the way of ensuring that the tests are actually testing code?

a) Control structure testing
b) Complex path testing
c) Code coverage
d) Quality assurance of software

Answer: C

Code coverage is the way of ensuring that the tests are actually testing code. Code coverage is a software testing metric that determines the number of lines of code that are successfully validated under a test procedure, which in turn, helps in analyzing how comprehensively a software is verified.

 

25. Effective testing will reduce _______ cost.

a) maintenance
b) design
c) coding
d) documentation

Answer: A

The remaining options are a part of the development process. Effective testing will reduce maintenance cost.

 

26. Which of the following is a common pointer problem?

a) Data sharing errors
b) Accessing data elements of the wrong type
c) Attempting to use memory areas after freeing them
d) All of the mentioned

Answer: D

These are the common errors programmers make while coding.

 

27. Which of the following has a single set of compiler and debugger tools?

A. Xray
B. onboard debugger
C. emulation
D. high-level simulator

Answer: A

The Xray debugging technique is a product from the Microtec which is having a complete set of compiler and debugger tools that will work with the simulator, debugger, emulator, and the onboard debugger.

 

28. Who developed the Xray product?

A. IBM
B. Intel
C. Microtec
D. Motorola

Answer: C

The Xray which is a product from the Microtec is having a complete set of compiler and debugger tools.

 

29. Which part of the Xray can interface with a simulator?

A. emulator
B. debugger
C. simulator
D. onboard debugger

Answer: B

The Xray consists of a consistent debugger that can interface the emulator, simulator, task-level debugger, or onboard debugger.

 

30. Which can provide the consistent interface to the Xray?

A. emulator
B. simulator
C. memory simulator
D. debugger system

Answer: D

The Xray consists of the debugger which interfaces with the emulator, simulator, and onboard debugger that provides a consistent interface to the Xray product. This can improve the overall productivity of the product since it does not require any relearning.

 

Scroll to Top