Explore topic-wise InterviewSolutions in .

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.

101.

A __________ is a software used to view web pages or websites available on the internet. (A) World Wide Web (B) Webpage (C) Website(D) Web Browser

Answer»

(D) Web Browser

102.

___________ when user moves the mouse over an element.(A) onMouseOut (B) onClick (C) onMouseOver (D) OnMouseUp

Answer»

(C) onMouseOver

103.

___________ when user clicks an element. (A) onMouseOut (B) onClick (C) onMouseOver (D) OnMouseUp

Answer»

Correct option is  (B) onClick

104.

1. The ___________ attribute is a user defined value.2. The ___________ attribute is used with text and password type.

Answer»

1. Name

2. Max length

105.

Match the following:Column‘A’Column ‘B’(1) onClick (A) When the user presses a key(2) onMouseOver (B) When the user moves the mouse over an element(3) onMouseUp (C) When the user releases a mouse button over an element(4) onKeyDown (D) When a user clicks an element5) onKeyUp (E) When the user releases key

Answer»
Column‘A’Column ‘B’
(1) onClick (D) When a user clicks an element
(2) onMouseOver (B) When the user moves the mouse over an element
(3) onMouseUp (C) When the user releases a mouse button over an element
(4) onKeyDown (A) When the user presses a key
5) onKeyUp  (E) When the user releases key
106.

Write down Scripting in HTML.

Answer»

1. JavaScript was initially created to make web pages alive. 

2. A Script is a list of commands that are executed by a scripting engine. 

3. Scripts are used to generate dynamic Web pages on the Web. 

4. JavaScript can be used for the clientside or server-side scripting language.

5. JavaScript code can be inserted in HTML program between script  and  /script tag. 

6. The language attribute is used to set scripting language.

107.

Explain the attributes of <select> and <option>tag.

Answer»

1. <select> tag is used to create dropdown list. 

2. Name assigns a name to the control.

3. Multiple allows the user to select more than one value. 

4. The Size attribute is used to specify the number of visible values. 

5. To define the preselected option, the ‘Selected‘ attribute is added to the <option>.

6. Value assigns value to the option specified in the dropdown list.

108.

Explain Event Handler.

Answer»

1. onMouseOut when the user moves the mouse away from an element. 

2. onClick when the user clicks an element. 

3. onMouseOver when the user moves the mouse over an element. 

4. onMouseUp when the user releases a mouse button over an element

109.

Explain Event Handling.

Answer»

1. JavaScript is an event-driven language. 

2. An event is an action done by the user or an application. 

3. JavaScript lets you execute a code when events are detected.

110.

A Jr. web designer wants to design a webpage to enter the employee’s name, address. He needs a button to clear the form content and submit the data.Write the different controls he will use to create the web page.State the tags to be used for the controls.

Answer»

A Junior Web designer will use the following controls to design web as follows:

1. Text – to create a single-line textbox for employee name

2. Text or Text area – If he wants to create a single-line address the text control is used otherwise to create a multiline address text area is used.

3. Submit – It is used to submit form data to the server.

4. Reset – It is used to clear form data.

Tags used for the controls are-

1. Employee Name : <Input type-”text”>

2. Address : <Input type =”text”> or

Address: < text area rows = ”4” cols- ”30”> <text area>

3. <Input type = ”submit” value = ”submit”>

4. <Input type- ”reset” value =”reset”>

111.

A web browser is a software used to view __________ or __________ available on the internet. (A) web pages(B) Text (C) graphics(D) websites

Answer»

(A) web pages, (D) websites

112.

__________ is a collection of interlinked web pages containing text, images, audio and videos. (A) World Wide Web (B) Webpage (C) Website (D) Web

Answer»

Correct option is  (C) Website

113.

1. ___________ is a collection of interlinked web pages containing text, images, audio and videos.2. A ___________ is a software used to view web pages or websites available on the internet.

Answer»

1. Website

2. Web browser

114.

__________ and __________ tag includes all content which is to be developed in the web browser. (A) Head (B) body (C) &lt;body&gt;(D) Container tags(E) &lt;/body&gt;

Answer»

(C) <body> (E) </body>

115.

What are User Defined Functions?

Answer»

1. A Function in any scripting and programming language is small part of a program that we require again and again. 

2. A Function is a subprogram designed to perform a particular task. 

3. Functions can be called either by an event or by giving a call to that function.

116.

Match the following:Column ‘A’Column ‘B’(1) World Wide Web(A) A collection of interlinkedweb page(2) Webpage(B) Web(3) Website(C) A simple text file createdusing HTML(4) Web Browser(D) A web browser is a softwareused to view web pages

Answer»
Column ‘A’Column ‘B’
(1) World Wide Web(B) Web
(2) Webpage(C) A simple text file created
using HTML
(3) Website(A) A collection of interlinked
 web page
(4) Web Browser(D) A web browser is a software
used to view web pages
117.

Write the server-side scripting?

Answer»

When a script is referred to as a “server-side script”, it means that it is executed on the server and the visitor of the website can only see the result. It also allows the scripts to connect to databases and use data from them while running. Popular server-side scripts are PHP, Python, Perl, etc.

118.

Give the features of XML.

Answer»

Main features of XML:

  • XML files are text files, which can be managed by an arty text editor.
  • XML is very simple because it has less than 10 syntax rules.
  • XML is extensible because it only specifies the structural rules of tags. No specification on tags themself.
  • XML provides a basic syntax that can be used to share information between different kinds of computers, different applications.
  • Its self-documenting format describes structure and field names as well as specific values.
  • XML is heavily used as a format for document storage and processing, both online and offline.
  • It is based on international standards.
119.

Write the differences of Client-side scripts?

Answer»
  1. Client-side scripting languages are scripts, which are executed in the client’s browser. Some of the most popular are:
  2. CSS (Cascading Style Sheets), which allows style meta-information to be separated from the content.
  3. XML, which is generally used just for data storage purposes but with CSS can be used instead of HTML; and Java scripts, also known as EMACS.
  4. Client-side scripts source code is visible to everyone - that helps to learn the basics of client-side scripting.
120.

Give the features of DHTML.

Answer»

Features of DHTML:

  • Simplest feature is making the page dynamic.
  • It can be used to create animations, games, applications, provide new ways of navigating through web sites.
  • Uses low-bandwidth effect which enhances web page functionality.
  • The dynamic building of web pages is simple using DHTML.
  • Allows code reuse.
  • Using DHTML we can change the tags and their properties.
  • It is used to generate dynamic fonts.
121.

1. Numerical value specially belongs to the ‘___________’ data type.2. ___________ data type can hold positive as well as negative values.

Answer»

1. Number

2. Number

122.

True or False:1. Numerical value specially belongs to the ‘Boolean’ data type.2. The number data type can hold positive as well as negative values.

Answer»

1. False

2. True

123.

True or False:1. Strings are used for storing text.2. Number type represents only two values ‘true and ‘false’.

Answer»

1. True

2. False

124.

Match the following:Column‘A’Column ‘B’(1) Null (A) “Nothing”, “Empty”, “Unknown”(2) Undefined (B) Arithmetic and logical operations(3) Operators  (C) Variable which is declared but not assigned(4) One operand  (D) Unary operator

Answer»
Column‘A’Column ‘B’
(1) Null (A) “Nothing”, “Empty”, “Unknown”
(2) Undefined (C) Variable which is declared
 but not assigned
(3) Operators  (B) Arithmetic and logical
 operations
(4) One operand  (D) Unary operator
125.

Match the following:Column‘A’Column ‘B’(1) Number type  (A) Division by 0(2) String Type (B) Storing text (3) Boolean Type  (C) ‘True’ and ‘False’(4) Infinity (D)‘Number’ data type 

Answer»
Column‘A’Column ‘B’
(1) Number type  (D) ‘Number’ data type 
(2) String Type (B) Storing text 
(3) Boolean Type  (C) ‘True’ and ‘False’
(4) Infinity (A) Division by 0
126.

What are text files?

Answer»

A file that holds text. The term text file is often used as a synonym for ASCII file, a file in which characters are represented by their ASCII codes. The extension name for the text file is *.txt.

127.

True or False:1. Width specifies the width of the image in pixels.2. Alt is referred to as alternate text.

Answer»

1. True

2. True

128.

1.___________ specifies height of the image in pixels.2. ___________ specifies width of the image in pixels.

Answer»

1. Height

2. Width

129.

1. The pages of information displayed on the internet are referred to as ___________2. The standards and formats for presenting text and graphics on the internet are developed and approveda by ___________ governing authorities.

Answer»

1. Web Pages

2. World Wide Web

130.

1. ___________ returns ‘true’ if given value is not a number. It returns ‘false’ if given value is number.2. A ___________ in any scripting and programming language is a small part of a program that we require again and again.

Answer»

1. isNaN()

2. Function

131.

1. A ___________ is a subprogram designed to perform a particular task.2. ___________ can be called either by an event or by giving call to that function.

Answer»

1. Function

2. Functions

132.

1. An ___________ link is underlined and purple.2. A ___________ link is underlined and blue.

Answer»

1. Visited

2. Active

133.

True or False:1. A Form is a collection of different elements also called controls.2. Name attributes specifies a name to a form. 

Answer»

1. True

2. True

134.

True or False:1. A Visited link is underlined and blue.2. Forms in HTML are used to accept user input.

Answer»

1. False

2. True

135.

True or False:1. A Hyperlink by default appears blue in colour with an underline.2. An Active link is underlined and purple.

Answer»

1. True

2. False

136.

True or False:1. Hyperlinks are used to connect one document with another document.2. In HTML, links are created by using &lt;a&gt; tag.

Answer»

1. True

2. True

137.

True or False:1. border the table either to the left, right or center.2. bgcolor sets the background color for the table

Answer» 1. False

2. True
138.

Mention any two uses of email.

Answer»

1. Messages can be sent 24 x 7 at any convenient time that suits the user.

2. Messages reach the recipient’s mailbox within minutes.

3. Delivery of messages can be confirmed. 

139.

What is voice mail?

Answer»

Voicemail is a computerized system that enables support for answering and storing telephone call messages. The voicemail records and stores incoming messages, enabling playback of the messages from the same phone number or from another telephone.

140.

What is voice mail? Explain.

Answer»

Voicemail messages are stored on hard disk drives, the media generally used by computers. Messages are recorded in digitized natural human voice. To retrieve messages, a user calls the system from any phone, logs on, and their messages can be retrieved immediately.

141.

__________ Tags have a beginning tae and an end tag. (A) Container (B) Empty (C) Web Server (D) Uniform Resource Locator

Answer»

(A) Container

142.

What is email?

Answer»

It is a system for exchanging written text, voice and video messages through a computer network.

143.

What is chat? Explain.

Answer»

It is online communication between two users through computer on the internet. Once a chat has been initiated, either user can enter text by typing on the keyboard and the entered text will appear on the other user’s monitor. Most networks and online services offer a chat facility.

144.

1 . ___________ Tags are also called paired tags.2. ___________ Tags have a beginning tag and an end tag.

Answer»

1. Container

2. Container

145.

__________ Tags are also called paired tags. (A) Container (B) Empty (C) Web Server (D) Uniform Resource Locator

Answer»

(A) Container

146.

What is the World Wide Web?

Answer»

The World Wide Web is a complete set of documents present on all internet servers that use the HTTP protocol, accessible to users via a simple point-and-click system.

147.

What is a web browser?

Answer»

Web browser is a software application program used to locate and display Web pages.

148.

What are bulleting boards?

Answer»

It is an electronic message center where people can post public messages. Messages are placed on the computer, so people can leave than for other people to read and see and later erase then when not required.

149.

___________ is compatible with most of the web browsers.

Answer»

Hyper Text Markup Language

150.

What is a bulletin board? Explain.

Answer»

It is an electronic message center where people can post public messages, messages are placed on the computer so people can leave them for other people to read and see. For example, it is used to advertise things to buy or sell, and erase when the need is over announce events, or provide information.