YouTube Icon

Interview Questions.

Top 100+ Internet Programming Interview Questions And Answers - May 31, 2020

fluid

Top 100+ Internet Programming Interview Questions And Answers

Question 1. Define Xhtml ?

Answer :

XHTML(Extensible Hybertext Markup Language) is a Markup language that specifies the layout of the textual content this is displayed in an internet browser such that microsoft’s Internet Explorer or Netscape.It is pass between HTML and XML.

Question 2. What Is Key Issue Of Xhtml?

Answer :

A key difficulty whilst the use of XHTML is the separation of the  presentation of a file from the structure of the statistics inside the document.

HTML 5 Interview Questions
Question 3. What Are The Important Elements Of An Xhtml Document?

Answer :

Important elements of an XHTML record are the html element ,the head element and the frame detail.   

Question four. Difference Between Html And Xhtml?

Answer :

In HTML,it's miles to specify the file’s content material, structure and formatting.Formatting would possibly specify wherein the browser located  an detail in a web site or the fonts and hues used to show an detail.

In XHTML, permits best a document’s content material and structure to seem in a valid XHTML record, and no longer  its formatting.Normally such formatting is specified with cascading style sheets.

HTML 5 Tutorial
Question 5. Rules For Writing Xhtml Document ?

Answer :

 Elements and Attributes  must be written in lowercase.
 All factors have to be closed.
 All files have to  have Doctype.
 All factors have to be nicely nested.
PHP Interview Questions
Question 6. Define Headers In Xhtml ?

Answer :

XHTML gives six headers(h1 thru h6) for specifying the  relative importance of information.Header detail  h1 is considered the maximum giant header and is rendered in a larger font than the opposite 5  headers. Each successive header element(h2..H6)is rendered in a steadily smaller font.

Question 7. What Is The Use Of Linking Element In Xhtml?

Answer :

One of the most vital XHTML capabilities is the hyperlink (Linking element) which references(or hyperlinks) to other resources, together with XHTML files,internet pages, a file or an electronic mail deal with.
Links are created the use of the a(anchor element).The maximum critical characteristic for the a detail is href which specifies the useful resource being connected. Ex:yahoo.
PHP Tutorial Internet Security Interview Questions
Question 8. Explain The Use Of Img Element ?

Answer :

An img detail is used to insert an photo in the file .The image document’s place is specified with the img detail’s src attribute.
Optional  attributes width and height specify the photo’s width and peak.
Question nine. What Is The Use Of Alt Attribute In Img Element?

Answer :

The alt attribute in img detail makes webpages extra on hand  to users with  disabilities, particularly people with vision mpairments who use text primarily based browser.
The speech synthesizer software program software “speaks” the alt characteristic’s value so that the consumer is aware of  what the browser is displaying.
Internet Interview Questions
Question 10. What Is The Difference Between Unordered List Element And Ordered List Element?

Answer :

The undered list element ul creates a listing wherein every item inside the listing starts offevolved   with a bullet symbol(referred to as disc).Each access in an undered listing is a li(listing object)element.
The ol (ordered listing detail) creates a list wherein each object starts offevolved with a range of.
Internet Security Tutorial
Question eleven. What Are The Three Sections In Xhtml Table?

Answer :

A  table has three awesome sections- head, frame and foot.
The head phase is described with a thead element which incorporates  header records along with column names.
The foot section is described with tfoot detail.
The frame phase or desk body consists of the table’s number one information.
Microsoft Outlook Interview Questions
Question 12. Define Forms In Xhtml ?

Answer :

XHTML presents paperwork for amassing records from  users.Forms incorporate visual components which includes buttons that customers click on.
Forms may include non-visual components known as hidden inputs which might be used to store any statistics which includes e-mail ddressesand XHTML record file names used for linking.
A form begins with the form element.Attribute approach specifies how the shape’s statistics is sent to the server.
HTML 5 Interview Questions
Question thirteen. Define Imagemap ?

Answer :

Image maps are described with map elements.Attribute identification identifies the picture map.Hotspots are defined with the place detail.Attribute href specifies the hyperlink’s target.Attributes form and co-ords specify the hotspot’s shape and co-ordinates and alt gives alternative text. 

Internet Protocol version four (IPv4) Tutorial
Question 14. Define Frames In Xhtml ?

Answer :

Frames allow the browser to display more than one XHTML document  concurrently.
The frameset detail informs the browser that the web page incorporates rames.
XHTML presents the no frames element to specify alternative content material for browsers that don't assist frames.
Frame set element is used to create extra complex layouts in an internet page by using nesting framesets.
Question 15. What Is The Use Of Summary And Caption Element In Table Element?

Answer :

Element precis summarizes the table’s contents and is utilized by speech gadgets  to make the table extra available to customers with isual impairments.
Element caption describes the table’s content. The text inside the tag is rendered above the table in most browsers.
Internet Protocol model 4 (IPv4) Interview Questions
Question 16. What Is The Use Of Internal Hyperlink?

Answer :

Internal  Linking is a mechanism that enables the person to jump among places inside the identical document.
Internal linking is useful for long files  that include many sections.
Clinking an inner hyperlink allows customers to find a segment with out scrolling thru  whole report.
Web Developer Guide Tutorial
Question 17. Define Css ?

Answer :

CSS is Cascading Style Sheets that permit file authors to  specify the  presentation of factors on a web site separately from the shape of the document.
This separation of shape from presentation simplifies preserving and enhancing a file’s format.

Define :Inline Style Sheet and Embedded Style Sheet.
Inline Style Sheet:-Inline Styles that declare an character detail’s format using the XHTML characteristic Style.
Embedded Style Sheet:-Embedded style sheets enable a web-web page author to embed  an entire css record in an XHTML record’s head section.
Web Developer Guide Interview Questions
Question 18. What Is The Use Of External Linking Of Style Sheets?

Answer :

External linking of favor sheets can create a uniform search for a  internet site.Separate  pages can all use the equal styles.Modifying a unmarried fashion sheet file makes adjustments to patterns throughout a whole website.

PHP Interview Questions
Question 19. What Is The Difference Between Absolute Positioning And Relative Positioning In Css?

Answer :

Absolute positioning:-Which gives authors extra manipulate over how report elements are displayed. Specifying an detail’s function as absolute removes the element from the regular flow  of factors on the page, instead positioning it consistent with the distance from the pinnacle, left, proper or bottom.

Relative positioning:- In which factors  are positioned relative to different factors.Relative positioning maintains elements inside the trendy glide of elements on the page,so positioning is relative to different elements inside the float.

Internet of things (IoT) Tutorial
Question 20. What Is The Use Of Z-index In Position Property Of Css?

Answer :

The  Z-index property permits a developer to layer overlapping elements .Elements  that have better Z-index price are displayed in front of elements with decrease z-index values.

Email Handling Interview Questions
Question 21. Define Margin And Padding In Css ?

Answer :

Margin:-The Margin assets determines the distance among the  element’s  area and any outdoor textual content.Margins for person sides of an detail can be designated with the aid of the use of margin-top,margin-right,margin-left,margin-backside.

Padding:- The padding assets determines the distance between the content interior  an detail and the threshold of the  element.Padding additionally can be set for every side of the container using padding-top,padding-right,padding-left,padding-backside.

Question 22. What Is The Use Of Class Attribute In Css?

Answer :

The elegance characteristic allows a couple of magnificence to be assigned to  an XHTML element by using keeping apart every class call from the next with a space.

PHP7 Tutorial
Question 23. Define Object Model In Dhtml ?

Answer :

The Dynamic HTML Object Model offers Web authors amazing manage over the presentation of their pages via giving them access to all of the factors on their Web web page.The complete Web web page factors,forms,frames tables ,and so on is presentated in an object hierarchy.Using scripting , an author is capable of retrieve and adjust any houses or attributes of the website dynamically.

Internet of things (IoT) Interview Questions
Question 24. How To Refer An Element In Dhtml?

Answer :

The simplest manner to reference an detail is through identity characteristic.The element is replaced as an object  and its numerous XHTML attributes end up houses that can be manipulated with the aid of scripting.

Ex: <p id=”ptext”>

In script:<script type=”text/javascript” for=”ptext”>

Internet Security Interview Questions
Question 25. Define Collections In Dhtml?

Answer :

Collections are essentially arrays of related objects on a page .There are numerous unique  collections in the object model.

Ex: all and children collection.

Internet Technologies Tutorial
Question 26. What Is The Difference Between Innertext And Innerhtml Property?

Answer :

innerText:- The innerText assets of the item refers back to the text contained  within the element.

InnerHTML:-The innerHTML belongings is just like innerText,however it  can encompass XHTML formatting.

PHP7 Interview Questions
Question 27. What Is Dynamic Content?

Answer :

Changing the textual content displayed on screen is a Dynamic HTML potential called dynamic content.

Internet Interview Questions
Question 28. What Is The Use Of Tagname And Classname Property In Dhtml?

Answer :

The tagName belongings includes the call  of the tags we stumble upon even as looping through the report , to place them within the string element.

The className property of an detail is used to change the element’s fashion class.

Question 29. What Is Dynamic Positioning?

Answer :

In Dynamic positioning ,XHTML factors can be positioned with scripting.This is performed by means of putting forward an element’s CSS position assets to be either absolute or relative and  then  moving the detail by using manipulating any of the pinnacle,right or backside CSS properties.

Internet Technologies Interview Questions
Question 30. What Is The Use Of Navigator Object?

Answer :

The navigator object carries records approximately the internet browser this is viewing the web page. This permits Web authors to determine which browser the person has.The navigator.AppName property contains the name of the utility.

Ex for IE,this belongings is “Microsoft Internet Explorer” for Netscape, it's far “Netscape”.

Question 31. What Is The Use Of Offsetx And Offsety Properties Of An Event Object?

Answer :

The occasion item contains information about the triggered occasion.The offsetX and offsetY residences of an event object deliver the area of the mouse cursor relative to the top-left nook of the object on which the occasion became precipitated.

Question 32. What Is The Use Of On Error Event In Dhtml?

Answer :

The on errors event is used to write down blunders coping with code.The syntax window.Onerror=functionName specifies that functionName runs if the onerror is triggered inside the window object. Error handlers can be given 3 parameters from the onerror occasion.

Question 33. What Are The Three Parameters Passed By Onerror Event?

Answer :

The  Error handlers can receive three parameters from the on mistakes event.The  onerror event passes the form of blunders that happened, the URL of the report that had the error and the road range on which the error took place.

Microsoft Outlook Interview Questions
Question 34. What Is The Difference Between Filters And Transitions ?

Answer :

Filters and Transitions are precise with the CSS clear out assets. Filters and Transitions do now not add content material to your pages-instead, they present existing content in an attractive manner to cpture the user’s attention.

Filters:-Applying filters to textual content and pix  reasons adjustments which might be persistent.

Transitions:-Applying a transition permit to transfer from one web page to another with a pleasant visible effect, along with a random dissolve.

Question 35. Where We Can Apply Filters And Transitions Property?

Answer :

Filters and Transitions can be implemented to all block-degree factors inclusive of div or  p.They can be carried out to an inline-stage detail such as sturdy or em, but ,handiest if the detail has its peak or width CSS assets set.

Question 36. What Is The Use Of Flipv And Fliph Flip Filters?

Answer :

The flipv and fliph filters reflect textual content or pics vertically and horizontally.

Fliph:- Which flips the affected item horizontally.

Flipv:-  Which flips the affected object vertically.

Internet Protocol model 4 (IPv4) Interview Questions
Question 37. What Is The Use Of Chroma Filter?

Answer :

The chroma  clear out applies transparency consequences dynamically, with out using a graphics editor to difficult-code transparency into the image.

Question 38. What Is The Use Of Shadow And Glow Filter And Alpha Filters?

Answer :

Shadow clear out:-A easy clear out that provides depth for your textual content is the shadow filter.This clear out creates a shadowing effect that offers your text a 3 –dimensional look.

Glow clear out:- The glow filter provides an air of mystery of shade around text.The color and strength can  both be laid out in glow filter.

Alpha filter:-The alpha clear out is likewise used for transparency consequences no longer practicable with the chroma filter.

Question 39. What Is The Use Of Data Binding ?

Answer :

With records binding, information want now not live solely  at the server.Data may be maintained on the consumer in a way that distinguishes it from the XHTML code on the web page.
Once the statistics is to be had on the consumer,the net software clothier can provide diverse capability,particularly the potential to type and clear out the facts in numerous approaches.
Question forty. What Is Tdc?

Answer :

TDC is an Tabular Data Control. It is an ActiveX manipulate that may be delivered to the web page with an item tag.
When the internet web page is loaded with records-certain factors,the client retrieves the facts from the statistics source distinct with the aid of the TDC. The information is then formatted for show at the Web page and remains handy at the customer.
Web Developer Guide Interview Questions
Question forty one. What Is Activex Control?

Answer :

ActiveX manage is basically an item which  can be placed on the web page that allows you to increase the consumer’s interaction.
The ActiveX manage is largely a set of regulations which can be applied to create the interactive gadgets.
Question forty two. What Is The Use Of Object Tag?

Answer :

An object tag  inserts  an ActiveX  Tabular  Data manipulate .The classid attribute  specifies the ActiveX manage identifier.

Email Handling Interview Questions
Question 43. What Is The Use Of Param Tag?

Answer :

The param tag specifies parameters for the item in the item tag.The call  attribute is the parameter call and the cost characteristic is the cost.The DataURL parameter  is the  URL of the statistics source .The Use Header parameter  specifies that the primary line of the information file  is to have  a header row  whilst set to proper.The TextQualifier parameter units the text qualifier of the information.The FieldDelim parameter units  the field delimiter of the facts.

Question forty four. What Is Use Of Datasrc And Datafld Attributes?

Answer :

The datasrc attribute refers to the id of the TDC item,and the datafld attribute specifies the name of the field  to which it is sure.

List out the one-of-a-kind  Multimedia-ActiveX objects:

Sequence manage
Path manipulate
Media participant
Sprite manipulate
Structured Graphics Control.
Question 45. What Are The Two Functions Used For Displaying The Text Using Activex Control?

Answer :

SetFont(font_name,font_size,boldness,if_italic,if_underlined,if_strickthrough)
Text(String, x,y,rotation).
Question 46. What Is The Need Of Client-side Scripting?

Answer :

Following are the problems that get treated the usage of patron side scripting:

easy scripting language like HTML or XML represents the statistics on the web web page in easy way.
The scripting languages like Javascript and DHTML are beneficial for enhancing the interactivity of the person with the internet browser.
Mathematical assessment is likewise possible the use of the patron facet scripting.
Using purchaser side scripting languages the web page which gets designed for the person gives a graphical consumer interface the use of which the person can input his information in an elegant manner.This facts can then be submitted to database or any server side scripting language to be able to manner it similarly.
The input validation can  additionally be possible the use of patron aspect scripting language like Javascript.
Question forty seven. What Is The Advantage Of Indirectly Embedding Of Javascript?

Answer :

Script can be hidden from the browser person
The format and presentation of internet file can be separated out from the consumer interplay through the Javascript.
Question 48. What Is The Disadvantage Of Indirectly Embedding Of Javascript?

Answer :

If small amount of Javascript code needs to be embedded in XHTML report  then making a separate Javascript report is meaning less If the Javascript code has to be embedded at several locations in XHTML report then it's miles complex to make separate Javascript record and every time invoking the code for it from the XHTML documents.

Listout the Global functions in Javascript kind:

Eval
isFinite
isNan
parseFloat
parseInt
unescape.
Question forty nine. What Are Three Forms Of Control Statements Available In Javascript?

Answer :

Sequence  announcement
Selection    declaration       
                 If declaration
                 If …else assertion
                 Switch statement     

Repetition   statement
                    While declaration
                     Do.. While
                     For   statement
                     For in statement .

Question 50. Write The Name Of Objects Available In Javascript ?

Answer :

Math item
String item
Date object
Boolean and Number item
Document item
Window item
Write the methods to be had in document item.
Write(string)
Writeln(string)
Document.Cookie
Document.LastModified.
Question fifty one. Write The Methods Available In Window Object ?

Answer :

open(url,call,alternatives)
Prompt(prompt,default)
Close()
Focus()
Blur()
Window.File
Window.Closed
Window.Opener.
Question 52. What Are The Methods Available In Date Object?

Answer :

getDate()
getUTCDate()
getHours()
getUTCHours()
setTime()
getTime().
Question fifty three. 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 wide variety of factors required with the aid of an array.Operator new creates an object as the software executes,with the aid of  acquiring enough memory to keep an item of the kind specific to the right of recent.

Question 54. Write The Methods Available In String Object ?

Answer :

Split(string)
Slice(begin,cease)
Substr(start,duration)
Substring(start,end)
toLowercase()
toUpperCase().
Question 55. What Is The Use Of Data Binding?

Answer :

With information binding, records need no longer reside completely  on the server.Data can be maintained at the client in a way that distinguishes it from the XHTML code on the web page.

Once the records is available at the client,the net utility designer can provide various functionality,in particular the capacity to sort and filter the statistics in various ways.

Question 56. Write The Syntax For Various Objects Used In Sgc ?

Answer :

Rect(x,y,width,height,rotation)
Oval(x,y,width,peak,rotation)
RoundRect(x,y,width,height,arc_width,arc_height,rotation)
Arc(x,y,width,peak,starting_angle,arc_angle,rotation)
Polygon(number_of _points,x1,y1,….Xn,yn,rotation)
Pie(x,y,width,peak,starting_angle,arc_angle,rotation).
Question fifty seven. What Is The Use Of Init() Method In Servlet Life Cycle?

Answer :

The purchaser enters the URL within the internet browser and makes a request .The browser then generates the HTTP request and sends it to the Web server.
Web server maps this request  to the corresponding servlet.
The server basically invokes the init() METHOD OF SERVLET.This method is referred to as handiest while the servlet is loaded inside the memory for the primary time.Using this method initialization parameters can also be surpassed to the servlet so as to configure itself.
Question 58. What Is The Function Of Service() Method In Servlet?

Answer :

Server can invoke the provider for specific HTTP request using carrier()approach.The servlets can thenread the statistics provided by using the HTTP request with the help of provider() technique.

Question 59. What Is The Function Of Destroy() Method In Servlet?

Answer :

Finally server unloads the servlet from the reminiscence the usage of the spoil() method.

Question 60. What Are The Two Packages Used To Implement The Servlet?

Answer :

Javax.Servlet
Javax.Servlet.Http.
Question 61. What Is The Use Of Javax .Servlet Pakage?

Answer :

This package deal is used to enforce the servlet.The maximum essential interface in this package deal is Servlet.All the servlet should put into effect this interface.

Question sixty two. Why Internet Protocol Is Called As Connectionless Protocol?

Answer :

Internet protocol(IP)  is known as connectionless  protocol because it does not change any control  data before transmitting any information.The information is just despatched to the destination with a desire that it'll attain at suitable place.

Question sixty three. Why Internet Protocol Is Called As Unreliable Protocol?

Answer :

IP is referred to as an unreliable protocol because it does not have the supply of retransmitting the misplaced packets or stumble on the corrupted facts.




CFG