Ads

Pages

Friday, November 12, 2010

IT430 Online Quiz No. 1

Question # 1 of 10 ( Start time: 08:08:20 PM ) Total Marks: 1

var txt="Hello World!" document.write(txt.length), it would return the length as.
Select correct option:

13
12
11
10

Question # 2 of 10 ( Start time: 08:09:20 PM ) Total Marks: 1
__________ is an event handler in JavaScript.
Select correct option:

None of the given
onloading
onpress
onbuttondown

Question # 3 of 10 ( Start time: 08:10:48 PM ) Total Marks: 1
In Java script , New key word is used to create:
Select correct option:

Instance of method
Instance of Object
Initialize the Variable
Assign the vale of object

Question # 4 of 10 ( Start time: 08:11:57 PM ) Total Marks: 1
Border-style: specifies the style of all borders in the order _________________.
Select correct option:

border top style, border right style, border bottom style, border left style
border top style, border left style, border bottom style, border right style
border bottom style, border right style, border top style, border left style
border top style, border bottom style, border bottom right, border left style

Question # 5 of 10 ( Start time: 08:12:59 PM ) Total Marks: 1
Which is NOT a correct name for an XML element?
Select correct option:


<1dollar>
All 3 tags are incorrect



Question # 6 of 10 ( Start time: 08:15:31 PM ) Total Marks: 1
___________ is a valid JavaScript variable.
Select correct option:

first_name
2nd_name
third name
*lastname*

Question # 7 of 10 ( Start time: 08:16:58 PM ) Total Marks: 1
_________ is not a comparison operator.
Select correct option:

>
<
!=
=

Question # 8 of 10 ( Start time: 08:17:47 PM ) Total Marks: 1

In CSS, how do you make the text bold?
Select correct option:

font:b
font-style:bold
font-size:bold
font-weight:bold

Question # 9 of 10 ( Start time: 08:19:16 PM ) Total Marks: 1
_______________ will display the border having top border = 10 pixels, bottom border = 5 pixels, left border = 20 pixels and right border = 1 pixel.
Select correct option:

border-width:10px 1px 5px 20px
border-width:5px 1px 10px 20px
border-width:10px 20px 5px 1px
border-width:5px 20px 10px 1px

Question # 10 of 10 ( Start time: 08:20:26 PM ) Total Marks: 1
The control statement on a while loop is tested
Select correct option:

once at the start
after each time through the loop
once at the end
before each time through the loop


Question # 1 of 10 ( Start time: 08:52:04 PM ) Total Marks: 1
The first control statement in a for loop usually
Select correct option:

increments a counter
sets the termination condition
creates a control variable
All of the given

Question # 2 of 10 ( Start time: 08:53:33 PM ) Total Marks: 1
How does a "for" loop start?
Select correct option:

for i = 1 to 8
for (i = 0; i <= 8)
for (i = 0; i <= 8; i++)
for (i <= 8; i++)


Question # 3 of 10 ( Start time: 08:54:42 PM ) Total Marks: 1
_________ will refer to an external script called "xyz.js".
Select correct option:

No comments:

Post a Comment