WT Internal-Ii

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

QB/19IT14504

MAHENDRA ENGINEERING COLLEGE


(AUTONOMOUS)
Continuous Assessment Test –II–October- 2021
Regulations – 2019
Academic Year 2021 – 2022, Odd Semester
Programme : B.Tech-IT Year : III
Semester: V
Subject Code: 19IT14504 Subject Title : Web Technology
Date: 28.10.2021 Time: 02.45PM to 04.15PM Duration: 90Min
Max.Marks:50
PART – A (10x1=10) (One mark questions)
I. Choose the best Answer
Which is the correct JavaScript syntax to change the content of the HTML
element below? Unit-III
<p id="demo">This is a demonstration.</p>
1 CO3 K2 a) document.getElementById("demo"). b) #demo.innerHTML = "Hello World!";
innerHTML = "Hello World!";
c) document.getElementByName("p") . d) document.getElement("p").innerHTML =
innerHTML = "Hello World!"; "Hello World!
In the JavaScript, which one of the following is not considered as an
Unit-III
error?
2 CO3 K1 a) Syntax error b) Missing of semicolons
c) Division by zero d) Missing of Bracket
AJAX is based on Unit-III
a) JavaScript and XML b) JavaScript and HTTP requests
3 CO3 K1
c) JavaScript and Java d) VBScript and XML
Which of the following jQuery method is used to hide the selected
Unit-III
elements?
4 CO3 K2 a) The hidden() method b) The hide() method
c) The visible(false) method d) The display(none) method
How do you declare a JavaScript variable? Unit-III
5 CO3 K2 a) var varName; b) variable varName;
c) int varName; d) varName;
The ___________ specification defines an application programming
interface for communication between the server and the application Unit-IV
program.
6 CO4 K1 a) Java Servlet
b) JBBC
c) Java Applet d) Java Swing
How to send data in get method Unit-IV
7 CO4 K2 a) Through url b) Through payload
c) We cannot d) None of these
Which packages represent interfaces and classes for servlet API? Unit-IV
8 CO4 K2 a) javax.servlet b) javax.servlet.http
c) both a and b d) none of the above

Page 1 of 3
What is the lifecycle of a servlet? Unit-IV
a) Servlet class is loaded b) Servlet instance is created
9 CO4 K1
c) init, Service, destroy method is d) All of the above
invoked
Which of the following code is used to get a HTTP Session object in
Unit-IV
servlets?
a) request.getSession() b) response.getSession()
10 CO4 K2
d) None of the above
c) newSession()

PART – B (10x2=20)( Two mark questions)


(Unit-III)
11 CO3 K1 List out the technologies used in AJAX Basics.
12 CO3 K1 What are the three types of statements in JavaScript?
13 CO3 K2 Write the uses of java script.
14 CO3 K2 How to write HTML code dynamically using JavaScript?
15 CO3 K1 Define error handling in java script.
(Unit-IV)
16 CO4 K1 What are the functions of Servlet container?
17 CO4 K4 Compare CGI with Servlets.
18 CO4 K2 Why GET request is more efficient than POST request?
19 CO4 K2 Write the advantages and disadvantages of servlets?
20 CO4 K4 Difference between servlets and applets.
PART – C(2x10=20)(10 Marks questions)
(Unit-III)
Explain the three types of Popup Boxes and Error Handling Mechanisms in 10
CO3 K2
Scripting languages.
21 OR
Infer about the development of a web application to illustrate the basics of 10
CO3 K3
AJAX.
(Unit-IV)
CO4 K2 Explain about the Servlet Overview Architecture and Three tier Applications. 10
22 OR
CO4 K3 Elaborate the Servlet life cycle with an example. 10

Course Outcome (CO):


S.No. Question numbers Course Outcome Marks

1 1,2,3,4,5,11,12,13,14,15,21 CO3 25

2 6,7,8,9,10,16,17,18,19,20,22 CO4 25

Bloom’s Taxonomy Level


K1- Remember, K2- Understand, K3- Apply, K4- Analyze, K5- Evaluate and K6- Create
Bloom’s
K1 K2 K3 K4 K5 K6
Taxonomy level

Page 2 of 3
Percentage of
24% 48% 20% 8% - -
Questions

Subject Teacher HoD


(Verified)

Page 3 of 3

You might also like