0% found this document useful (0 votes)
58 views

IT430 - E-Commerce - Solved - MID Term Paper - 05

This document contains a midterm exam for an IT430 E-Commerce course. It includes 26 multiple choice and short answer questions covering topics like networking, email protocols, HTML, CSS, JavaScript, web servers, cryptography, and the differences between interpreted and compiled programming languages. Students are instructed to choose the correct answer for multiple choice questions and provide brief written responses for the short answer and longer questions. The document encourages students to visit a website to access more exam papers.

Uploaded by

Rimsha Tariq
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
58 views

IT430 - E-Commerce - Solved - MID Term Paper - 05

This document contains a midterm exam for an IT430 E-Commerce course. It includes 26 multiple choice and short answer questions covering topics like networking, email protocols, HTML, CSS, JavaScript, web servers, cryptography, and the differences between interpreted and compiled programming languages. Students are instructed to choose the correct answer for multiple choice questions and provide brief written responses for the short answer and longer questions. The document encourages students to visit a website to access more exam papers.

Uploaded by

Rimsha Tariq
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

FOR MORE PAPERS | LOGON TO WWW.VUSSS.

COM
MID TERM

IT430 - E-Commerce

Question No: 1 ( Marks: 1 ) - Please choose one


In star network features a central connection point called a "hub" that ought
to be only a hub.
_ True
_ False

Question No: 2 ( Marks: 1 ) - Please choose one


Switch is a device that joins multiple computers together within one local area
network (LAN).
_ True (page 15)
_ False

Question No: 3 ( Marks: 1 ) - Please choose one


Switch generally contains more "intelligence" than a hub.
_ True
_ False

Question No: 4 ( Marks: 1 ) - Please choose one


In which protocol, the messages are not deleted from email server.
_ SMTP
_ POP3
_ IMAP (page 18)
_ ICMP

Question No: 5 ( Marks: 1 ) - Please choose one


Which protocol does Virtual university use to send email to student Accounts?
_ SMTP
_ POP
_ IMAP
_ TCP

Question No: 6 ( Marks: 1 ) - Please choose one


For which one of the following,<MARQUEE ...> tag can work better
_ News headlines
_ Announcements
_ Sound pulgin
_ Movie controls

Question No: 7 ( Marks: 1 ) - Please choose one


Can you add a style in a single place on a page ?
_ Yes, with a style-definition written into the tag

FOR MORE PAPERS | LOGON TO WWW.VUSSS.COM


Page 1 of 5
FOR MORE PAPERS | LOGON TO WWW.VUSSS.COM
MID TERM

_ Yes, with a global style definition that redefines the tag.


_ No - CSS can only be defined for entire pages.

Question No: 8 ( Marks: 1 ) - Please choose one


Which CSS tag is used to place an image that would remain when user scrolls
down or up the page?
_ background-attachment: fixed
_ background-attachment: scroll
_ background-attachment: up
_ All of these

Question No: 9 ( Marks: 1 ) - Please choose one


What shall come in blanks for proper result, Here blanks are numbered with
1,2 and 3
<html>
<head>
<SCRIPT language="JavaScript">
Var num1, var num2
Document.container .result.value=parseFloat(num1)-parseFloat(num2)
</script>
</head>
<body>
<FORM name=”---------1-----------”>
<input type=”----------2-------” name=”-------3---------” maxlength=”5”>
</form>
</body>
</html>
_ container, text and result
_ result, value and container
_ container , button and value
_ result, container and text

Question No: 10 ( Marks: 1 ) - Please choose one


Correct syntax of "for" loop is :
_ for (i = 0; i <= 5)
_ for i = 1 to 5
_ for (i <= 5; i++)
_ for (i = 0; i <= 5; i++)

FOR MORE PAPERS | LOGON TO WWW.VUSSS.COM


Page 2 of 5
FOR MORE PAPERS | LOGON TO WWW.VUSSS.COM
MID TERM

Question No: 11 ( Marks: 1 ) - Please choose one


CGI stands for
_ Common Gate Information
_ Common Gate Interface (PAGE 82)
_ Common Goal Interest
_ Common Global Interaction

Question No: 12 ( Marks: 1 ) - Please choose one


Which of the following property falls in HTTP?
_ Stateless
_ Stateful
_ Temporary
_ All of these

Question No: 13 ( 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" ?>

Question No: 14 ( Marks: 1 ) - Please choose one


Which of the following does not interpret its code?
_ ASP
_ PHP
_ JSP (page 85)
_ Coldfusion

Question No: 15 ( Marks: 1 ) - Please choose one


Asymmetric cryptography is also called -------------- .
_ Public key cryptography (PAGE 100)
_ Private key cryptography
_ Substitution cryptography
_ Transposition

Question No: 16 ( Marks: 1 ) - Please choose one


Digital signature uses --------- .
_ Symmetric cryptography
_ Private key cryptography
_ Public key cryptography (PAGE 100)
_ Hash function

FOR MORE PAPERS | LOGON TO WWW.VUSSS.COM


Page 3 of 5
FOR MORE PAPERS | LOGON TO WWW.VUSSS.COM
MID TERM

Question No: 17 ( Marks: 1 ) - Please choose one


Which one of the following is NOT a valid JavaScript variable?
_ _name1
_ $studentScore
_ first_name
_ 2ndName

Question No: 18 ( 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”> (page 61)
_ <input type=”button” name=”reset” value=”clear”>

Question No: 19 ( Marks: 1 ) - Please choose one


Why we use reset tag in HTML?
_ To remove the text written in Notepad.
_ To remove the text written in between <body> and </body>tag.
_ To remove the text written in between <head> and </head> tag.
_ To remove the text written in between <form> and </form> tag. (page 61)

Question No: 20 ( Marks: 1 ) - Please choose one


http://cs.vu.edu is an example of
_ Two zone ___domain name
_ Three zone ___domain name
_ Four zone ___domain name
_ Five zone ___domain name

Question No: 21 ( Marks: 2 )


How Certification Authority (CA) issues the certificates? Describe briefly.

Question No: 22 ( Marks: 2 )


Discuss the role of child element tags while in writing XML code.

Question No: 23 ( Marks: 3 )


Performance of web servers can be evaluated mainly on the basis of two
factors. What are they?

Question No: 24 ( Marks: 3 )


Write a function for the addition of two numbers?

FOR MORE PAPERS | LOGON TO WWW.VUSSS.COM


Page 4 of 5
FOR MORE PAPERS | LOGON TO WWW.VUSSS.COM
MID TERM

Question No: 25 ( Marks: 5 )


Write the JavaScript code which will display the following in a web page using
a FOR loop:
The number is 0
The number is 1
The number is 2
The number is 3
The number is 4
The number is 5

Question No: 26 ( Marks: 5 )


What is the difference between an interpreted and a compiled language? Give
one example of each.

FOR MORE PAPERS | LOGON TO WWW.VUSSS.COM


Page 5 of 5

You might also like