InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Why Internet Protocol Is Called As Unreliable Protocol? |
|
Answer» IP is known as an unreliable protocol because it does not have the PROVISION of retransmitting the LOST packets or DETECT the corrupted DATA. IP is known as an unreliable protocol because it does not have the provision of retransmitting the lost packets or detect the corrupted data. |
|
| 2. |
Why Internet Protocol Is Called As Connectionless Protocol? |
|
Answer» INTERNET PROTOCOL(IP) is CALLED connectionless protocol because it does not exchange any control INFORMATION before transmitting any data.The data is just sent to the destination with a hope that it will reach at appropriate PLACE. Internet protocol(IP) is called connectionless protocol because it does not exchange any control information before transmitting any data.The data is just sent to the destination with a hope that it will reach at appropriate place. |
|
| 3. |
What Is The Use Of Javax .servlet Pakage? |
|
Answer» This PACKAGE is used to IMPLEMENT the servlet.The most IMPORTANT interface in this package is Servlet.All the servlet must implement this interface. This package is used to implement the servlet.The most important interface in this package is Servlet.All the servlet must implement this interface. |
|
| 4. |
What Are The Two Packages Used To Implement The Servlet? |
Answer»
|
|
| 5. |
What Is The Function Of Destroy() Method In Servlet? |
|
Answer» FINALLY SERVER UNLOADS the servlet from the memory using the destroy() METHOD. Finally server unloads the servlet from the memory using the destroy() method. |
|
| 6. |
What Is The Function Of Service() Method In Servlet? |
|
Answer» SERVER can INVOKE the service for particular HTTP request using service()METHOD.The servlets can thenread the DATA provided by the HTTP request with the HELP of service() method. Server can invoke the service for particular HTTP request using service()method.The servlets can thenread the data provided by the HTTP request with the help of service() method. |
|
| 7. |
What Is The Use Of Init() Method In Servlet Life Cycle? |
Answer»
|
|
| 8. |
Write The Syntax For Various Objects Used In Sgc ? |
| Answer» | |
| 9. |
What Is The Use Of Data Binding? |
|
Answer» With data binding, data NEED no longer reside exclusively on the server.Data can be MAINTAINED on the client in a manner that distinguishes it from the XHTML CODE on the page. Once the data is available on the client,the web application designer can PROVIDE various functionality,ESPECIALLY the ability to sort and filter the data in various ways. With data binding, data need no longer reside exclusively on the server.Data can be maintained on the client in a manner that distinguishes it from the XHTML code on the page. Once the data is available on the client,the web application designer can provide various functionality,especially the ability to sort and filter the data in various ways. |
|
| 10. |
Write The Methods Available In String Object ? |
Answer»
|
|
| 11. |
What Is The Use Of Array Object In Javascript? |
|
Answer» An array in Javascript is an Arrayobject Operator new is USED to DYNAMICALLY allocate the number of elements required by an array.Operator new creates an object as the PROGRAM executes,by OBTAINING enough memory to store an object of the type specified to the RIGHT of new. An array in Javascript is an Arrayobject Operator new is used to dynamically allocate the number of elements required by an array.Operator new creates an object as the program executes,by obtaining enough memory to store an object of the type specified to the right of new. |
|
| 12. |
What Are The Methods Available In Date Object? |
Answer»
|
|
| 13. |
Write The Methods Available In Window Object ? |
| Answer» | |
| 14. |
Write The Name Of Objects Available In Javascript ? |
| Answer» | |
| 15. |
What Are Three Forms Of Control Statements Available In Javascript? |
|
Answer»
If statement
While statement If statement While statement |
|
| 16. |
What Is The Disadvantage Of Indirectly Embedding Of Javascript? |
|
Answer» If SMALL amount of Javascript code has to be embedded in XHTML document then making a separate Javascript file is meaning less If the Javascript code has to be embedded at SEVERAL places in XHTML document then it is complicated to make separate Javascript file and each time invoking the code for it from the XHTML documents. Listout the Global functions in Javascript TYPE:
If small amount of Javascript code has to be embedded in XHTML document then making a separate Javascript file is meaning less If the Javascript code has to be embedded at several places in XHTML document then it is complicated to make separate Javascript file and each time invoking the code for it from the XHTML documents. Listout the Global functions in Javascript type: |
|
| 17. |
What Is The Advantage Of Indirectly Embedding Of Javascript? |
Answer»
|
|
| 18. |
What Is The Need Of Client-side Scripting? |
|
Answer» Following are the issues that get handled using client side SCRIPTING:
Following are the issues that get handled using client side scripting: |
|
| 19. |
What Are The Two Functions Used For Displaying The Text Using Activex Control? |
| Answer» | |
| 20. |
What Is Use Of Datasrc And Datafld Attributes? |
|
Answer» The DATASRC attribute refers to the id of the TDC object,and the datafld attribute specifies the name of the field to which it is bound. List out the DIFFERENT Multimedia-ActiveX objects:
The datasrc attribute refers to the id of the TDC object,and the datafld attribute specifies the name of the field to which it is bound. List out the different Multimedia-ActiveX objects: |
|
| 21. |
What Is The Use Of Param Tag? |
|
Answer» The PARAM TAG SPECIFIES parameters for the object in the object tag.The name attribute is the parameter name and the value attribute is the value.The DataURL parameter is the URL of the data source .The USE Header parameter specifies that the first line of the data FILE is to have a header row when set to true.The TextQualifier parameter sets the text qualifier of the data.The FieldDelim parameter sets the field delimiter of the data. The param tag specifies parameters for the object in the object tag.The name attribute is the parameter name and the value attribute is the value.The DataURL parameter is the URL of the data source .The Use Header parameter specifies that the first line of the data file is to have a header row when set to true.The TextQualifier parameter sets the text qualifier of the data.The FieldDelim parameter sets the field delimiter of the data. |
|
| 22. |
What Is The Use Of Object Tag? |
|
Answer» An OBJECT TAG INSERTS an ActiveX Tabular Data CONTROL .The classid attribute specifies the ActiveX control identifier. An object tag inserts an ActiveX Tabular Data control .The classid attribute specifies the ActiveX control identifier. |
|
| 23. |
What Is Tdc? |
Answer»
|
|
| 24. |
What Is The Use Of Data Binding ? |
Answer»
|
|
| 25. |
What Is The Use Of Shadow And Glow Filter And Alpha Filters? |
|
Answer» SHADOW FILTER:-A simple filter that adds depth to your text is the shadow filter.This filter CREATES a shadowing effect that gives your text a three –dimensional appearance. Glow filter:- The glow filter adds an aura of color around text.The color and strength can both be specified in glow filter. Alpha filter:-The alpha filter is ALSO used for transparency effects not ACHIEVABLE with the chroma filter. Shadow filter:-A simple filter that adds depth to your text is the shadow filter.This filter creates a shadowing effect that gives your text a three –dimensional appearance. Glow filter:- The glow filter adds an aura of color around text.The color and strength can both be specified in glow filter. Alpha filter:-The alpha filter is also used for transparency effects not achievable with the chroma filter. |
|
| 26. |
What Is The Use Of Chroma Filter? |
|
Answer» The chroma filter APPLIES TRANSPARENCY effects DYNAMICALLY, without using a graphics editor to hard-code transparency into the image. The chroma filter applies transparency effects dynamically, without using a graphics editor to hard-code transparency into the image. |
|
| 27. |
What Is The Use Of Flipv And Fliph Flip Filters? |
|
Answer» The FLIPV and fliph FILTERS mirror text or IMAGES VERTICALLY and horizontally. Fliph:- Which flips the affected OBJECT horizontally. Flipv:- Which flips the affected object vertically. The flipv and fliph filters mirror text or images vertically and horizontally. Fliph:- Which flips the affected object horizontally. Flipv:- Which flips the affected object vertically. |
|
| 28. |
Where We Can Apply Filters And Transitions Property? |
|
Answer» Filters and Transitions can be applied to all block-level elements such as DIV or p.They can be applied to an inline-level element such as strong or em, HOWEVER ,only if the element has its height or width CSS property SET. Filters and Transitions can be applied to all block-level elements such as div or p.They can be applied to an inline-level element such as strong or em, however ,only if the element has its height or width CSS property set. |
|
| 29. |
What Is The Difference Between Filters And Transitions ? |
|
Answer» Filters and Transitions are specified with the CSS FILTER PROPERTY. Filters and Transitions do not ADD content to your pages-rather, they present existing content in an engaging manner to cpture the user’s attention. Filters:-Applying filters to text and images CAUSES changes that are persistent. Transitions:-Applying a transition allow to transfer from one page to another with a PLEASANT visual effect, such as a random dissolve. Filters and Transitions are specified with the CSS filter property. Filters and Transitions do not add content to your pages-rather, they present existing content in an engaging manner to cpture the user’s attention. Filters:-Applying filters to text and images causes changes that are persistent. Transitions:-Applying a transition allow to transfer from one page to another with a pleasant visual effect, such as a random dissolve. |
|
| 30. |
What Are The Three Parameters Passed By Onerror Event? |
|
Answer» The ERROR HANDLERS can accept three parameters from the on error event.The ONERROR event passes the type of error that occurred, the URL of the file that had the error and the line number on which the error occurred. The Error handlers can accept three parameters from the on error event.The onerror event passes the type of error that occurred, the URL of the file that had the error and the line number on which the error occurred. |
|
| 31. |
What Is The Use Of On Error Event In Dhtml? |
|
Answer» The on ERROR EVENT is USED to write error handling code.The SYNTAX window.onerror=functionName SPECIFIES that functionName runs if the onerror is triggered in the window object. Error handlers can accept three parameters from the onerror event. The on error event is used to write error handling code.The syntax window.onerror=functionName specifies that functionName runs if the onerror is triggered in the window object. Error handlers can accept three parameters from the onerror event. |
|
| 32. |
What Is The Use Of Offsetx And Offsety Properties Of An Event Object? |
|
Answer» The EVENT object contains INFORMATION about the triggered event.The offsetX and offsetY PROPERTIES of an event object give the location of the mouse cursor RELATIVE to the top-left corner of the object on which the event was triggered. The event object contains information about the triggered event.The offsetX and offsetY properties of an event object give the location of the mouse cursor relative to the top-left corner of the object on which the event was triggered. |
|
| 33. |
What Is The Use Of Navigator Object? |
|
Answer» The navigator OBJECT contains information about the WEB browser that is VIEWING the page. This allows Web AUTHORS to determine which browser the user has.The navigator.appName property contains the NAME of the application. Ex for IE,this property is “Microsoft Internet Explorer” for Netscape, it is “Netscape”. The navigator object contains information about the web browser that is viewing the page. This allows Web authors to determine which browser the user has.The navigator.appName property contains the name of the application. Ex for IE,this property is “Microsoft Internet Explorer” for Netscape, it is “Netscape”. |
|
| 34. |
What Is Dynamic Positioning? |
|
Answer» In Dynamic POSITIONING ,XHTML elements can be positioned with scripting.This is done by declaring an element’s CSS POSITION property to be either absolute or relative and then moving the element by manipulating any of the top,right or BOTTOM CSS properties. In Dynamic positioning ,XHTML elements can be positioned with scripting.This is done by declaring an element’s CSS position property to be either absolute or relative and then moving the element by manipulating any of the top,right or bottom CSS properties. |
|
| 35. |
What Is The Use Of Tagname And Classname Property In Dhtml? |
|
Answer» The TAGNAME property contains the name of the TAGS we encounter while looping through the document , to PLACE them in the string element. The className property of an element is USED to change the element’s style CLASS. The tagName property contains the name of the tags we encounter while looping through the document , to place them in the string element. The className property of an element is used to change the element’s style class. |
|
| 36. |
What Is Dynamic Content? |
|
Answer» Changing the TEXT DISPLAYED on screen is a DYNAMIC HTML ability called dynamic CONTENT. Changing the text displayed on screen is a Dynamic HTML ability called dynamic content. |
|
| 37. |
What Is The Difference Between Innertext And Innerhtml Property? |
|
Answer» INNERTEXT:- The innerText property of the object REFERS to the text contained in the ELEMENT. innerHTML:-The innerHTML property is similar to innerText,but it can include XHTML FORMATTING. innerText:- The innerText property of the object refers to the text contained in the element. innerHTML:-The innerHTML property is similar to innerText,but it can include XHTML formatting. |
|
| 38. |
Define Collections In Dhtml? |
|
Answer» Collections are basically arrays of related objects on a PAGE .There are several special collections in the object model. EX: all and CHILDREN collection. Collections are basically arrays of related objects on a page .There are several special collections in the object model. Ex: all and children collection. |
|
| 39. |
How To Refer An Element In Dhtml? |
|
Answer» The SIMPLEST way to reference an element is by ID attribute.The element is replaced as an object and its various XHTML attributes BECOME properties that can be manipulated by SCRIPTING. Ex: <p id=”ptext”> In script:<script type=”text/javascript” for=”ptext”> The simplest way to reference an element is by id attribute.The element is replaced as an object and its various XHTML attributes become properties that can be manipulated by scripting. Ex: <p id=”ptext”> In script:<script type=”text/javascript” for=”ptext”> |
|
| 40. |
Define Object Model In Dhtml ? |
|
Answer» The Dynamic HTML Object Model gives Web authors great control over the presentation of their pages by giving them access to all the elements on their Web PAGE.The whole Web page elements,forms,FRAMES tables ,etc is presentated in an object hierarchy.Using scripting , an author is able to RETRIEVE and modify any properties or ATTRIBUTES of the WEBPAGE dynamically. The Dynamic HTML Object Model gives Web authors great control over the presentation of their pages by giving them access to all the elements on their Web page.The whole Web page elements,forms,frames tables ,etc is presentated in an object hierarchy.Using scripting , an author is able to retrieve and modify any properties or attributes of the webpage dynamically. |
|
| 41. |
What Is The Use Of Class Attribute In Css? |
|
Answer» The CLASS ATTRIBUTE ALLOWS more than one class to be assigned to an XHTML element by separating each class name from the NEXT with a space. The class attribute allows more than one class to be assigned to an XHTML element by separating each class name from the next with a space. |
|
| 42. |
Define Margin And Padding In Css ? |
|
Answer» Margin:-The Margin property determines the distance between the ELEMENT’s edge and any outside text.Margins for INDIVIDUAL sides of an element can be specified by using margin-top,margin-right,margin-left,margin-bottom. PADDING:- The padding property determines the distance between the content INSIDE an element and the edge of the element.Padding also can be set for each side of the box using padding-top,padding-right,padding-left,padding-bottom. Margin:-The Margin property determines the distance between the element’s edge and any outside text.Margins for individual sides of an element can be specified by using margin-top,margin-right,margin-left,margin-bottom. Padding:- The padding property determines the distance between the content inside an element and the edge of the element.Padding also can be set for each side of the box using padding-top,padding-right,padding-left,padding-bottom. |
|
| 43. |
What Is The Use Of Z-index In Position Property Of Css? |
|
Answer» The Z-index PROPERTY allows a DEVELOPER to layer overlapping elements .Elements that have HIGHER Z-index value are displayed in FRONT of elements with LOWER z-index values. The Z-index property allows a developer to layer overlapping elements .Elements that have higher Z-index value are displayed in front of elements with lower z-index values. |
|
| 44. |
What Is The Difference Between Absolute Positioning And Relative Positioning In Css? |
|
Answer» ABSOLUTE positioning:-Which GIVES authors GREATER control over how document elements are DISPLAYED. Specifying an element’s position as absolute removes the element from the normal FLOW of elements on the page, instead positioning it according to the distance from the top, left, right or bottom. Relative positioning:- In which elements are positioned relative to other elements.Relative positioning keeps elements in the general flow of elements on the page,so positioning is relative to other elements in the flow. Absolute positioning:-Which gives authors greater control over how document elements are displayed. Specifying an element’s position as absolute removes the element from the normal flow of elements on the page, instead positioning it according to the distance from the top, left, right or bottom. Relative positioning:- In which elements are positioned relative to other elements.Relative positioning keeps elements in the general flow of elements on the page,so positioning is relative to other elements in the flow. |
|
| 45. |
What Is The Use Of External Linking Of Style Sheets? |
|
Answer» External linking of STYLE SHEETS can create a uniform look for a website.Separate pages can all USE the same styles.Modifying a single style sheet file MAKES changes to styles ACROSS an entire website. External linking of style sheets can create a uniform look for a website.Separate pages can all use the same styles.Modifying a single style sheet file makes changes to styles across an entire website. |
|
| 46. |
Define Css ? |
|
Answer» CSS is Cascading Style Sheets that ALLOW document authors to specify the presentation of ELEMENTS on a webpage separately from the STRUCTURE of the document.
CSS is Cascading Style Sheets that allow document authors to specify the presentation of elements on a webpage separately from the structure of the document. |
|
| 47. |
What Is The Use Of Internal Hyperlink? |
| Answer» | |
| 48. |
What Is The Use Of Summary And Caption Element In Table Element? |
Answer»
|
|
| 49. |
Define Frames In Xhtml ? |
Answer»
|
|
| 50. |
Define Imagemap ? |
|
Answer» IMAGE maps are defined with map elements.Attribute id IDENTIFIES the image map.Hotspots are defined with the area element.Attribute href specifies the LINK’s target.Attributes SHAPE and co-ords specify the hotspot’s shape and co-ordinates and ALT provides alternative text. Image maps are defined with map elements.Attribute id identifies the image map.Hotspots are defined with the area element.Attribute href specifies the link’s target.Attributes shape and co-ords specify the hotspot’s shape and co-ordinates and alt provides alternative text. |
|