Searching for "debug"

Q:

Debugging is the process of

A) Rolling out a software program B) Modifying a software program
C) Checking errors in a software program D) Changing the design structure of a program
 
Answer & Explanation Answer: C) Checking errors in a software program

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Computer
Exam Prep: Bank Exams

Q:

You telnet into a remote device and type debug ip rip, but no output from the debug command is seen. What could the problem be?

A) You must type the show ip rip command first B) IP addressing on the network is incorrect
C) You must use the terminal monitor command D) Debug output is sent only to the console.
 
Answer & Explanation Answer: C) You must use the terminal monitor command

Explanation:

To see console messages through your Telnet session, you must enter the terminal monitor command.

Report Error

View Answer Report Error Discuss

Filed Under: CCNA

Q:

Explain how to debug PL/SQL program.

Answer

One can debug PL/SQL program by printing the output using DBMS_OUTPUT package. Put_line can be used to display a line as shown below:


BEGIN


        dbms_output.put_line(‘Sample line');


END;

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

Q:

How can you generate debugging output from PL/SQL?

Answer

Use the DBMS_OUTPUT package. Another possible method is to use the SHOW ERROR command.

Report Error

View answer Workspace Report Error Discuss

Subject: SQL

Q:

You responsible for maintaining an application that was written by a former colleague at XYZ.

 

The application reads from and writes to log files located on the local network. The original author included the following debugging code to facilitate maintenance:

try {
Debug.WriteLine(“Inside Try”);
throw(new IOException());}
catch (IOException e) {
Debug.WriteLine (“IOException Caught”);}
catch (Exception e) {
Debug.WriteLine(“Exception Caught”);}.
finally {
Debug.WriteLine (“Inside Finally”);}
Debug.WriteLine (“After End Try”);

 

Which output is produced by thus code?

A) Inside Try Exception Caught IOException Caught Inside Finally After End Try B) Inside Try Exception Caught Inside Finally After End Try
C) Inside Try IOException Caught Inside Finally After End Try D) Inside Try IOException Caught Inside Finally
 
Answer & Explanation Answer: C) Inside Try IOException Caught Inside Finally After End Try

Explanation:

First the try code runs. Then one single exception, the IOException occurs, not two exceptions.Then the Finally code segments executes. After Finally code bas been executed normal application resumes at the next line after the line that called the error. In this case, the After End Try code runs.

Report Error

View Answer Report Error Discuss

Q:

Differentiate between a.) Testing and Debugging b.) Two tier and Three tier architecture c.) Alpha testing and Beta testing d.) Static testing and dynamic testing

Answer

a.) Testing and Debugging 


Testing is process of verifying if the application matches requirements and reporting bugs; Testing is usually done by an independent testing team while debugging is a process of finding and fixing bugs with the intention of reducing bugs; Debugging is usually done by the programmer.


 


b.) Two tier and Three tier architecture


In a two tier architecture there is a data server and a client application. Client application directly accesses the server data. In a three tier architecture there is a data server, a client application and a server application. Client application calls the server application which in turn fetches data from the data server and returns back to client application.


 


c.) Alpha testing and Beta testing


Alpha testing is conducting acceptance testing in the environment where the application was developed. It is done by the customer. Beta testing is conducting acceptance testing is the customer environment. It is done by the group of customers or users who will actually be using it.


 


d.) Static testing and dynamic testing


Static testing is checking the application without actually running the application whereas dynamic testing checks the application by running it.

Report Error

View answer Workspace Report Error Discuss

Subject: Software Testing

Q:

Which of the following are the debugging windows in .NET?

A) Breakpoints B) Output
C) Immediate D) All the above
 
Answer & Explanation Answer: D) All the above

Explanation:

All the above listed are debugging windows in .NET

Report Error

View Answer Report Error Discuss

Filed Under: .NET