Professional Documents
Culture Documents
21CS1202 Web Appln Development QuestionBank Solution STUD
21CS1202 Web Appln Development QuestionBank Solution STUD
21CS1202 Web Appln Development QuestionBank Solution STUD
QUESTION BANK
Name of the Department :Department of Humanities and Sciences
Name of the Subject:WEB APPLICATION DEVELOPMENT(Lab Integrated)
Subject Code: 21CS1202
Semester: II
Note:
2 Marks :For each unit Three questions should be of lower order (LO) cognitive type and Two Questions should be of
Intermediate order (IO) cognitive type.
13 /15 /16 Marks:For each Unit Two questions should be of lower order (LO) cognitive type i.e. remembrance type questions ,
Two should be of intermediate order (IO) cognitive type i.e. understanding type questions and Two Question should be on
Higher Order (HO) Application / Design / Analysis / Evaluation / Creativity / Case study questions .
* HO Order is not applicable if the Question Pattern does not have Part C. In Such cases consider HO as IO.
** If the Mark for Part B &C is less than the applicable mark of the Question, Sub Divisions may be added. Subdivisions are
limited to a maximum of 3.
PART-A (2Marks)
S.No. Question Std. of question
Cognitive Level
1. What is cookie? LO
Ans: A cookie is a piece of data from a website that is stored within a web
browser that the website
can retrieve at a later time.
2. What is the use of HTTP protocol LO
Ans: Hypertext Transfer Protocol (HTTP) is a method for encoding and
transporting information between a client (such as a web browser) and a web
server. HTTP is the primary protocol for transmission of information across the
Internet.
3. Compare HTTP and SMTP LO
Ans: SMTP and HTTP are both network layer protocols that are used to
transfer information between hosts.
SMTP is used to transfer emails between mail servers, while HTTP is used to
transfer data from a web server to a web client.
4. What is the use of IP addresses and PORTS? IO
Ans: An IP address identifies a machine in an IP network and determines the
destination of a data packet, while port numbers identify particular applications
or services on a system. An IP address is a logical address used to identify a
device on the network.
5. What is the use of MIME IO
Ans: MIME (Multipurpose Internet Mail Extensions) is an extension of the
original Simple Mail Transport Protocol (SMTP) email protocol. It lets users
exchange different kinds of data files, including audio, video, images and
application programs, over email.
1
Panimalar Engineering College
Part – B (13marks)
S.No. Question Std. of question Mark
Cognitive Level
1. What is Internet? Explain in detail about the working principle of intranet 13
LO
and internet.
2. Explain the functions of TCP/IP in detail 13
LO
3. Explain in details about HTTP Transaction with suitable example. 13
IO
4. Explain the concept of DNS and its functions in detail. 13
IO
5. Give an overview of WWW and its architecture 13
HO
6. (i)Explain in detail about Multitier Application Architecture – in detail (10) HO
13
(ii)Explain in detail about client –side versus server –side scripting – in
detail (3)
PART-A (2 Marks)
S.No. Question Std. of question
Cognitive Level
1. How will you create a password field in a HTML form? LO
Ans:
<form>
Password:
<input type="password" name="password">
</form>
2. Mention some text formatting tags. LO
Ans:
<b> - Bold text.
<strong> - Important text.
<i> - Italic text.
<em> - Emphasized text.
<mark> - Marked text.
<small> - Smaller text.
<del> - Deleted text.
<ins> - Inserted text.
3. Write the format of HTML Program. LO
Ans:
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h2>Heading Content</h2>
<p>Paragraph Content</p><body></html>
2
Panimalar Engineering College
3
Panimalar Engineering College
Importing CSS
4. What is CSS positioning. IO
Ans: The CSS position property defines the position of an element in a
document. This property works with the left, right, top, bottom and z-index
properties to determine the final position of an element on a page
5. Give the syntax of CSS rule. IO
Ans: A CSS Syntax rule consists of a selector, property, and its value.
The selector points to the HTML element where the CSS style is to be applied.
The CSS property is separated by semicolons.It is a combination of the
selector name followed by the property:
value pair that is defined for the specific selector.
Syntax:
selector { Property: value; }
Part – B (13 marks)
S.No. Question Std. of question Mark
Cognitive Level
1. List out the types of style sheets in HTML5 and explain about it with 13
LO
suitable example code.
2. Explain different types of style sheets with relevant example 13
LO
3. With the help of suitable example, explain about Positioning and 13
IO
Animations in CSS.
4. State the objectives of using Cascading style sheet and explain the 13
IO
various CSS properties. Briefly explain about linking of style sheets
and Fixing the backgrounds.
5. Create a web site to get feedback from the users using CSS 13
HO
6. Explain how to set background image. 13
HO
PART-A (2 Marks)
S.No. Question Std. of question
Cognitive Level
1. What are the data types supported by Java Script? LO
Ans: String,Number,Bigint,Boolean,Undefined,Null,Symbol,Object.
2. State the types of java script statements with examples. LO
Ans: JavaScript statements are the commands to tell the browser to what
action to perform. Statements are separated by semicolon (;).
3. What is event bubbling and capturing in Java Script? LO
Ans: Event Bubbling − Whenever an event happens on an element, the event
handlers will first run on it and then on its parent and finally all the way up to
its other ancestors.
Event Capturing − It is the reverse of the event bubbling and here the event
starts from the parent element and then to its child element.
4. What are global functions in JavaScript? IO
4
Panimalar Engineering College
PART-A (2 Marks)
S.No. Question Std. of question
Cognitive Level
1. What is Node Object and list its properties. LO
Ans: The Node object represents a single node in the document tree.
A node can be an element node, an attribute node, a text node,
Notice that while all objects inherits the Node properties / methods for dealing
with parents and children, not all objects can have parents or children. For
example, Text nodes may not have children, and adding children to such
nodes results in a DOM error.
2. Define DOM Tree. LO
Ans: The Document Object Model (DOM) is a programming interface for web
documents. It represents the page so that programs can change the document
5
Panimalar Engineering College
structure, style, and content. The DOM represents the document as nodes
and objects; that way, programming languages can interact with the page.
3. What is the purpose of Regular Expression? Give its syntax. LO
Ans: Regular expressions are patterns used to match character combinations
in strings. In JavaScript, regular expressions are also objects.
These patterns are used with the exec() and test() methods of RegExp, and
with the match(),matchAll(), replace(), replaceAll(), search(), and split()
methods of String.
4. Define event bubbling. IO
Ans: Event Bubbling is a concept in the DOM (Document Object Model).
It happens when an element receives an event, and that event bubbles up (or
you can say is transmitted or propagated) to its parent and ancestor elements
in the DOM tree until it gets to the root element.
5. What is the drawback of the DOM0 event Model? IO
Ans: The Document Object Model (DOM) is the model that describes how all
elements in an HTML page, like input fields, images, paragraphs etc.,
are related to the topmost structure: the document itself.
Part – B (13 marks)
S.No. Question Std. of question Mark
Cognitive Level
1. Demonstrate the need of exception handling in java script with 13
LO
example for each type.
2. Explain the concept of DOM tree with the help of suitable example. 13
LO
also explain the basic terminologies used in DOM tree.
3. Explain in detail about Document Object Model. 13
IO
4. Explain the java script Object – Regular Expression. 13
IO
5. Explain Exception handling in java script with relevant example 13
HO
6. Elaborate the DOM history and intrinsic levels in event handling- 13
HO
modifying element style.