Interview Questions

Q:

What is recovery/error testing?

Answer

Recovery/error testing is testing how well a system recovers from crashes, hardware failures, or other catastrophic problems.

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

0 1932
Q:

How to insert Javascript in HTML?

Answer

We can insert JavaScript in HTML using <Script tag>. JavaScript can be enclosed in <script type = text/javascript> and ending with </script>.


Example: 


<html> 


  <body> 


        <script type="text/javascript"> 


               ...JavaScript….


         </script> 


   </body> 


</html>

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1932
Q:

What is the purpose of the wait(), notify(), and notifyAll() methods ?

Answer

The wait(), notify(), and notifyAll() methods are used to provide an efficient way for threads to wait for a shared resource. When a thread executes an object's wait() method, it enters the waiting state. It only enters the ready state after another thread invokes the object's notify() or notifyAll() methods..

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1929
Q:

What are the various elements of OOPS?

Answer

Various elements of OOP are:


• Object


• Class


• Method


• Encapsulation


• Information Hiding


• Inheritance


• Polymorphism

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1929
Q:

What is difference between HTML and HTML5?

Answer

The differences between HTML and HTML5 are:


- Document of HTML is very large as compare to the HTML5.


- Audio and Video tags are not present in HTML whereas HTML5 contains audio and video tags.


- Vector technology is not integral part of HTML whereas HTML5 Vector technology is the integral part of it.


- HTML supported by all old browsers whereas HTML5 is supported by new browser.


- In HTML web sockets are not available whereas in HTML5 Full duplex communication channel is present.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1928
Q:

What is local class?

Answer

Local class is class defined inside method


EX;


class A { // top level class


  public static void main(string[] args) {


   class B { // local class


   }


}


}

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1927
Q:

How to Estimate Testing effort ?

Answer

Time Estimation method for Testing Process:


 


Step 1 : count number of use cases (NUC) of system 


Step 2 : Set Avg. Time Test Cases(ATTC) as per test plan 


Step 3 : Estimate total number of test cases (NTC) 


Total number of test cases = Number of Use Cases X Avg. Test Cases per a use case 


Step 4 : Set Avg. Execution Time (AET) per a test case 


Step 5 : Calculate Total Execution Time (TET) 


TET = Total number of test cases * AET 


Step 6 : Calculate Test Case Creation Time (TCCT)


usually we will take 1.5 times of TET as TCCT


TCCT = 1.5 * TET


Step 7 : Time for Re-Test Case Execution (RTCE) this is for retesting


usually we take 0.5 times of TET


RTCE = 0.5 * TET


Step 8 : Set Report generation Time (RGT


usually we take 0.2 times of TET


RGT = 0.2 * TET


Step 9 : Set Test Environment Setup Time (TEST)


it also depends on test plan


Step 10 : Total Estimation time = TET + TCCT+ RTCE + RGT + TEST + some buffer.


 

Report Error

View answer Workspace Report Error Discuss

Subject: QA Testing

0 1926
Q:

How to check that the file object is pointing a file on HD?

Answer

boolean isFile();

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1925