You are on page 1of 3

P42 - FWT

1 In HTML, NOSHADE is an attribute of ___________


tag.
<Table>
<HR>
<Marquee>
<Form>
2 The difference between <DIV> and <SPAN> is
__________________
DIV starts on new line
SPAN starts on new line
SPAN has align as an attribute
DIV has align as an attribute
3 If you do not specify a value for SHAPE in ImageMap
,the default shape assumed is
RECT
CIRCLE
POLY
POLYGON
4 The <PRE> tag is not relevant to the writeIn() method
True
False
5 The confirm () method returns __________ when the user
presses cancel in the dialog box.
True
False
0
1
6 The method used to call a function repeatedly is
setInterval()
recall()
timeOut()
setTimeout()
7 Document is an object under
Body
Webpage
window
Body and window
8 The Web browser does not display the _______________
Form element.
<Invisible>
<Hide>
<#&Hide>
<Hidden>
9 In the SELECT element , the attribute SIZE specifies
Height
Width
Max size
Visible size
10 The _______________ form element allows you to select
only one option from a group.
Radio
Radiobutton
Select
Checkbox

11 In JavaScript , elements of different types can be stored


in an array.
A. True
B. False
And
In VBScript , elements of different types can be stored in an
array.
C. True
D. False
A
B
C
D
12 The output of
<SCRIPT language=Javascript>
document.write(Math.ceil(12.05))
</SCRIPT>
will be
12
12.10
13
13.00
13 The ___________ attribute of _____________ specifies
the URL of a HTML file to be displayed in a FrameSet.
Frame
FrameSet
src
href
14 The event handlers associated with the BODY tag are
__________
onLoad
onUnLoad
onClick
onMouseOver
15 ___________ is a parent object in scripting.
Document
Window
Body
All of the above
16 The ___________ object is used to get information about
the browser.
navigator
browser
history
this
17 The output of the code below will be _______
<SCRIPT>
var s = "How is the paper ?"
document.write(s.indexOf(" "))
</SCRIPT>
-1
1
2
3

18 VBScript is a scripting language on


Server side
Client side
Server side & Client side
19 ____________ is a Modulus operator in VBScript
%
mod
\
^
20 VBScript has built-in error checking.
True
False
21 The output from
<Script Language = vbs>
document.write(strcomp("bye","wait",0))
</Script>
will be
1
-1
0
error
22 In <SELECT> the __________ property allows us to
determine the item that the user has selected.
IndexSelected
Selected
SelectedIndex
Index
23 By default the <TEXTAREA> tags has following
scrollbars
Horizontal
Vertical
Both
None
24 The Err object in Vbscript is not global in scope.
False
True
Not Allways
25 Writing &#153 in BODY of html will print
153
TM
&#153
351
26 Which browsers supports the <LAYER> TAG ?
Internet Explorer
Mozilla
NetScape Navigator
Lycos
27

<HELLO><HI>HOW ARE U </HI></HELLO>

will show
Blank output
<HELLO><HI>HOW ARE U</HI></HELLO>
HOW ARE U
Error will occur executing the page
28 DNS stands for ____________
Data Network Server

Data NIC Server


Domain Network Server
Domain Name Server
29 <BODY BGCOLOR=#222222> will make the body
background
reddish
bluish
blackish
whitish
30 The <BASEFONT> tag has attribute SIZE. Its values
ranges from
1 to 14
1 to 6
1 to 12
1 to 7
31 STYLE is an attribute of _____________ HTML tags.
<BODY>
<FONT>
<P>
<TABLE>
32 When a Client connects to the ISP using Dial-Up
Connection he gets the following IP address
Dynamic
Static
Fixed
Constant
33 The <DIR> tag is similar to
<OL>
<UL>
<LI>
<IL>
34 A URL that opens a mail message has the form
____________
mailform : iacsd@cdac.com
mailto:iacsd@cdac.com
mailto:-iacsd@cdac.com
mailform :- iacsd@cdac.com
35 To display a frame inside a <BODY> we use
__________ tag
<Frame>
<FrameSet>
<SetFrame>
<IFrame>
36 To insert a audio/video file in HTML we use <bgsound>
True
False
37 Alert() is a method of ___________ object
JavaScript
VbScript
Document
Window
38

Read the following code carefully


<Script Language = javascript>
document.write(new Date())
</Script>

the output will be


Runtime error
Displays Current Time
Displays Current Date
Displays Current Date and Time
39

On Sunday

mydate=new Date(); alert (mydate.getDay()) in JavaScript


will show _______.
and
alert (WeekDay(Date)) in VBScript will return __________.
Sunday
Sun
0
1
40 The ___________object is passed as an argument to an
event handler when the event occurs.
Document
Window
Event
Object

You might also like