View Count: 0
Duration: 58 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 46 mins
Accessed date:
Not Yet Viewed
Post your comment / feedback here
 
 

Be the first one to comment about this video

Question No: 1 of 19
What is the purpose of the assert() method? 
Options:
  1. The program proceeds without any interruption if the assert() is true.
  2. The program proceeds without any interruption if the assert() is false
  3. The program gives the interruption if the assert() is true.
  4. None of these.
View Answer/Explanation:
a
Explanation:
Debug.Assert() is a method used in debugging and watching an expression for failure conditions. The method takes a boolean value than can be provided as an expression.

Question No: 2 of 19
How many tracing levels are there in System.Diagnostics.TraceSwitch? 
Options:
  1. 6
  2. 7
  3. 5
  4. 8
View Answer/Explanation:
c
Explanation:
TraceLevel is an enumerated type that has 5 values. These values are assigned to the TraceSwitch instance’s Level property. The 5 levels in Trace Switch are: i. Off ii. Error iii. Warning iv. Info v. Verbose

Question No: 3 of 19
How do you debug an ASP.NET Web application? 
Options:
  1. CorDBG
  2. DbgCLR
  3. None these
View Answer/Explanation:
c
Explanation:
Set the following in web.config file: or set Debug directive to “true” in page directive Place the breakpoint and hit F5 key. In addition to this, one can attach to the running application by using Debug -> Attach To Process and select the ASP.NET Web Development Server. This will load the debug symbols and debug the application.

Question No: 4 of 19
What is the function of a  Quick Watch Window? 
Options:
  1. we can add the variable or expression to watch window
  2. It shows red if an variable or expression is modified in the immediate last statement executed
  3. To view the lists all the local variables of the current function in execution
  4. can view lists of all variables used in the current context of execution
  5. Can view the data type of variable or expression
  6. Can change the value of variable but not expression
View Answer/Explanation:
a e f
Explanation:
Quick watch window is one of type of debugging window that displays complete information of a variable or an expression.The value of non-constant variable can also be changed.

Question No: 5 of 19
Function of Debugging window: AUTO 
Options:
  1. we can add the variable or expression to watch window
  2. It shows red if an variable or expression is modified in the immediate last statement executed
  3. To view the lists all the local variables of the current function in execution
  4. We can view lists of all variables used in the current context of execution
  5. Can view the data type of variable or expression
  6. Can change the value of variable but not expression
View Answer/Explanation:
d e f
Explanation:
.

Question No: 6 of 19
Function of Debugging window : LOCALS 
Options:
  1. we can add the variable or expression to watch window
  2. It shows red if an variable or expression is modified in the immediate last statement executed
  3. To view the lists all the local variables of the current function in execution
  4. can view lists of all variables used in the current context of execution
  5. Can view the data type of variable or expression
  6. Can change the value of variable but not expression
View Answer/Explanation:
c e f
Explanation:
.

Question No: 7 of 19
The debugging window we use to execute some statements in break point mode 
Options:
  1. Watch
  2. Auto
  3. Locals
  4. Immediate
View Answer/Explanation:
d
Explanation:
Immediate window is one of type of debugging window, the following are the functions: • To execute some statement in break point mode. • To view the value of variable using “?” Ex:?n.

Question No: 8 of 19
The debugging window we use for reverse tracing of functions executed 
Options:
  1. Immediate
  2. Modules
  3. Threads
  4. Call Stack
View Answer/Explanation:
d
Explanation:
Call stack window is one of type of debugging window, the following are the functions: • Useful for reverse tracing of function executed. • Can see parameter values also.

Question No: 9 of 19
What is the method to check debug information? 
Options:
  1. Assert
  2. Flush and Fail
  3. Write and WriteLine
  4. Indent and Unindent
View Answer/Explanation:
c
Explanation:
The Write method provides information from debug the Listeners. Listeners can then process and give a formatted output from the debug.

Question No: 10 of 19
Methods in Debug and trace class ___________ 
Options:
  1. Write and WriteLine
  2. Assert, Flush and Fail
  3. Indent and Unindent
  4. All the Above
View Answer/Explanation:

Explanation:
The methods in Debug and Trace provide a mechanism to debug the application and trace the errors and messages from the debugger. Write, WriteLine, WriteIf, and WriteLineIf.Flush method is used to flushes the output buffer and causes buffered data to write to the Listeners collection.Indent method is used to increase the current indent level by one.

  1