NEW
Font size
WorksheetsWeb Technologies(A6602)
Total questions: 20
Worksheet time: 24mins
Which instructs a Web browser on how to format and process a hypertext document?
Code
Document
Tags
parser
To run HTML code we need to install software seperatly
True
False
To add green button using bootstrap the following class is used
btn-default
btn-info
btn-green
btn-success
In the SAX parser backward navigation is not possible.
True
False
______________ returns the value of a field whose id is 'number' in java script.
getElementById('number')
getElementById("number").value
getElementByValue("number").value
getElementByField("number").value
comments in java script can be specified using
<!-- comment -->
<%-- comment --%>
/*-- comment --*/
#comment#
Which event occurs when the user clicks on an HTML element?
onmouseclick
onclick
onchange
onmouseover
which jdbc driver is the JDBC-ODBC Bridge
Type 1
Type 2
Type 3
Type 4
IF you want to work with stored procedure with output parameters which of the following object should be used to call the procedure
PreparedStatement()
Statement()
CallableStatement()
ExecuteUpdate()
which of the following are session tracking techniques
URL rewriting
using session object
coockies
Hidden form fields
All of the above
in web.xml servlet mapping used as
An association between url pattern and servlet
An association between class and servlet
An association between url pattern and parameters
An association between servlet and session
init parameter in web.xml can be accessed using____________object
ServletContext
ServletInIt
ServletConfig
GetIniT
function myFunction(a,b) {
var b=a;
return b * b;
}
if the above function called as:
var x = myFunction(4,5); what is the value of x?
25
9
1
16
What is the output of the following code:
<%session.setAttribute("name","IT");%>
<%=session.getAttribute("name")%>
name
Value Error
IT
None
default scope of an attribute in JSP is_____________
application
request
page
session
Which is not an directive element of JSP
page
include
taglib
usebean
s1="swap"
$a=21
$b=22
echo s1."(".a.", ".b.")";
the above code prints
21,22
22,21
swap(21,22)
swap(22,21)
<?php
$x="Swapna";
$$x="Shalini";
echo "$x is ".$swapna." friend";
?>
Shalini is Swapna friend
Swapna is Swapna friend
Swapna is Shalini friend
Shalini is Shalini friend
$cars=array("BMW"=>"GERMANY","FERRARI"=>"ITALY","TATA"=>"INDIA","TOYOTA","S.KOREA");
echo $cars["INDIA"]
The above code prints
GERMANY
ITALY
INDIA
NONE
mysqli_query($conn, $sql_cmd) is used to______________
create table
delete a row
update row
all
