MIDTERM EXAMINATION
Spring 2009
IT430- E-Commerce (Session - 4)
Question No: 1 ( Marks: 1 ) - Please choose one
In datalink layer, data packets are placed inside
► Data frames
► Data boxes
► Data streams
► None of these
Data link layer
It places data packets into data frames. Network Interface Card Drivers/Protocols operate at this
layer. It is used to identify MAC or hardware address of computer machines. A mathematical
calculation, Cyclical Redundancy Check (CRC), takes place here to confirm integrity of data frames
Question No: 2 ( Marks: 1 ) - Please choose one
Which of these is the correct HTML code for creating a reset button?
► <input type =”button” name=”reset” value=”reset”>
► <input type=”resetButton” value=”Clear”>
► <input type=”reset” value=”reset”>
► <input type=”button” name=”reset” value=”clear”>
Submit and reset button
To create a submit or reset button use the following instruction within the form tag: <Input
type=“submit” value=“label”> <Input type=“Reset” value=“label”>
“Label” is the value that appears on the button. You may not want to use „value‟ attribute
Question No: 3 ( Marks: 1 ) - Please choose one
…..tag is used into …….tag because a row contains multi cells and to fill up these
cells with data.
► TD…… TR
► TR…… TD
► TD…… TG
► TG…… TR
http://www.allvupastpapers.blogspot.com/ Question No: 4 ( Marks: 1 ) - Please choose one
Individuals who write programs or manipulate technologies to gain unauthorized
access to computers and networks are --------------- .
► administrators
► experts
► hackers
► coders
Question No: 5 ( Marks: 1 ) - Please choose one
Which tag is used for the hidden fields?
► <FIELD>
► <TEXT>
► <INPUT>
► <HIDDEN>
Question No: 6 ( Marks: 1 ) - Please choose one
What is a correct way of referring to a stylesheet called "mystyle.xsl" ?
► <?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" ?>
http://www.allvupastpapers.blogspot.com/ Question No: 7 ( Marks: 1 ) - Please choose one
Which of them is NOT a predefined object?
► Document
► Date
► Loop
► Array
Question No: 8 ( Marks: 1 ) - Please choose one
Which of these is not a comparison operator?
► <
► >
► =
► !=
Question No: 9 ( Marks: 1 ) - Please choose one
Var d = new date()
Which of the following is correct about the d variable?
► instance of new
► instance of Date() method
► instance of Date object
► Simple Variable
Question No: 10 ( Marks: 1 ) - Please choose one
When you declare a variable within a function, the variable can only be accessed within
that function. When you exit the function, the variable is destroyed. These variables are
called
► Local Variables
► Global Variables
► Local and Global
► None of the above
http://www.allvupastpapers.blogspot.com/ Question No: 11 ( Marks: 1 ) - Please choose one
Which of the following , is condition part of given For loop
for (i = 0; i <= 5; i++).
► i=0.
► i++.
► i<=5.
► (i = 0; i <= 5; i++).
Question No: 12 ( Marks: 1 ) - Please choose one
What is the correct JavaScript syntax to write "Virtual University of Paistan"?
► document.write("Virtual University of Paistan ")
► ("Virtual University of Paistan ")
► " Virtual University of Paistan "
► response.write("Virtual University of Paistan ")
Question No: 13 ( Marks: 1 ) - Please choose one
Which of the following is NOT valid HTML code line?
► <frameset rows="16%,84%">
► <frameset columns="16%,84%">
► <frameset cols="100,150">
► <frameset cols=”50%,50%” rows=”16%,84%”>
Question No: 14 ( Marks: 1 ) - Please choose one
CSS is a breakthrough in Web design because it allows developers to control the---------
► Processing speed on client side
► Data grid view on client side
► Style and layout of home page.
► Style and layout of multiple Web pages
http://www.allvupastpapers.blogspot.com/ Question No: 15 ( Marks: 1 ) - Please choose one
Which HTML tag is used to define an internal style sheet?
► <css>
► <script>
► <style>
► <sheet>
Question No: 16 ( Marks: 1 ) - Please choose one
What is the correct HTML tag for adding a background color?
► <background>yellow</background>
► <body bgcolor="yellow">
► <body color="yellow">
► None
Question No: 17 ( Marks: 1 )
What does this mean?
padding-right
Question No: 18 ( Marks: 1 )
Do you agree or not that using Cascading Style Sheets one can apply an image
to sections of one‟s
page or even to individual words.
http://www.allvupastpapers.blogspot.com/ Question No: 19 ( Marks: 2 )
Suppose, there is an applet at "http://www.vu.edu.pk/demo.class". Write the
code to include this applet in your web page.
Question No: 20 ( Marks: 3 )
What do you think, is there any difference between Static and Dynamic IP Address
assignment? Discuss.
Question No: 21 ( Marks: 5 )
What is cryptography? What techniques are used for cryptography?
Question No: 22 ( Marks: 10 )
Analyze the following given code showing some Cascading Style Sheets tags and
explain its lines one by one.
<html>
<head>
<style type="text/css">
h1 {text-decoration: overline}
h2 {text-decoration: line-through}
h3 {text-decoration: underline}
a {text-decoration: none}
</style>
</head>
<body>
<h1>This is header 1</h1>
<h2>This is header 2</h2>
<h3>This is header 3</h3>
<p><a href="http://www.w3schools.com/default.asp">This is a link</a></p>
</body>
</html>
http://www.allvupastpapers.blogspot.com/
No comments:
Post a Comment
PLEASE COMMENT ABOUT YOUR VISIT AND MY SITE
Note: Only a member of this blog may post a comment.