WorksheetsFA I IP QUIZ I
Total questions: 15
Worksheet time: 8mins
Name
Class
Date
1.
Which of the following can read and render HTML web pages
a)
Server
b)
head Tak
c)
web browser
d)
empty
2.
Simple network management protocol uses which of the following port number
a)
164
b)
163
c)
160
d)
161
3.
Identify the incorrect HTML tag among the following
a)
< input>
b)
c)
< list>
d)
< textarea>
4.
Which of the following attribute is used for merging two or more adjacent columns?
a)
ROWSPAN
b)
CELLSPACING
c)
COLSPAN
d)
CELLPADDING 1
5.
Among which of the following is HTML a subset.
a)
SGMD
b)
SGMT
c)
SGML
d)
None
6.
Identify the container among the following
a)
< body>
b)
< select>
c)
< input>
d)
both a and b
7.
What is Document Object Model(DOM)?
a)
a coding style
b)
Specification
c)
a parser
d)
none
8.
Identify the function in JavaScript which is used to send messages to users requesting for text input?
a)
alert()
b)
prompt()
c)
display()
d)
getInput()
9.
Among the following operators identify the one which is used to allocate memory to array variables in JavaScript.
a)
new
b)
new malloc
c)
alloc
d)
malloc
10.
Arrays in JavaScript are defined by which of the following statements?
a)
It is an ordered list of values
b)
It is an ordered list of objects
c)
It is an ordered list of string
d)
It is an ordered list of functions
11.
Ajax updates a web page ____ reloading the page.
a)
with
b)
without
12.
In the JSON syntax, data is in ____ pairs.
a)
class/object
b)
name/value
c)
datatype/variable
d)
value/=
13.
What is the difference between servlets and applets?
i. Servlets execute on Server; Applets execute on browser
ii. Servlets have no GUI; Applet has GUI
iii. Servlets creates static web pages; Applets creates dynamic web pages
iv. Servlets can handle only a single request; Applet can handle multiple requests
a)
i, ii, iii are correct
b)
i, ii are correct
c)
i, iii are correct
d)
i, ii, iii, iv are correct
14.
Which of the following code is used to get an attribute in a HTTP Session object in servlets?
a)
session.getAttribute(String name)
b)
session.alterAttribute(String name)
c)
session.updateAttribute(String name)
d)
session.setAttribute(String name)
15.
Which of the following is true about servlets?
a)
Servlets execute within the address space of web server
b)
Servlets are platform-independent because they are written in java
c)
Servlets can use the full functionality of the Java class libraries
d)
Servlets execute within the address space of web server, platform independent and uses the functionality of java class libraries
100 %
