Engineering Questions with Answers - Multiple Choice Questions
Home » MCQs » Engineering MCQs » MCQs on Emulation and Debugging Techniques
MCQs on Emulation and Debugging Techniques
1 - Question
MCQs on Debugging Techniques
Which allows the parallel development of the hardware and software in the simulation?
a) high-level language simulation
b) low-level language simulation
c) cpu simulator
d) onboard simulator
View Answer
Explanation: The high-level language simulation allows parallel development of the software and the hardware and when two parts are integrated, that will work. It can simulate I/O using the keyboard as the inputs or task which passes input data for other modules.
2 - Question
Which of the following are used to test the software?
a) data entity
b) data entry
c) data table
d) data book
View Answer
Explanation: In the high-level language simulation, many techniques are used to simulate the system and one such is the data table which contains the data sequences which are used to test the software.
3 - Question
Which allows the UNIX software to be ported using a simple recompilation?
a) pSOS+
b) UNIX compatible library
c) pSOS+m
d) pOS+kernel
View Answer
Explanation: The most of the operating system support or provide the UNIX-compatible library which supports the UNIX software to be ported using a simple recompilation. advertisement
4 - Question
Which of the following can simulate the processor, memory, and peripherals?
a) input simulator
b) peripheral simulator
c) memory simulator
d) cpu simulator
View Answer
Explanation: The CPU simulator can simulate the memory, processor, and the peripherals and allow the low-level assembler code and the small HLL programs to be tested without the actual hardware.
5 - Question
How many categories are there for the low-level simulation?
a) 2
b) 3
c) 4
d) 5
View Answer
Explanation: There are two categories for the low-level simulation. The first category simulates the memory system, programming model and can offer simple debugging tools whereas the second category simulation provides timing information based on the number of clocks.
6 - Question
Which of the following can simulate the LCD controllers and parallel ports?
a) memory simulator
b) sds
c) input simulator
d) output tools
View Answer
Explanation: There are certain tools which provide powerful tools for simulation and one such is the SDS which can simulate the processor, memory systems, integrated processor, onboard peripherals such as LCD controllers and parallel ports.
7 - Question
Which of the following provides a low-level method of debugging software?
a) high-level simulator
b) low-level simulator
c) onboard debugger
d) cpu simulator
View Answer
Explanation: The onboard debugger provides a very low-level method of simulating or debugging the software. It usually handles EPROMs which are plugged into the board or a set of application codes by providing a serial connection to communicate with the PC or workstation.
8 - Question
Which of the following has the ability to download code using a serial port?
a) cpu simulator
b) high-level language simulator
c) onboard debugger
d) low-level language simulator
View Answer
Explanation: The onboard debugger has the ability to download code from a floppy disk or by using a serial port.
9 - Question
What does the processor fetch from the EPROM if the board is powered?
a) reset vector
b) ready vector
c) start vector
d) acknowledge vector
View Answer
Explanation: The processor fetches its reset vector from the table which is stored in the EPROM when the board is powered and then starts the initialize the board.
10 - Question
Which of the following device can transfer the vector table from the EPROM?
a) ROM
b) RAM
c) CPU
d) peripheral
View Answer
Explanation: When the board gets powered up, the reset vector from the table stored in the EPROM makes the initialisation of the board and is transferred to the RAM from the EPROM through the hardware where the EPROM memory address is temporarily altered.
11 - Question
Which of the following is used to determine the number of memory access in an onboard debugger?
a) timer
b) counter
c) input
d) memory
View Answer
Explanation: The counter is used to determine a preset number of memory accesses, which is assumed that the table has been transferred by the debugger and the EPROM address can be safely be changed.
12 - Question
Which of the following has the ability to use the high-level language functions, instructions instead of the normal address?
a) task level debugging
b) low level debugging
c) onboard debugging
d) symbolic debugging
View Answer
Explanation: The symbolic debugging has the ability to use high-level language functions, instructions and the variables instead of the normal addresses and their contents.
13 - Question
Which of the following debugger works at the operating system level?
a) task level debugging
b) low level debugging
c) onboard debugging
d) symbolic debugging
View Answer
Explanation: The task level debugging has the ability to works at the operating level or at the particular tasks whereas the low-level debugger cannot set for particular task functions or operations, it can only set a breakpoint at the start of the routine which sends a message.
14 - Question
MCQs on Debugging Technique:Xray
Which of the following has a single set of compiler and the debugger tools?
a) Xray
b) onboard debugger
c) emulation
d) high-level simulator
View Answer
Explanation: The Xray debugging technique is a product from the Microtec which is having a complete set of compiler and debugger tools which will work with the simulator, debugger, emulator and the onboard debugger.
15 - Question
Who developed the Xray product?
a) IBM
b) Intel
c) Microtec
d) Motorola
View Answer
Explanation: The Xray which is a product from the Microtec is having a complete set of compiler and debugger tools.
16 - Question
Which part of the Xray can interface with a simulator?
a) emulator
b) debugger
c) simulator
d) onboard debugger
View Answer
Explanation: The Xray consists of the consistent debugger which can interface the emulator, simulator, task level debugger or onboard debugger. advertisement
17 - Question
Which can provide the consistent interface to the Xray?
a) emulator
b) simulator
c) memory simulator
d) debugger system
View Answer
Explanation: The Xray consists of the debugger which interfaces with the emulator, simulator, onboard debugger that provides the consistent interface to the Xray product. This can improve the overall productivity of the product since it does not require any relearning.
18 - Question
Which of the following can access the information directly in the Xray?
a) emulator
b) debugger
c) simulator
d) hardware
View Answer
Explanation: The Xray obtain its debugging information from a variety of sources and how it access these sources. The simulator can access direct information but the emulator can access the information via a serial line or via the ethernet or directly across a shared memory interface.
19 - Question
Which of the following access the information through the ethernet in a Xray?
a) simulator
b) debugger
c) onboard debugger
d) emulator
View Answer
Explanation: The Xray obtain 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.
20 - Question
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
View Answer
Explanation: 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.
21 - Question
Which of the following is ideal for debugging codes at an early stage?
a) compiler
b) debugger
c) simulator
d) emulator
View Answer
Explanation: 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.
22 - Question
How can we extend the power of Xray?
a) Xray interface
b) Xray memory
c) Xray input
d) Xray peripheral
View Answer
Explanation: The power of the Xray product can be extended by the Xray interface method from the operating system debugger.
23 - Question
Which of the following uses the Xray interface method to provide the debugging interface?
a) pSOS+m
b) pSOS
c) pSOS+
d) NAP
View Answer
Explanation: The pSOS+ uses the Xray interface method to provide the debugging interfaces which can extend the power of the Xray.
24 - Question
How is the processor enter into a BDM state?
a) BDM signal
b) Start signal
c) BDM acknowledge signal
d) Start signal of the processor
View Answer
Explanation: The assertion of the BDM signal or by executing the special BDM instruction, the processor enter into the BDM state and when the processor enters into the BDM mode, low-level microcode takes the processor which allows the breakpoint to be set, registers to be accessed and so on.
25 - Question
MCQs on Emulation Techniques
What does ICE stand for?
a) in-circuit emulation
b) in-code EPROM
c) in-circuit EPOM
d) in-code emulation
View Answer
Explanation: The ICE or in-circuit emulation is one the traditional method used to emulate the processor in the embedded system so that the software can be downloaded and can be debugged in situ in the end application.
26 - Question
Which of the following is a traditional method for emulating the processor?
a) SDS
b) ICE
c) CPU simulator
d) Low-level language simulator
View Answer
Explanation: The SDS is one of the simulation tool used in the embedded systems. CPU simulator and the low-level simulator are the other kinds of the simulator used in the embedded system design.
27 - Question
Which of the following does not have the ability to get hundred individual signal cables into the probe in the emulation technique?
a) OnCE
b) BDM
c) ICE
d) JTAG
View Answer
Explanation: The in-circuit emulation does not have the ability to get a hundred individual signal cables into the probe. This problem comes under the physical limitation of the probe, that is as the density of the processor increases the available sockets which provide good electrical contacts is becoming harder which causes a restriction to the probe. advertisement
28 - Question
What does JTAG stand for?
a) joint tag address group
b) joint test address group
c) joint test access group
d) joint test action group
View Answer
Explanation: The JTAG is a joint test action group which is an electronics industry association which developed the interfacing port that is standardised for testing the devices.
29 - Question
Which of the following allows access to all the hardware within the system?
a) debugger
b) JTAG
c) onboard debugger
d) simulator
View Answer
Explanation: The JTAG can access all the hardware within the system. They provide a way of taking over the pins of a device and allows the different bit patterns to be imposed on the pins which allow other circuits to be tested with the imposed pins.
30 - Question
Which of the following works by using a serial port?
a) Simulator
b) JTAG
c) BDM
d) OnCE
View Answer
Explanation: The JTAG works by using a serial port and clocking data into a shift register and the output of the shift register drives the pins under the control of the port.
31 - Question
What is meant by OnCE?
a) on-chip emulation
b) off-chip emulation
c) one-chip emulation
d) once-chip emulation
View Answer
Explanation: The OnCE is an on-chip emulation which is a debugging facility used in the digital signal processor chips.
32 - Question
Which debugging facility is used in the Motorola’s DSP 56x0x family?
a) JTAG
b) ICE
c) OnCE
d) BDM
View Answer
Explanation: The on-chip emulation provides a debugging facility in the DSP chips. The OnCE is developed for Motorola’s DSP 56x0x family.
33 - Question
Which facility provides the provision of the debug ports in the ICE technique?
a) simulator
b) emulator
c) debug support
d) jtag
View Answer
Explanation: The debugging support to the processor enables the processor to be a single stepped and breakpoint under remote control from a host or the workstation. This facility can provide the provision of the debug ports.
34 - Question
How the additional registers are accessed in the OnCE?
a) parallel port
b) serial port
c) jtag
d) address register
View Answer
Explanation: The on-chip emulation can access additional registers by using a special serial port within the device that provides control over the processor and access to its internal registers.
35 - Question
Which of the following emulators can provide its own in circuit emulation facility?
a) Simulator
b) Debugger
c) SDS
d) OnCE
View Answer
Explanation: Every system can provide its own in circuit emulation facilities by hooking the port to an interface port in a workstation or in the PC while connecting the OnCE port to an external connector.
36 - Question
What does BDM stand for?
a) background debug mode
b) basic debug mode
c) basic debug microcode
d) background decode mode
View Answer
Explanation: The BDM or background debug mode is similar to the on-chip emulator with a slight difference. BDM is provided on the Motorola MC683xx series of processors and for the 8-bit microcontroller like MC68HC12 etc.
37 - Question
Which emulator is used in MC68HC12?
a) JTAG
b) BDM
c) On-CE
d) SDS
View Answer
Explanation: The BDM or the background debug mode is provided on the Motorola MC683xx series of processors and for several 8-bit microcontrollers. One such microcontroller is the MC68HC12.
38 - Question
Which of the following takes the processor, when the processor enters the BDM mode?
a) address code
b) high-level microcode
c) low-level microcode
d) data code
View Answer
Explanation: When the processor enters into the BDM mode, low-level microcode takes the processor which allows the breakpoint to be set, registers to be accessed and so on.
39 - Question
Which of the following has the additional circuitry which supports the background debug mode?
a) memory
b) input
c) peripheral
d) processor
View Answer
Explanation: The processor has the additional circuitry which can provide special support for the background debug mode and is under the control of the remote system connected to its BDM port.