Mehandi Designs

Start Mehandi Designs by ur Own and Njoy....

Rangoli

Here are few simple and beautifull rangoli designs ....

Cooking Recipes

Are you ready for your own cooking then here are few recipes...

Manual Testing Interview Questions and Answers for Freshers pdf & Experienced Candidates

1. What is TRM?

TRM means Test Responsibility Matrix.
TRM: — It indicates mapping between test factors and development stages…

Test factors like:
Ease of use, reliability, portability, authorization, access control, audit trail, ease of operates, maintainable… Like dat…
Development stages…
Requirement gathering, Analysis, design, coding, testing, and maintenance

Advanced Java Interview Questions and Answers for Freshers pdf & Experienced Candidates

1. What is a transient variable?
A transient variable is a variable that may not be serialized.

2. Which containers use a border Layout as their default layout?The Window, Frame and Dialog classes use a border layout as their default layout.

3. Why do threads block on I/O?
Threads block on I/O (that is enters the waiting state) so that other threads may execute while the I/O Operation is performed.

4. How are Observer and Observable used?
Objects that subclass the Observable class maintain a list of observers. When an Observable object is updated it invokes the update() method of each of its observers to notify the observers that it has changed state. The Observer interface is implemented by objects that observe Observable objects.

5. What is synchronization and why is it important?
With respect to multithreading, synchronization is the capability to control the access of multiple threads to shared resources. Without synchronization, it is possible for one thread to modify a shared object while another thread is in the process of using or updating that object's value. This often leads to significant errors.

6. Can a lock be acquired on a class?
Yes, a lock can be acquired on a class. This lock is acquired on the class's Class object..

7. What's new with the stop(), suspend() and resume() methods in JDK 1.2?
The stop(), suspend() and resume() methods have been deprecated in JDK 1.2.

8. Is null a keyword?
The null is not a keyword.

9. What is the preferred size of a component?
The preferred size of a component is the minimum component size that will allow the component to display normally.

10. What method is used to specify a container's layout?
The setLayout() method is used to specify a container's layout.

Core Java Interview Questions and Answers for Freshers pdf & Experienced Candidates


1. What is the most important feature of Java?
Java is a platform independent language.

2. What do you mean by platform independence?Platform independence means that we can write and compile the java code in one platform (eg Windows) and can execute the class in any other supported platform eg (Linux,Solaris,etc).

3. What is a JVM?
JVM is Java Virtual Machine which is a run time environment for the compiled java class files.

4. Are JVM's platform independent?
JVM's are not platform independent. JVM's are platform specific run time implementation provided by the vendor.

5. What is the difference between a JDK and a JVM?

JDK is Java Development Kit which is for development purpose and it includes execution environment also. But JVM is purely a run time environment and hence you will not be able to compile your source files using a JVM.

6. What is a pointer and does Java support pointers?
Pointer is a reference handle to a memory location. Improper handling of pointers leads to memory leaks and reliability issues hence Java doesn't support the usage of pointers.

7. What is the base class of all classes?
java.lang.Object

8. Does Java support multiple inheritance?
Java doesn't support multiple inheritance.

9. Is Java a pure object oriented language?
Java uses primitive data types and hence is not a pure object oriented language.

10. Are arrays primitive data types?
In Java, Arrays are objects.

Ajax Interview Questions and Answers for Freshers pdf & Experienced Candidates

What technologies are being used in AJAX?
AJAX uses four technologies, which are as follows:

    JavaScript
    XMLHttpRequest
    Document Object Model (DOM)
    Extensible HTML (XHTML) and Cascading Style Sheets (CSS) .


Why do we use the XMLHttpRequest object in AJAX?
The XMLHttpRequest object is used by JavaScript to transfer XML and other text data between client and server. The XMLHttpRequest object allows a client-side script to perform an HTTP request. AJAX applications use the XMLHttpRequest object so that the browser can communicate to the server without requiring a postback of the entire page. In earlier versions of Internet Explorer, MSXML ActiveX component is liable to provide this functionality; whereas, Internet Explorer 7 and other browsers, such as Mozilla Firefox, XMLHttpRequest is not liable to.


 Can Ajax be implemented in browsers that do not support the XmlHttpRequest object?
Yes.  This is possible using remote scripts.

Can AJAX technology work on web servers other than IIS?
Yes, AJAX is a technology independent of web server the web application is hosted on. Ajax is a client (browser) technology.

What are limitations of Ajax?
1) An Ajax Web Application tends to confused end users if the network bandwidth is slow, because there is no full postback running. However, this confusion may be eliminated by using an UpdateProgress control in tandem.
2) Distributed applications running Ajax will need a central mechanism for communicating with each other

Jquery Interview Questions and Answers for Freshers pdf & Experienced Candidates

1. What is jQuery?

jQuery is a lightweight JavaScript library that emphasizes interaction between JavaScript and HTML.

2.    what the use of $ symbol in Jquery?
   
$ Symbol is just replacement of jquery means at the place of $ you may use jquery hence $ symbol is used for indication that this line used for jquery

3. Why do we use jQuery?
Ans: Due to following advantages.

    Easy to use and learn.
    Easily expandable.
    Cross-browser support (IE 6.0+, FF 1.5+, Safari 2.0+, Opera 9.0+)
    Easy to use for DOM manipulation and traversal.
    Large pool of built in methods.
    AJAX Capabilities.
    Methods for changing or applying CSS, creating animations.
    Event detection and handling.
    Tons of plug-ins for all kind of needs.


4. How JavaScript and jQuery are different?
Ans: JavaScript is a language While jQuery is a library built in the JavaScript language that helps to use the JavaScript language.


5. Is jQuery replacement of Java Script?
Ans: No. jQuery is not a replacement of JavaScript. jQuery is a different library which is written on top of JavaScript. jQuery is a lightweight JavaScript library that emphasizes interaction between JavaScript and HTML.


6. Is jQuery a library for client scripting or server scripting?
Ans. Client side scripting.

7. Is jQuery a W3C standard?
Ans: No. jQuery is not a W3C standard.

Java Script Interview Questions and Answers for Freshers pdf & Experienced Candidates


 1) What is JavaScript?
Ans:JavaScript is a scripting language most often used for client-side web development.

2) What is the difference between JavaScript and Jscript?
Ans:Both JavaScript and Jscript are almost similar. JavaScript was developed by Netscape. Microsoft reverse engineered Javascript and called it JScript.


3) Is JavaScript case sensitive?
Ans:Yes!
A function getElementById is not the same as getElementbyID.


4) What are the types used in JavaScript?
Ans:String, Number, Boolean, Function, Object, Null, Undefined.

5) How do you submit a form using JavaScript?
Ans:Use document.forms[0].submit();