DAPZOI
Home Topics Quiz Login


Debugging MCQ Questions & Answers

Debugging MCQs : This section focuses on the "Debugging". These Multiple Choice Questions (MCQs) should be practiced to improve the Debugging skills required for various interviews (campus interview, walk-in interview, company interview), placement, entrance exam and other competitive examinations.




Question 1

Can we save a MATLAB program while in debugging mode?

A. TRUE
B. FALSE

View Answer

Question 2

The dbcont command, if placed in an m.file, will __________

A. not allow the function to be saved
B. give error when we enter dbcont in debug mode
C. will give an error during function call
D. dbcont does not exist

View Answer

Question 3

The dbquit command, if placed in an m.file, will __________

A. never run the debugging mode
B. exit from the debugging mode
C. result in an error while running the function
D. dbquit does not exist

View Answer

Question 4

The dbstop command, for anonymous functions __________

A. Pauses, for debugging, after the line which dbstop indicates
B. Pauses, for debugging, before the line which dbstop indicates
C. exits from the debugging mode after the line which dbstop indicates
D. exits from the debugging mode before the line which dbstop indicates

View Answer

Question 5

The dbstop command, for functions stored in the system memory, with a line mentioned will __________

A. pause the evaluation of the function before the mentioned line
B. exit the evaluation of the function before the mentioned line
C. pause the evaluation of the function during the mentioned line
D. pause the evaluation of the function after the mentioned line

View Answer

Question 6

The debug commands can be run in

A. functions
B. live scripts
C. command window
D. nowhere

View Answer

Question 7

The return command is similar to the dbcont command.

A. TRUE
B. FALSE

View Answer

Question 8

To end the debugging mode, we use the __________

A. dbquit
B. dbend
C. debugend
D. No such function

View Answer

Question 9

To enter a value and change the course of working of a function while it is working, we use the __________

A. dbstop
B. db
C. keyboard
D. enter

View Answer

Question 10

What is dbstop command?

A. exits from the debugging mode
B. pauses for the debugging mode when a condition is reached only
C. exits the debugging mode at any point in the function
D. does not exist

View Answer

Question 11

Which of the following command would allow us to continue the evaluation of a function in the debugging mode?

A. dbcont
B. dbcontinue
C. continue
D. debugcont

View Answer