Thursday , 21 November 2024

IT430 Solved Quizs and MCQs Mega Collection for Mid Term Papers

 VUAssignments.com Upload the Mega Collection of Solved MCQs of e-Commerce ( IT430 ). Try to solved the Given mega collection of IT430 Solved MCQs yourself for the better preparation of IT430 Upcoming Papers and Quizes.

Question # 1 of 10 ( Start time: 02:53:23 AM ) 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: 02:54:00 AM ) Total Marks: 1
document.write(str.replace(/Microsoft/,”W3Schools”))
Select correct option:

This string object is deleting Microsoft word
This string object is concatenating the Microsoft with W3schools
This string object is replacing Microsoft with W3schools
None of these

Question # 3 of 10 ( Start time: 02:55:12 AM ) 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 # 4 of 10 ( Start time: 02:55:26 AM ) Total Marks: 1
__________ is an invalid JavaScript variable.
Select correct option:

3rd_name
first_name
secondName
$myName

Question # 5 of 10 ( Start time: 02:55:33 AM ) Total Marks: 1
Which of the following is NOT an advantage of CSS?
Select correct option:
Define the look of your pages in one place
Works on version 4 browsers or newer
Easily change the look
Implement same formatting each time tag is used.

Question # 6 of 10 ( Start time: 02:55:43 AM ) Total Marks: 1
What is the correct JavaScript syntax to insert a comment that has more than one line?
Select correct option:

/*This comment has more than one line*/
/#This comment has more than one line#/
<!–This comment has more than one line–>
none of the given

Question # 7 of 10 ( Start time: 02:56:42 AM ) 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 # 8 of 10 ( Start time: 02:56:53 AM ) 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 # 9 of 10 ( Start time: 02:57:04 AM ) Total Marks: 1
The second control statement in a for loop usually
Select correct option:

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

Question # 10 of 10 ( Start time: 02:57:16 AM ) Total Marks: 1
border-color: specifies the color of all borders in the order________________.
Select correct option:

border right color, border bottom color, border left color, border top color
border top color, border right color, border bottom color, border left color
border top color, border bottom color, border right color, border left color
border bottom color, border top color, border left color, border right color

Question # 1 of 10 ( Start time: 03:10:09 AM ) Total Marks: 1
document.write(str.replace(/Microsoft/,”W3Schools”))
Select correct option:

This string object is deleting Microsoft word
This string object is concatenating the Microsoft with W3schools
This string object is replacing Microsoft with W3schools
None of these

Question # 2 of 10 ( Start time: 03:10:20 AM ) Total Marks: 1
The conditional statement “i is not equal to 5” can be written as _____________.
Select correct option:

if (i<>5)
if (i != 5)
if (i not equal to 5)
if (i ! 5)

Question # 3 of 10 ( Start time: 03:10:27 AM ) 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 # 4 of 10 ( Start time: 03:10:34 AM ) Total Marks: 1
What does XML stand for?
Select correct option:

eXtra Modern Link
X-Markup Language
eXtensible Markup Language
Example Markup Language

Question # 5 of 10 ( Start time: 03:10:40 AM ) Total Marks: 1
charAt() is the function/method of
Select correct option:

String object
Date object
Time object
Array object

Question # 6 of 10 ( Start time: 03:10:46 AM ) Total Marks: 1
border-color: specifies the color of all borders in the order________________.
Select correct option:

border right color, border bottom color, border left color, border top color
border top color, border right color, border bottom color, border left color
border top color, border bottom color, border right color, border left color
border bottom color, border top color, border left color, border right color

Question # 7 of 10 ( Start time: 03:10:53 AM ) Total Marks: 1
__________ is an invalid JavaScript variable.
Select correct option:

3rd_name
first_name
secondName
$myName

Question # 8 of 10 ( Start time: 03:10:59 AM ) Total Marks: 1
Which loop type always runs the enclosed code at least once
Select correct option:

do while
for
while
none of them
Question # 1 of 10 ( Start time: 04:29:14 AM ) Total Marks: 1
In what form style rules are presented?
Select correct option:
selector { property= value }
selector ( property: value )
selector { property: value }
selector ( property= value )
of 10 ( Start time: 10:29:02 PM ) Total Marks: 1
Code: JavaScript var a = [“v”,”i”,”r”,”t”, “u”, “a”, “l”]; document.write(a.join(“-“));
What would be the output of the above code fragment?
Select correct option:

virtual
virtual-
v:i:r:t:u:a:l
v-i-r-t-u-a-l

of 10 ( Start time: 10:28:12 PM ) Total Marks: 1
_______ object’s properties and functions are accessible every where.
Select correct option:

Local
Global
Predefined
All of the given

Question # 2 of 10 ( Start time: 10:27:26 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 # 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:

<Note>
<1dollar>
All 3 tags are incorrect
<h1>

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:

<script file=”xyz.js”>
<script link=”xyz.js”>
<script src=”xyz.js”>
<script name=”xyz.js”>

Question # 4 of 10 ( Start time: 08:56:49 PM ) Total Marks: 1
For which of the following, XSL is the recommended as style sheet language?
Select correct option:

HTML
XML
HTML and XML
XSLT

Question # 5 of 10 ( Start time: 08:58:16 PM ) Total Marks: 1
border-color: specifies the color of all borders in the order________________.
Select correct option:

border right color, border bottom color, border left color, border top color
border top color, border right color, border bottom color, border left color
border top color, border bottom color, border right color, border left color
border bottom color, border top color, border left color, border right color

Question # 6 of 10 ( Start time: 08:59:20 PM ) Total Marks: 1
What is a correct way of referring to a stylesheet called “mystyle.xsl” ?
Select correct option:

<?xml-stylesheet type=”text/xsl” href=”mystyle.xsl” ?>
<link type=”text/xsl” href=”mystyle.xsl” />
<stylesheet type=”text/xsl” href=”mystyle.xsl” />
<?stylesheet type=”text/xsl” href=”mystyle.xsl” ?>

Question # 7 of 10 ( Start time: 09:01:08 PM ) Total Marks: 1
Constructor is defined as the initializing function used to create………..
Select correct option:

Instance / copy of object
copy of object
Instance of object
shallow copy of object

Question # 8 of 10 ( Start time: 09:02:09 PM ) Total Marks: 1
The second control statement in a for loop usually
Select correct option:

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

Question # 9 of 10 ( Start time: 09:02:54 PM ) Total Marks: 1
Border-width: specifies the width of all borders in the order ______________.
Select correct option:

border right width, border bottom width, border left width, border top width
border top width, border right width, border bottom width, border left width
border bottom width, border left width, border top width, border right width
border bottom width, border top width, border left width, border right width

Question # 10 of 10 ( Start time: 09:03:37 PM ) Total Marks: 1
What is the correct HTML for adding a background color?
Select correct option:

<background>yellow</background>
<body color=”yellow”>
<body bgcolor=”yellow”>
<bgcolor>yellow</bgcolor>

Question # 1 of 10 ( Start time: 09:30:49 PM ) Total Marks: 1
__________ is a Java script comment.
Select correct option:

//comment
%comment
$comment
*comment*
Question # 2 of 10 ( Start time: 09:31:39 PM ) Total Marks: 1
Date () is the ——————– of the date object which provides current date of the
system.
Select correct option:

method
property
constructor
Destructor

Question # 3 of 10 ( Start time: 09:32:47 PM ) Total Marks: 1
Left margin of an element can be changed using _________.
Select correct option:

padding:
margin:
margin-left:
text-indent:

Question # 4 of 10 ( Start time: 09:34:08 PM ) Total Marks: 1
In case mouse moves over a link, ________ event will be detected.
Select correct option:

onMouseOver
onRollOver
overMouse
All of the given

Question # 5 of 10 ( Start time: 09:35:35 PM ) Total Marks: 1
CSS definitions can be written in __________ to define the styles for entire site.
Select correct option:

Body section
Head section
Text file
Anywhere in the web page


Question # 6 of 10 ( Start time: 09:37:03 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 # 7 of 10 ( Start time: 09:37:59 PM ) Total Marks: 1
Correct javascript code for writing “hello world” is _______________.
Select correct option:

document.write(“hello world”)
write(“hello world”)
response.write(“hello world”)
None of the given

Question # 8 of 10 ( Start time: 09:39:28 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 # 9 of 10 ( Start time: 09:39:49 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 # 10 of 10 ( Start time: 09:40:24 PM ) Total Marks: 1
Which of the following is HTML tag could not be used as CSS tag?
Select correct option:

<h1>
<style>
<a>
<p>

Question # 1 of 10 ( Start time: 10:16:30 PM ) Total Marks: 1
What is a correct way of referring to a stylesheet called “mystyle.xsl” ?
Select correct option:

<?xml-stylesheet type=”text/xsl” href=”mystyle.xsl” ?>
<link type=”text/xsl” href=”mystyle.xsl” />
<stylesheet type=”text/xsl” href=”mystyle.xsl” />
<?stylesheet type=”text/xsl” href=”mystyle.xsl” ?>

Question # 2 of 10 ( Start time: 10:17:04 PM ) Total Marks: 1
We put the JavaScript in the following ___________ html element.
Select correct option:

<script>
<javascript>
<js>
<java_script>

Question # 3 of 10 ( Start time: 10:17:43 PM ) Total Marks: 1
Date () is the ——————– of the date object which provides current date of the
system.
Select correct option:

method
property
constructor
Destructor

Question # 4 of 10 ( Start time: 10:17:56 PM ) Total Marks: 1
What is the correct HTML for making a text input field?
Select correct option:

<input type=”textfield”>
<input type=”text”>
<textfield>
<textinput type=”text”>

Question # 5 of 10 ( Start time: 10:18:42 PM ) Total Marks: 1
i++ means ________.
Select correct option:

i=i+i
i=i+1
i=i+2
i=1+1

Question # 6 of 10 ( Start time: 10:19:13 PM ) Total Marks: 1
Border-width: specifies the width of all borders in the order ______________.
Select correct option:

border right width, border bottom width, border left width, border top width
border top width, border right width, border bottom width, border left width
border bottom width, border left width, border top width, border right width
border bottom width, border top width, border left width, border right width

Question # 7 of 10 ( Start time: 10:20:01 PM ) Total Marks: 1
What is the correct JavaScript syntax to insert a comment that has more than one line?
Select correct option:

/*This comment has more than one line*/
/#This comment has more than one line#/
<!–This comment has more than one line–>
none of the given

Question # 8 of 10 ( Start time: 10:21:46 PM ) Total Marks: 1
In what form style rules are presented?
Select correct option:

selector { property= value }
selector ( property: value )
selector { property: value }
selector ( property= value )

Question # 9 of 10 ( Start time: 10:23:05 PM ) Total Marks: 1
__________ is an invalid JavaScript variable.
Select correct option:

3rd_name
first_name
secondName
$myName

Question # 10 of 10 ( Start time: 10:24:28 PM ) Total Marks: 1
!= comparison operator means __________.
Select correct option:

Equal to
Not equal to
Greater than
None of the given

Question # 1 of 10 ( Start time: 10:40:07 PM ) Total Marks: 1
In case mouse moves over a link, ________ event will be detected.
Select correct option:

onMouseOver
onRollOver
overMouse
All of the given

Question # 2 of 10 ( Start time: 10:40:45 PM ) Total Marks: 1
Actions that can be detected by javascript are called _____________. (Chose best
suitable option)
Select correct option:

Events
Functions
Methods
Hyper links

Question # 3 of 10 ( Start time: 10:41:48 PM ) Total Marks: 1
Which statement is true?
Select correct option:

All XML documents must have a DTD
All XML elements must be lower case
All the statements are true
All XML elements must be properly closed

Question # 4 of 10 ( Start time: 10:43:13 PM ) Total Marks: 1
charAt() is the function/method of
Select correct option:

String object
Date object
Time object
Array object

Question # 5 of 10 ( Start time: 10:44:43 PM ) Total Marks: 1
For which of the following, XSL is the recommended as style sheet language?
Select correct option:

HTML
XML
HTML and XML
XSLT

Question # 6 of 10 ( Start time: 10:45:55 PM ) Total Marks: 1
Constructor is defined as the initializing function used to create………..
Select correct option:

Instance / copy of object
copy of object
Instance of object
shallow copy of object

Question # 7 of 10 ( Start time: 10:46:16 PM ) Total Marks: 1
<span> is used to apply style to ___________.
Select correct option:

text
image
frames
webpage

Question # 8 of 10 ( Start time: 10:47:46 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 # 9 of 10 ( Start time: 10:48:19 PM ) Total Marks: 1
!= comparison operator means __________.
Select correct option:

Equal to
Not equal to
Greater than
None of the given

Question # 10 of 10 ( Start time: 10:48:42 PM ) Total Marks: 1
Which loop type always runs the enclosed code at least once
Select correct option:

do while
for
while
none of them

Question # 1 of 10 ( Start time: 12:04:50 AM ) 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: 12:05:16 AM ) Total Marks: 1
Constructor is defined as the initializing function used to create………..
Select correct option:

Instance / copy of object
copy of object
Instance of object
shallow copy of object

Question # 3 of 10 ( Start time: 12:05:26 AM ) Total Marks: 1
charAt() is the function/method of
Select correct option:

String object
Date object
Time object
Array object

Question # 4 of 10 ( Start time: 12:05:38 AM ) Total Marks: 1
The conditional statement “i is not equal to 5” can be written as _____________.
Select correct option:

if (i<>5)
if (i != 5)
if (i not equal to 5)
if (i ! 5)

Question # 5 of 10 ( Start time: 12:06:17 AM ) Total Marks: 1
!= comparison operator means __________.
Select correct option:

Equal to
Not equal to
Greater than
None of the given

Question # 6 of 10 ( Start time: 12:06:34 AM ) Total Marks: 1
________ is not a data type in java script.
Select correct option:

int
float
string
null

Question # 7 of 10 ( Start time: 12:08:03 AM ) 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 # 9 of 10 ( Start time: 12:10:13 AM ) 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: 12:10:45 AM ) Total Marks: 1
_________ object’s properties and functions are accessible every where.
Select correct option:

Local
Global
Predefined
All of the given

Question # 1 of 10 ( Start time: 01:10:39 AM ) Total Marks: 1
Which of the following is HTML tag could not be used as CSS tag?
Select correct option:

<h1>
<style>
<a>
<p>

Question # 2 of 10 ( Start time: 01:11:25 AM ) Total Marks: 1
i++ means ________.
Select correct option:

i=i+i
i=i+1
i=i+2
i=1+1

Question # 3 of 10 ( Start time: 01:11:44 AM ) Total Marks: 1
In java script “alert” function displays ________.(Chose best suitable answer)
Select correct option:

Popup window
Web page
Task bar
Menu bar

Question # 4 of 10 ( Start time: 01:12:18 AM ) 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 # 5 of 10 ( Start time: 01:13:02 AM ) Total Marks: 1
In what form style rules are presented?
Select correct option:

selector { property= value }
selector ( property: value )
selector { property: value }
selector ( property= value )

Question # 6 of 10 ( Start time: 01:13:34 AM ) Total Marks: 1
__________ is a Java script comment.
Select correct option:

//comment
%comment
$comment
*comment*

Question # 7 of 10 ( Start time: 01:14:05 AM ) Total Marks: 1
Constructor is defined as the initializing function used to create………..
Select correct option:

Instance / copy of object
copy of object
Instance of object
shallow copy of object

Question # 8 of 10 ( Start time: 01:14:17 AM ) Total Marks: 1
__________ is an event handler in JavaScript.
Select correct option:
None of the given
onloading
onpress
onbuttondown

Question # 9 of 10 ( Start time: 01:14:49 AM ) Total Marks: 1
CSS definitions can be written in __________ to define the styles for entire site.
Select correct option:

Body section
Head section
Text file
Anywhere in the web page

Question # 10 of 10 ( Start time: 01:15:12 AM ) Total Marks: 1
_________ object’s properties and functions are accessible every where.
Select correct option:

Local
Global
Predefined
All of the given

Question # 1 of 10 ( Start time: 01:17:46 AM ) Total Marks: 1
What does DTD stand for?
Select correct option:

Do The Dance
Dynamic Type Definition
Data Type Definition
Direct Type Définition

Question # 2 of 10 ( Start time: 01:18:32 AM ) Total Marks: 1
Which of the following is NOT an advantage of CSS?
Select correct option:

Define the look of your pages in one place
Works on version 4 browsers or newer
Easily change the look
Implement same formatting each time tag is used.

Question # 3 of 10 ( Start time: 01:19:56 AM ) Total Marks: 1
For which of the following, XSL is the recommended as style sheet language?
Select correct option:

HTMLXML

HTML and XML
XSLT

Question # 4 of 10 ( Start time: 01:20:16 AM ) Total Marks: 1
__________ is an event handler in JavaScript.
Select correct option:

None of the given
onloading
onpress
onbuttondown

Question # 5 of 10 ( Start time: 01:21:13 AM ) Total Marks: 1
!= comparison operator means __________.
Select correct option:

Equal to
Not equal to
Greater than
None of the given

Question # 6 of 10 ( Start time: 01:21:25 AM ) 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 # 7 of 10 ( Start time: 01:21:41 AM ) Total Marks: 1
_________ is not a comparison operator.
Select correct option:

>
<
!=
=

Question # 8 of 10 ( Start time: 01:21:58 AM ) Total Marks: 1
i++ means ________.
Select correct option:

i=i+i
i=i+1
i=i+2
i=1+1

Question # 9 of 10 ( Start time: 01:22:09 AM ) Total Marks: 1
_________ tag is used to control the layout of different elements.
Select correct option:

css
style
span
None of the given

Question # 10 of 10 ( Start time: 01:23:36 AM ) Total Marks: 1
Style sheets can be used in a web page using ________ method/s.
Select correct option:

Inline
Embedded
Document level and external
All of the given

Question # 1 of 10 ( Start time: 01:37:49 AM ) Total Marks: 1
What is a correct way of referring to a stylesheet called “mystyle.xsl” ?
Select correct option:

<?xml-stylesheet type=”text/xsl” href=”mystyle.xsl” ?>
<link type=”text/xsl” href=”mystyle.xsl” />
<stylesheet type=”text/xsl” href=”mystyle.xsl” />
<?stylesheet type=”text/xsl” href=”mystyle.xsl” ?>

Question # 2 of 10 ( Start time: 01:38:18 AM ) Total Marks: 1
CSS definitions can be written in __________ to define the styles for entire site.
Select correct option:

Body section
Head section
Text file
Anywhere in the web page

Question # 3 of 10 ( Start time: 01:38:34 AM ) Total Marks: 1
JavaScript can be placed in __________.
Select correct option:

Head section
Body section
Both of the given
None of the given

Question # 4 of 10 ( Start time: 01:39:53 AM ) Total Marks: 1
Which of the following is HTML tag could not be used as CSS tag?
Select correct option:

<h1>
<style>
<a>
<p>

Question # 5 of 10 ( Start time: 01:41:11 AM ) 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 # 6 of 10 ( Start time: 01:41:32 AM ) Total Marks: 1
________ is not a data type in java script.
Select correct option:

int
float
string
null

Question # 7 of 10 ( Start time: 01:41:52 AM ) Total Marks: 1
___________ will refer to an external script called “xyz.js”.
Select correct option:

<script file=”xyz.js”>
<script link=”xyz.js”>
<script src=”xyz.js”>
<script name=”xyz.js”>

Question # 8 of 10 ( Start time: 01:42:17 AM ) Total Marks: 1
The conditional statement “i is equal to 5” can be written as _____________.
Select correct option:

if (i == 5)
if (i = 5)
if (i is equal to 5)
if (i <> 5)

Question # 9 of 10 ( Start time: 01:42:34 AM ) Total Marks: 1
charAt() is the function/method of
Select correct option:

String object
Date object
Time object
Array object

Question # 10 of 10 ( Start time: 01:42:47 AM ) 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 # 1 of 10 ( Start time: 01:44:54 AM ) Total Marks: 1
Which loop type always runs the enclosed code at least once
Select correct option:

do while
for
while
none of them

Question # 2 of 10 ( Start time: 01:45:11 AM ) Total Marks: 1
_________ is not a comparison operator.
Select correct option:

>
<
!=
=

Question # 3 of 10 ( Start time: 01:45:25 AM ) 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 # 4 of 10 ( Start time: 01:45:37 AM ) Total Marks: 1
CSS definitions can be written in __________ to define the styles for entire site.
Select correct option:

Body section
Head section
Text file
Anywhere in the web page

Question # 5 of 10 ( Start time: 01:45:50 AM ) Total Marks: 1
Who is making the Web standards?
Select correct option:

International Standard Organization
ANSI
Microsoft
The World Wide Web Consortium

Question # 6 of 10 ( Start time: 01:47:17 AM ) Total Marks: 1
The second control statement in a for loop usually
Select correct option:

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

Question # 7 of 10 ( Start time: 01:47:34 AM ) Total Marks: 1
_________ object’s properties and functions are accessible every where.
Select correct option:

Local
Global
Predefined
All of the given

Question # 8 of 10 ( Start time: 01:47:47 AM ) Total Marks: 1
___________ will refer to an external script called “xyz.js”.
Select correct option:

<script file=”xyz.js”>
<script link=”xyz.js”>
<script src=”xyz.js”>
<script name=”xyz.js”>

Question # 9 of 10 ( Start time: 01:48:14 AM ) Total Marks: 1
Variables in java script can begin with _____________.
Select correct option:

dolloar sign
lower case letter
under score character
All of the given

Question # 10 of 10 ( Start time: 01:48:41 AM ) Total Marks: 1
__________ is an invalid JavaScript variable.
Select correct option:

3rd_name
first_name
secondName
$myName

Question # 1 of 10 ( Start time: 01:55:20 AM ) 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 # 2 of 10 ( Start time: 01:56:02 AM ) Total Marks: 1
For which of the following, XSL is the recommended as style sheet language?
Select correct option:

HTML
XML
HTML and XML
XSLT

Question # 3 of 10 ( Start time: 01:56:19 AM ) Total Marks: 1
<span> is used to apply style to ___________.
Select correct option:

text
image
frames
webpage

Question # 4 of 10 ( Start time: 01:56:48 AM ) Total Marks: 1
The conditional statement “i is not equal to 5” can be written as _____________.
Select correct option:

if (i<>5)
if (i != 5)
if (i not equal to 5)
if (i ! 5)

Question # 5 of 10 ( Start time: 01:57:02 AM ) Total Marks: 1
Which statement is true?
Select correct option:

All XML documents must have a DTD
All XML elements must be lower case
All the statements are true
All XML elements must be properly closed

Question # 6 of 10 ( Start time: 01:57:15 AM ) Total Marks: 1
_________ object’s properties and functions are accessible every where.
Select correct option:

Local
Global
Predefined
All of the given

Question # 7 of 10 ( Start time: 01:57:28 AM ) Total Marks: 1
What is the correct JavaScript syntax to insert a comment that has more than one line?
Select correct option:

/*This comment has more than one line*/
/#This comment has more than one line#/
<!–This comment has more than one line–>
none of the given

Question # 8 of 10 ( Start time: 01:57:53 AM ) Total Marks: 1
Which loop type always runs the enclosed code at least once
Select correct option:

do while
for
while
none of them

Question # 9 of 10 ( Start time: 01:58:07 AM ) Total Marks: 1
In what form style rules are presented?
Select correct option:

selector { property= value }
selector ( property: value )
selector { property: value }
selector ( property= value )

Question # 10 of 10 ( Start time: 01:58:23 AM ) 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 # 1 of 10 ( Start time: 02:01:26 AM ) Total Marks: 1
Font of an element can be changed in style sheets using ___________.
Select correct option:

font-face
font-type
font-family
font

Question # 2 of 10 ( Start time: 02:02:56 AM ) Total Marks: 1
The conditional statement “i is not equal to 5” can be written as _____________.
Select correct option:

if (i<>5)
if (i != 5)
if (i not equal to 5)
if (i ! 5)

Question # 3 of 10 ( Start time: 02:03:13 AM ) Total Marks: 1
JavaScript can be placed in __________.
Select correct option:

Head section
Body section
Both of the given
None of the given

Question # 4 of 10 ( Start time: 02:03:24 AM ) Total Marks: 1
What value is returned by getMonth in April?
Select correct option:

2
3
4
5

Question # 5 of 10 ( Start time: 02:04:32 AM ) Total Marks: 1
Constructor is defined as the initializing function used to create………..
Select correct option:

Instance / copy of object
copy of object
Instance of object
shallow copy of object

Question # 6 of 10 ( Start time: 02:04:52 AM ) Total Marks: 1
What is the correct JavaScript syntax to insert a comment that has more than one line?
Select correct option:

/*This comment has more than one line*/
/#This comment has more than one line#/
<!–This comment has more than one line–>
none of the given

Question # 7 of 10 ( Start time: 02:05:15 AM ) Total Marks: 1
i++ means ________.
Select correct option:

i=i+i
i=i+1
i=i+2
i=1+1

Question # 8 of 10 ( Start time: 02:05:28 AM ) Total Marks: 1
Correct javascript code for writing “hello world” is _______________.
Select correct option:

document.write(“hello world”)
write(“hello world”)
response.write(“hello world”)
None of the given

Question # 9 of 10 ( Start time: 02:05:44 AM ) Total Marks: 1
What does DTD stand for?
Select correct option:
Do The Dance
Dynamic Type Definition
Data Type Definition
Direct Type Définition

Question # 10 of 10 ( Start time: 02:05:59 AM ) Total Marks: 1
___________ is NOT an attribute of border.
Select correct option:

border-pattern
border-style
border-bottom-color
border-width

Question # 1 of 10 ( Start time: 02:10:19 AM ) Total Marks: 1
What is the correct HTML for adding a background color?
Select correct option:

<background>yellow</background>
<body color=”yellow”>
<body bgcolor=”yellow”>
<bgcolor>yellow</bgcolor>

Question # 2 of 10 ( Start time: 02:10:41 AM ) Total Marks: 1
___________ is NOT an attribute of border.
Select correct option:

border-pattern
border-style
border-bottom-color
border-width

Question # 3 of 10 ( Start time: 02:11:01 AM ) Total Marks: 1
Left margin of an element can be changed using _________.
Select correct option:

padding:
margin:
margin-left:
text-indent:

Question # 4 of 10 ( Start time: 02:11:28 AM ) Total Marks: 1
_________ tag is used to control the layout of different elements.
Select correct option:

css
style
span
None of the given

Question # 5 of 10 ( Start time: 02:11:45 AM ) Total Marks: 1
The conditional statement “i is not equal to 5” can be written as _____________.
Select correct option:

if (i<>5)
if (i != 5)
if (i not equal to 5)
if (i ! 5)

Question # 6 of 10 ( Start time: 02:11:59 AM ) 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 # 7 of 10 ( Start time: 02:12:11 AM ) Total Marks: 1
The second control statement in a for loop usually
Select correct option:

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

Question # 8 of 10 ( Start time: 02:12:24 AM ) Total Marks: 1
What does DTD stand for?
Select correct option:

Do The Dance
Dynamic Type Definition
Data Type Definition
Direct Type Définition

Question # 9 of 10 ( Start time: 02:12:37 AM ) Total Marks: 1
charAt() is the function/method of
Select correct option:

String object
Date object
Time object
Array object

Question # 10 of 10 ( Start time: 02:12:49 AM ) Total Marks: 1
Which is NOT a correct name for an XML element?
Select correct option:

<Note>
<1dollar>
All 3 tags are incorrect
<h1>

Question # 1 of 10 ( Start time: 02:15:25 AM ) Total Marks: 1
Which of the following is HTML tag could not be used as CSS tag?
Select correct option:

<h1>
<style>
<a>
<p>

Question # 2 of 10 ( Start time: 02:15:49 AM ) Total Marks: 1
Left margin of an element can be changed using _________.
Select correct option:

padding:
margin:
margin-left:
text-indent:

Question # 3 of 10 ( Start time: 02:16:04 AM ) Total Marks: 1
Font of an element can be changed in style sheets using ___________.
Select correct option:

font-face
font-type
font-family
font

Question # 4 of 10 ( Start time: 02:16:15 AM ) Total Marks: 1
Style sheets can be used in a web page using ________ method/s.
Select correct option:

Inline
Embedded
Document level and external
All of the given

Question # 5 of 10 ( Start time: 02:16:27 AM ) Total Marks: 1
Code: JavaScript var a = [“v”,”i”,”r”,”t”, “u”, “a”, “l”]; document.write(a.join(“-“)); What
would be the output of the above code fragment?
Select correct option:

virtual
virtual-
v:i:r:t:u:a:l
v-i-r-t-u-a-l

Question # 6 of 10 ( Start time: 02:17:36 AM ) Total Marks: 1
What is a correct way of referring to a stylesheet called “mystyle.xsl” ?
Select correct option:

<?xml-stylesheet type=”text/xsl” href=”mystyle.xsl” ?>
<link type=”text/xsl” href=”mystyle.xsl” />
<stylesheet type=”text/xsl” href=”mystyle.xsl” />
<?stylesheet type=”text/xsl” href=”mystyle.xsl” ?>

Question # 7 of 10 ( Start time: 02:18:36 AM ) Total Marks: 1
What is the correct HTML for adding a background color?
Select correct option:

<background>yellow</background>
<body color=”yellow”>
<body bgcolor=”yellow”>
<bgcolor>yellow</bgcolor>

Question # 8 of 10 ( Start time: 02:19:03 AM ) Total Marks: 1
Which of the following is NOT an advantage of CSS?
Select correct option:

Define the look of your pages in one place
Works on version 4 browsers or newer
Easily change the look
Implement same formatting each time tag is used.

Question # 9 of 10 ( Start time: 02:19:11 AM ) Total Marks: 1
Date () is the ——————– of the date object which provides current date of the
system.
Select correct option:

method
property
constructor
Destructor

Question # 10 of 10 ( Start time: 02:19:35 AM ) Total Marks: 1
__________ is a Java script comment.
Select correct option:

//comment
%comment
$comment
*comment*

Question # 1 of 10 ( Start time: 02:26:19 AM ) Total Marks: 1
We put the JavaScript in the following ___________ html element.
Select correct option:

<script>
<javascript>
<js>
<java_script>

Question # 2 of 10 ( Start time: 02:26:45 AM ) Total Marks: 1
What does XML stand for?
Select correct option:


eXtra Modern Link
X-Markup Language
eXtensible Markup Language
Example Markup Language

Question # 3 of 10 ( Start time: 02:28:09 AM ) Total Marks: 1
CSS definitions can be written in __________ to define the styles for entire site.
Select correct option:

Body section
Head section
Text file
Anywhere in the web page

Question # 4 of 10 ( Start time: 02:28:26 AM ) Total Marks: 1
Which loop type always runs the enclosed code at least once
Select correct option:

do while
for
while
none of them

Question # 5 of 10 ( Start time: 02:28:45 AM ) Total Marks: 1
The conditional statement “i is not equal to 5” can be written as _____________.
Select correct option:

if (i<>5)
if (i != 5)
if (i not equal to 5)
if (i ! 5)

Question # 6 of 10 ( Start time: 02:28:57 AM ) Total Marks: 1
___________ will refer to an external script called “xyz.js”.
Select correct option:

<script file=”xyz.js”>
<script link=”xyz.js”>
<script src=”xyz.js”>
<script name=”xyz.js”>

Question # 7 of 10 ( Start time: 02:29:19 AM ) Total Marks: 1
In case mouse moves over a link, ________ event will be detected.
Select correct option:

onMouseOver
onRollOver
overMouse
All of the given

Question # 8 of 10 ( Start time: 02:29:32 AM ) Total Marks: 1
Variables in java script can begin with _____________.
Select correct option:

dolloar sign
lower case letter
under score character
All of the given

Question # 9 of 10 ( Start time: 02:29:47 AM ) Total Marks: 1
Padding is the space between __________.
Select correct option:

Two tables
Two borders
Content and border
Border and window

Question # 10 of 10 ( Start time: 02:31:13 AM ) Total Marks: 1
The second control statement in a for loop usually
Select correct option:

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

Question # 1 of 10 ( Start time: 02:34:20 AM ) Total Marks: 1
_________ is not a comparison operator.
Select correct option:

>
<
!=
=

Question # 2 of 10 ( Start time: 02:34:33 AM ) Total Marks: 1
In java script “alert” function displays ________.(Chose best suitable answer)
Select correct option:

Popup window
Web page
Task bar
Menu bar

Question # 3 of 10 ( Start time: 02:34:48 AM ) Total Marks: 1
________ is not a data type in java script.
Select correct option:

int
float
string
null

Question # 4 of 10 ( Start time: 02:34:59 AM ) Total Marks: 1
What is the correct HTML for making a text input field?
Select correct option:

<input type=”textfield”>
<input type=”text”>
<textfield>
<textinput type=”text”>
Question # 5 of 10 ( Start time: 02:35:20 AM ) Total Marks: 1
__________ is a Java script comment.
Select correct option:

//comment
%comment
$comment
*comment*

Question # 6 of 10 ( Start time: 02:35:34 AM ) Total Marks: 1
Code: JavaScript var a = [“v”,”i”,”r”,”t”, “u”, “a”, “l”]; document.write(a.join(“-“)); What
would be the output of the above code fragment?
Select correct option:

virtual
virtual-
v:i:r:t:u:a:l
v-i-r-t-u-a-l

Question # 7 of 10 ( Start time: 02:35:49 AM ) Total Marks: 1
___________ will refer to an external script called “xyz.js”.
Select correct option:

<script file=”xyz.js”>
<script link=”xyz.js”>
<script src=”xyz.js”>
<script name=”xyz.js”>

Question # 8 of 10 ( Start time: 02:36:13 AM ) Total Marks: 1
Variables in java script can begin with _____________.
Select correct option:

dolloar sign
lower case letter
under score character
All of the given

Question # 9 of 10 ( Start time: 02:36:26 AM ) Total Marks: 1
Which loop type always runs the enclosed code at least once
Select correct option:

do while
for
while
none of them
Question # 10 of 10 ( Start time: 02:36:38 AM ) Total Marks: 1
The conditional statement “i is not equal to 5” can be written as _____________.
Select correct option:

if (i<>5)
if (i != 5)
if (i not equal to 5)
if (i ! 5)

Question # 1 of 10 ( Start time: 02:39:30 AM ) Total Marks: 1
<span> is used to apply style to ___________.
Select correct option:

text
image
frames
webpage

Question # 2 of 10 ( Start time: 02:39:41 AM ) Total Marks: 1
Which one of the following is the correct HTML tag for making a drop-down list?
Select correct option:

<input type=”list”>
<input type=”dropdown”>
<select>
<list>

Question # 3 of 10 ( Start time: 02:41:36 AM ) Total Marks: 1
In case mouse moves over a link, ________ event will be detected.
Select correct option:

onMouseOver
onRollOver
overMouse
All of the given

Question # 4 of 10 ( Start time: 02:41:53 AM ) Total Marks: 1
__________ is a Java script comment.
Select correct option:

//comment
%comment
$comment
*comment*

Question # 5 of 10 ( Start time: 02:42:03 AM ) Total Marks: 1
In what form style rules are presented?
Select correct option:

selector { property= value }
selector ( property: value )
selector { property: value }
selector ( property= value )

Question # 6 of 10 ( Start time: 02:42:14 AM ) Total Marks: 1
i++ means ________.
Select correct option:

i=i+i
i=i+1
i=i+2
i=1+1

Question # 7 of 10 ( Start time: 02:42:24 AM ) Total Marks: 1
Font of an element can be changed in style sheets using ___________.
Select correct option:

font-face
font-type
font-family
font

Question # 8 of 10 ( Start time: 02:42:34 AM ) Total Marks: 1
___________ is a valid JavaScript variable.
Select correct option:

first_name
2nd_name
third name
*lastname*

Question # 9 of 10 ( Start time: 02:42:45 AM ) Total Marks: 1
Which of the following is NOT an advantage of CSS?
Select correct option:

Define the look of your pages in one place
Works on version 4 browsers or newer
Easily change the look
Implement same formatting each time tag is used.

Question # 10 of 10 ( Start time: 02:43:00 AM ) Total Marks: 1
The second control statement in a for loop usually
Select correct option:

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

Question # 1 of 10 ( Start time: 02:45:31 AM ) Total Marks: 1
___________ will refer to an external script called “xyz.js”.
Select correct option:

<script file=”xyz.js”>
<script link=”xyz.js”>
<script src=”xyz.js”>
<script name=”xyz.js”>

Question # 2 of 10 ( Start time: 02:45:51 AM ) 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 # 3 of 10 ( Start time: 02:46:02 AM ) Total Marks: 1
Which you will NOT be able to do with CSS?
Select correct option:

Add text
Position the content
Define the look of your pages in one place
Change the background color

Question # 4 of 10 ( Start time: 02:47:18 AM ) Total Marks: 1
__________ is an event handler in JavaScript.
Select correct option:

None of the given
onloading
onpress
onbuttondown

Question # 5 of 10 ( Start time: 02:47:32 AM ) Total Marks: 1
Actions that can be detected by javascript are called _____________. (Chose best
suitable option)
Select correct option:

Events
Functions
Methods
Hyper links

Question # 6 of 10 ( Start time: 02:47:56 AM ) Total Marks: 1
Which loop type always runs the enclosed code at least once
Select correct option:

do while
for
while
none of them

Question # 7 of 10 ( Start time: 02:48:08 AM ) Total Marks: 1
<span> is used to apply style to ___________.
Select correct option:

text
image
frames
webpage

Question # 8 of 10 ( Start time: 02:48:19 AM ) 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 # 9 of 10 ( Start time: 02:48:34 AM ) Total Marks: 1
Which of the following is HTML tag could not be used as CSS tag?
Select correct option:

<h1>
<style>
<a>
<p>

Question # 10 of 10 ( Start time: 02:48:55 AM ) Total Marks: 1
Correct javascript code for writing “hello world” is _______________.
Select correct option:

document.write(“hello world”)

write(“hello world”)
response.write(“hello world”)
None of the given

Question # 9 of 10 ( Start time: 03:11:04 AM ) Total Marks: 1
What is the correct HTML for adding a background color?
Select correct option:

<background>yellow</background>
<body color=”yellow”>
<body bgcolor=”yellow”>
<bgcolor>yellow</bgcolor>

Question # 10 of 10 ( Start time: 03:11:19 AM ) Total Marks: 1
The conditional statement “i is equal to 5” can be written as _____________.
Select correct option:

if (i == 5)
if (i = 5)
if (i is equal to 5)
if (i <> 5)

Question # 2 of 10 ( Start time: 03:15:14 AM ) Total Marks: 1
What is the correct HTML for making a hyperlink?
Select correct option:

<a href=”http://www.w3schools.com”> W3Schools</a>
<a name=”http://www.w3schools.com”> W3Schools.com</a>
<a url =”http://www.w3schools.com”> W3Schools.com </a>
<a>http://www.w3schools.com</a>

Question # 1 of 10 ( Start time: 04:28:17 AM ) Total Marks: 1
Date () is the ——————– of the date object which provides current date of the
system.
Select correct option:

method
property
constructor
Destructor

Question # 2 of 10 ( Start time: 04:28:24 AM ) Total Marks: 1
__________ is an invalid JavaScript variable.
Select correct option:

3rd_name
first_name
secondName
$myName

Question # 3 of 10 ( Start time: 04:28:30 AM ) 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 # 4 of 10 ( Start time: 04:28:36 AM ) Total Marks: 1
Border-width: specifies the width of all borders in the order ______________.
Select correct option:

border right width, border bottom width, border left width, border top width
border top width, border right width, border bottom width, border left width
border bottom width, border left width, border top width, border right width
border bottom width, border top width, border left width, border right width

Question # 5 of 10 ( Start time: 04:28:44 AM ) Total Marks: 1
_________ object’s properties and functions are accessible every where.
Select correct option:

Local
Global
Predefined
All of the given

Question # 6 of 10 ( Start time: 04:28:49 AM ) Total Marks: 1
What does XML stand for?
Select correct option:

eXtra Modern Link
X-Markup Language
eXtensible Markup Language
Example Markup Language

Question # 7 of 10 ( Start time: 04:28:56 AM ) Total Marks: 1
Left margin of an element can be changed using _________.
Select correct option:

padding:
margin:
margin-left:  not Sure
text-indent:

Question # 8 of 10 ( Start time: 04:29:01 AM ) Total Marks: 1
___________ is a valid JavaScript variable.
Select correct option:

first_name
2nd_name
third name
*lastname*

Question # 9 of 10 ( Start time: 04:29:08 AM ) Total Marks: 1
Padding is the space between __________.
Select correct option:

Two tables
Two borders
Content and border
Border and window

Question # 10 of 10 ( Start time: 04:29:14 AM ) Total Marks: 1
Which of the following is HTML tag could not be used as CSS tag?
Select correct option:

<h1>
<style>
<a>
<p>

Check Also

IT430 Assignment no 03 Spring 2013

ASSIGNMENT NO 3 SPRING 2013 LAST DATE: 16-05-2013 Rules for Marking  It should be clear that …

3 comments

Leave a Reply

Your email address will not be published. Required fields are marked *

*