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

11. 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.

 

12. 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.

 

13. 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.

 

14. 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.

 

15. 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.

 

16. Which of the following can access the information directly in the Xray?

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

Answer: C

The Xray obtains its debugging information from a variety of sources and how it accesses these sources. The simulator can access direct information but the emulator can access the information via a serial line or the ethernet or directly across a shared memory interface.

 

17. Which of the following access the information through the ethernet in an Xray?

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

Answer: D

The Xray obtains its debugging information from a variety of sources. The emulator can access the information via a serial line or via the ethernet or directly across a shared memory interface and the simulator can access the direct information.

 

18. Which tools help the Xray allows the software to be developed on the host system?

A. compiler tool
B. simulator tool
C. debugger tool
D. emulator tool

Answer: A

The compiler tools allow the software to be developed on the host system and this system does not have to use the same processor as the target.

 

19. Which of the following is ideal for debugging codes at an early stage?

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

Answer: C

There are a variety of ways for executing the codes. The simulator provides an ideal way for debugging the codes at an early stage, that is before the hardware is available and it can allow the software to proceed in parallel with the hardware.

 

20. How can we extend the power of Xray?

A. Xray interface
B. Xray memory
C. Xray input
D. Xray peripheral

Answer: A

The power of the Xray product can be extended by the Xray interface method from the operating system debugger.

Scroll to Top