Tuesday , 3 December 2024

IT430 Solved Mid Term Papers Mega Collection

Question No: 1    ( Marks: 1 )    – Please choose one
Tcp/Ip  consists of ——————-.

4 layers
7 layers
9 layers
None of the given
Question No: 2    ( Marks: 1 )    – Please choose one
What one of the following is not a HTTP four set step process per transaction?
Client
Server accepts request
Server download the page
Server breaks the connections
HTTP is a four step process per transaction
1. Client
Makes an HTTP request for a web page
Makes a TCP/IP connection
2. Sever accepts request
Sends page as HTTP
1 Client downloads the page
2 Server breaks the connection
pg3
Question No: 3    ( Marks: 1 )    – Please choose one
A which layer of the OSI model the circuit level firewall operates?
Application layer
Presentation layer
Network layer
Transport layer
Circuit level firewall
It is quite similar to the packet filter firewall. It also works on the basis of a set of
rules for filtering packets but operates at the transport layer of the OSI Model so has
greater functionality. As a rule, the higher the layer of OSI model where a firewall
operates, the more sophisticated is the firewall.
Pg 96
Question No: 4    ( Marks: 1 )    – Please choose one
Which one of them is not a web server software?
Internet information server
Sun one web server
MS SQL server
Apache HTTP server
Web Server Software Common examples of web server software are Apache HTTP
server, MS Internet Information Server (IIS) and Sun ONE web server. Apache is
open source code developed in 1994. pg91
Question No: 5    ( Marks: 1 )    – Please choose one
What are the three methods for using style sheet with a web page?
Dreamweaver ,Golive or front page
This is My paper mcq, Sorry Remaining 3 options I can’t remember.
Question No: 6    ( Marks: 1 )    – Please choose one
_________ is not a comparison operator.
>
<
!=
=
Question No: 7    ( Marks: 1 )    – Please choose one
In CSS, how do you make the text bold?
font:b
font-style:bold
font-size:bold
font-weight:bold
Question No: 8    ( Marks: 1 )    – Please choose one
_______________ will display the border having top border = 10 pixels, bottom
border =5 pixels, left border = 20 pixels and right border = 1 pixel.

 

 

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 No: 9    ( Marks: 1 )    – Please choose one
The control statement on a while loop is tested
once at the start
after each time through the loop
once at the end
before each time through the loop
Question No: 10    ( Marks: 1 )    – Please choose one
The first control statement in a for loop usually
increments a counter
sets the termination condition
creates a control va riable
All of the given
Question No: 11    ( Marks: 1 )    – Please choose one
How does a “for” loop start?
for i = 1 to 8
for (i = 0; i <= 8)
for (i = 0; i <= 8; i++)
for (i <= 8; i++)
Question No: 12    ( Marks: 1 )    – Please choose one
_________ will refer to an external script called “xyz.js”.
<script file=”xyz.js”>
<script link=”xyz.js”>
<script src=”xyz.js”>
<script name=”xyz.js”>
Question No: 13    ( Marks: 1 )    – Please choose one
For which of the following, XSL is the recommended as style sheet language?
HTML
XML
HTML and XML
XSLT

 

 

Question No: 14    ( Marks: 1 )    – Please choose one
border-color: specifies the color of all borders in the order________________.
border right color, border bottom color, border left color, border top color
border top color, border right color, border bottom color, border lef t 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 No: 15    ( Marks: 1 )    – Please choose one
The second control statement in a for loop usually
increments a counter
sets the termination condition
creates a control v ariable
none of the given
Question No: 16    ( Marks: 1 )    – Please choose one
Border-width: specifies the width of all borders in the order ______________.
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 No: 17    ( Marks: 1 )    – Please choose one
What is the correct HTML for adding a background color?
<background>yellow</back ground >
<body color=”yellow”>
<body bgcolor=”yellow”>
<bgcolor>yellow</bgcolor>
Question No: 18    ( Marks: 1 )    – Please choose one
__________ is a Java script comment.
//comment
%comment
$comment
*comment*
Question No: 19    ( Marks: 1 )    – Please choose one
Date () is the ——————– of the date object which provides current date of
the system.

 

 

method
property
constructor
Destructor
Question No: 20    ( Marks: 1 )    – Please choose one
Left margin of an element can be changed using _________.
padding:
margin:
margin-left:
text-indent:
Question No: 21    ( Marks: 1 )    – Please choose one
In case mouse moves over a link, ________ event will be detected.
onMouseOver
onRollOver
overMouse
All of the given
Question No: 22    ( Marks: 1 )    – Please choose one
CSS definitions can be written in __________ to def ine the styles for entire site.
Body section
Head section
Text file
Anywhere in the web page
Question No: 23    ( Marks: 1 )    – Please choose one
Correct javascript code for writing “hello world” is _______________.
document.write(“hello world”)
write(“hello world”)
response.write(“hello world”)
None of the given
Question No: 24    ( Marks: 1 )    – Please choose one
Which of the following is HTML tag could not be used as CSS tag?
<h1>
<style>
<a>
<p>

 

 

Question No: 25    ( Marks: 1 )    – Please choose one
We put the JavaScript in the following ___________ html element.
<script>
<javascript>
<js>
<java_script>
Question No: 26    ( Marks: 1 )    – Please choose one
i++ means ________.
i=i+i
i=i+1
i=i+2
i=1+1
Question No: 27    ( Marks: 1 )    – Please choose one
What is the correct JavaScript syntax to insert a comment that has more than
one line?
/*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 No: 28    ( Marks: 1 )    – Please choose one
In what form style rules are presented?
selector { property= value }
selector ( property: value )
selector { property: value }
selector ( property= value )
Question No: 29  ( Marks: 1 )    – Please choose one
__________ is an invalid JavaScript variable.
3rd_name
first_name
secondName
$myName
Question No: 30  ( Marks: 1 )    – Please choose one
!= comparison operator means __________.

 

 

Equal to
Not equal to
Greater than
None of the given
Question No: 31  ( Marks: 1 )    – Please choose one
Actions that can be detected by javascript are called _____________. (Chose best
suitable option)
Events
Functions
Methods
Hyper links
Question No: 32    ( Marks: 1 )    – Please choose one
Which statement is true?
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 No: 33  ( Marks: 1 )    – Please choose one
charAt() is the function/method of
String object
Date object
Time object
Array object
Question No: 34  ( Marks: 1 )    – Please choose one
<span> is used to apply style to ___________.
text
image
frames
webpage
Question No: 35   ( Marks: 1 )    – Please choose one
Which loop type always runs the enclosed code at least once
do while
for
while
none of them

 

 

Question No: 36  ( Marks: 1 )    – Please choose one
The conditional statement “i is not equal to 5” can be written as _____________.
if (i<>5)
if (i != 5)
if (i not equal to 5)
if (i ! 5)
Question No: 37  ( Marks: 1 )    – Please choose one
________ is not a data type in java script.
int
float
string
null
Question No: 38    ( Marks: 1 )    – Please choose one
_________ object’s properties and functions are accessible every where.
Local
Global
Predefined
All of the given
Question No: 39  ( Marks: 1 )    – Please choose one
In java script “alert” function displays ________.(Chose best suitable answer)
Popup window
Web page
Task bar
Menu bar
Question No: 40  ( Marks: 1 )    – Please choose one
_________ tag is used to control the layout of different elements.
css
style
span
None of the given
Question No: 41   ( Marks: 1 )    – Please choose one
Style sheets can be used in a web page using ________ method/s.

 

 

Inline
Embedded
Document level and external
All of the given
Question No: 42  ( Marks: 1 )    – Please choose one
JavaScript can be placed in __________.
Head section
Body section
Both of the given
None of the given
Question No:  43  ( Marks: 1 )    – Please choose one
The conditional statement “i is equal to 5” can be written as _____________.
if (i == 5)
if (i = 5)
if (i is equal to 5)
if (i <> 5)
Question No: 44 ( Marks: 1 )    – Please choose one
Variables in java script can begin with _____________.
dolloar sign
lower case letter
under score character
All of the given
Question No: 45 ( Marks: 1 )    – Please choose one
What value is returned by getMonth in April?
2
3
4
5
Question No: 46  ( Marks: 1 )    – Please choose one
___________ is NOT an attribute of border.
border-pattern
border-style
border-bottom-color
border-width

 

 

Question No: 47  ( Marks: 1 )    – Please choose one
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?
virtual
virtual-
v:i:r:t:u:a:l
v-i-r-t-u-a-l
Question No: 48  ( Marks: 1 )    – Please choose one
Padding is the space between __________.
Two tables
Two borders
Content and border
Border and window
Question No: 49   ( Marks: 1 )    – Please choose one
Which one of the following is the correct HTML tag for making a drop-down
list?
<input type=”list”>
<input type=”dropdown”>
<select>
<list>
http://wiki.answers.com/Q/What_is_the_correct_HTML_for_making_a_drop-
down_list
Question No: 50  ( Marks: 1 )    – Please choose one
Which you will NOT be able to do with CSS?
Add text
Position the content
Define the look of your pages in one place
Change the background color
Question No: 51   ( Marks: 1 )    – Please choose one
_________ attribute indicates the unique field name f or a checkbox.
• Type
• Name
• Input
• Value
Question No: 52   (Marks: 1)    – Please choose one
In HTML, depending upon which tag is used, the enclosed content can then have
Specific effect
Style
Format
Specific effect, style and format
Question No:  53 (Marks: 1)    – Please choose one
Which of the following is true for selection list?
<select name=”field name” size=”no. of items”>
<select “name=field name” size=”no. of items”></select>
<select na me=”field name” size=”no. of  items”></select>
None of the above
Question No: 54   (Marks: 1)    – Please choose one
List tag used in html is ______
Paired
Unpaired
Single
None of the given options
Question No:  55 (Marks: 1)    – Please choose one
What is identified by the tag?
Horizontal frame
Bottom Frame
Top Frame
Vertical Frame
Question No: 56   (Marks: 1)    – Please choose one
HTML documents are connected with each other by ________.
Big Tag
Small Tag
Link Tag
None of the given options
Question No:  57 (Marks: 1)    – Please choose one
The web addresses are first translated into IP address through ________
SMTP
HTML
IPV6
DNS
Question No:  58 (Marks: 1)    – Please choose one
In Style sheets, how do you change the text color of an element?
color:
text-color=
text-color:
font-color:
Question No: 59   ( Marks: 1 )    – Please choose one
________ is used to interpret and show contents of  the web page.
• HTML
• Notepad
• Browser
• Computer
Question No: 60   ( Marks: 1 )    – Please choose one
A _________ is a web page populated with text boxes, drop-down lists and
commands buttons to get information from the user.
• Hypertext Link
• Form
• Table
• Button
Question No: 61   ( Marks: 1 )    – Please choose one
Links are used to connect ____________
• Images
• Text
• Images and web documents
• All of the given
Question No: 62   ( Marks: 1 )    – Please choose one
When a visitor clicks a _________, the entries in form are set to the def ault values.
• Button
• Radio Button
• Submit Button
• Reset Button
Question No:  63  ( Marks: 1 )    – Please choose one
Which of the following are correct tags used for frames
,
• <Frame></Frame>
• <Frameset><Frame></Frame></Frameset>
• <Frameset><Frame></Frameset>
• <Frameset><Frame></Frame>
Question No: 64   ( Marks: 1 )    – Please choose one
question_2you: if you have a less space for e-mails on internet then _________
protocol is used.
• SMTP
• IMAP
• POP
• POP3
Question No: 65   ( Marks: 1 )    – Please choose one
_____________ are normally used to get yes/no or true/false information from a
reader.
• Check Boxes
• Radio buttons
• Submit Buttons
• Selection List
Question No:  66  ( Marks: 1 )    – Please choose one
Default web page background color is __________.
• Green
• Red
• White
• Blue
Question No:  67  ( Marks: 1 )    – Please choose one
What is the meaning of SRC in frame tag?

 

 

• Source for image saved on your disk
• Source for images saved on your disk
• Source of page saved on your disk
• Source of Pages saved on your disk
correct this src means source for image saved on ur disk REF BY
usman2114
Question No: 68   ( Marks: 1 )    – Please choose one
__________ is the code for blank space in HTML.
• &lsquo;
• &nbsp;
• &sbquo;
• &iexcl;
Question No: 69   ( Marks: 1 )    – Please choose one
Which CSS property controls the text size?
• font-style
• font-size
• text-style
• text-size
Question No: 70   ( Marks: 1 )    – Please choose one
Meta Data is important for easier ____________.
• Web page creation
• Web site upload
• Web page search thro ugh search engine
• None of the above
Question No: 71   ( Marks: 1 )    – Please choose one
Which HTML attribute is used to define inline styles?
• Styles
• Text
• Style
• CSS
Question No:  72  ( Marks: 1 )    – Please choose one
Which attribute can be used to make a region non-clickable?
none of the given
target
alt

 

 

nohref
‘Nohref’ attribute can be used to make a r egion non-clickable. PG37
Question No:  73  ( Marks: 1 )    – Please choose one
With _________, you can display more than one Web page in the same browser
window.
• Forms
• Frames
• Post Action
• Java Scripts
Question No:   74 ( Marks: 1 )    – Please choose one
In CSS, how do you make the text bold?
• font:b
• font-size:bold
• font-weight:bold
• none
Question No:  75  ( Marks: 1 )    – Please choose one
Which of the following provides an interface & series for file transfer over the
network?
• HTTP
• FT P
• Telnet
• None
Question No:  76 (Marks: 1)    – Please choose one
__________________ connects a local computer with a remot e computer.
• SMPT
• VPN
• Telnet
• none
Question No:  77 (Marks: 1)    – Please choose one
Which of the followings provide e-mail services on the internet?
• MAC
• Telnet
• none

 

 

• SMPT
Question No: 78   (Marks: 1)    – Please choose
one
________________ is connectionless transport protocol.
• SMPT
• TCP
• UDP
• MAC
Question No: 79   (Marks: 1)    – Please choose one
___________ is connection-oriented transport protocol.
• SMPT
• TCP
• UDP
• MAC
Question No: 80   (Marks: 1)    – Please choose one
Public Key of the receiver is used to——————-.
a. Decrypt the message
b. Encrypt the message
c. Scramble the message
d. None of the mentioned options
Question No: 81   ( Marks: 1 )    – Please choose one
Receiver applies —————-to the received original message
• Digital signature
• Message digest
• Hash function
• None of the mentioned options
Question No:  82  ( Marks: 1 )    – Please choose one
Symmetric key can be replaced with———– — —- ———-.
• Symmetric algorithms
• Pair of public and private keys
• Asymmetric key
• None of the mentioned options
Question No:  83  ( Marks: 1 )    – Please choose one
Most of the electronic payment systems on internet use ——————to ensure
confidentiality and security of the payment information.

 

 

• Quantum computing
• Cryptography
• Both of the mentioned options
• None of the mentioned options
Question No:  84  ( Marks: 1 )    – Please choose one
Simplicity and —————-is the biggest advantage of Virtual PIN payment
system.
• Full encryption
• Dual encryption
• No encryption
• None of the mentioned options
Question No: 85   ( Marks: 1 )    – Please choose one
An electronic check book device is a combination of
• Hardware and a digital signatur e
• Software and information about user
• Secure hardware and software
• None of the mentioned options
Question No:  86  ( Marks: 1 )    – Please choose one
Which of the following is disadvantage of virtual PIN payment system?
• Bogus purchases are possible
• Stolen credit card number can be used
• Only some extra copies of the information items are made in case of a fraud
• All of  the mentioned options are disadvantages of  Virtual PIN payment system
Question No:  87  ( Marks: 1 )    – Please choose one
FV stands for
• Forward Virtual
• Famous virtual
• None of the mentioned options
• First Virtual
Both merchants and buyers are required to register with First Virtual (FV). A buyer
registering with FVPG110
Question No: 88   ( Marks: 1 )    – Please choose one
In the statement var myAr = new Array (60); what does the number 60
represent?
• The value assigned to the 1st element in the array
• The number of elements to be used in the array
• The number of dimensions created in a multi-dimensional arra
• All
Question No: 89   ( Marks: 1 )    – Please choose one
Which of the following is the valid syntax for initialization of a string object?
• Var Girl = “salmanoreen”
• Girl = new string( “salmanoreen”)
• Var Girl = new string( “salmanoreen”)
• Var Girl = new Girl( “salmanoreen”)
Question No:  90  ( Marks: 1 )    – Please choose one
Identify that machine which services the internet request?
• Web client
• Web server
• Browser
• Mozilla
Question No:  91  ( Marks: 1 )    – Please choose one
Which Protocol is used for downloading messages to client machine from
servers.
SMTP
POP3
IMAP
POP3 and IMAP
Question No: 92   ( Marks: 1 )    – Please choose one
HTML stands for
Hyper Tex t Marked Language
Hyper Text Markup Language
Hyper Tex t Member License
None of all
Ref
Hypertext markup language

 

 

Web documents are defined by the Hypertext Markup Language (HTML).pg18
Question No: 93    ( 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: 94    ( 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
Ref: Using background-attachment: fixed, the background image would remain in
place when the user scrolls up and down the page. (Handouts page No. 48)
Question No: 95    ( Marks: 1 )    – Please choose one
Which loop type always runs the enclosed code at least once
for
while
do while
all of them
Question No: 96    ( Marks: 1 )    – Please choose one
Choose which one is the not the columns of Log files.
IP addresses
Request (url)
Date
Contents
Question No: 97    ( Marks: 1 )    – Please choose one
What code is use for send mail?
<mail = xyz@ab c.com>
<a mail = xyz@abc.com>
<a href =mailto:xyz@abc.com>
<a link =
x yz@abc.com
>
Question No: 98   ( Marks: 1 )    – Please choose one
How you give name to frame?
Up
frame
Name

 

 

Name_frame
Question No: 96    ( Marks: 1 )    – Please choose one
How you bold a text (in something was there)
P{font-weight:bold}
P{font-size: bold}
Question No:  97  ( Marks: 1 )    – Please choose one
MAC stand for
Media Access Control
Media Access Consortium
Member of Asian Community
None of these
Ref: Media access control (MAC) address (See Handouts No. 13)
Question No:  98   ( Marks: 1 )    – Please choose one
Your browser may not support display of this image. Choose the correct HTML
tag for the largest heading
<head>
<h1>
<Heading>
<h6>
Ref: Heading in HTML
Six different levels of headings can be created in HTML. Their syntax is given below:
<H1> Level 1 – largest text </H1> (See Handouts Page No. 20)
Question No:  99   ( Marks: 1 )    – Please choose one
Which of the following tags are used for embedding sound files into HTML
code?
<A href=“song.wav”>
<EMBED SRC=”Skylar.MP3″>
<A href=“song.wav”> and <EMBED SRC=”Skylar.MP3″>
None of these
Ref: <HTML> <HEAD><TITLE>Example – Embedding</TITLE> </HEAD>
<BODY> Click the Play button for some nice music:<BR> <EMBED
SRC=”Skylar.MP3″> </BODY></HTML> Handouts Page No. 37
Question No:  100   ( Marks: 1 )    – Please choose one

 

 

Which of the following is NOT an advantage of CSS?
Works on version 4 browsers or newer
Define the look of your pages in one place
easily chan ge the look
Implement same formatting each time tage is used
Question No: 101    ( Marks: 1 )    – Please choose one
Which of the following is correct line to add separated css f ile with name
xxxx.css?
<link scr=stylesheet href=”xxxx.css” type=”text/css”>
<link rel=stylesheet href=”xxxx.css” type =”text/css”>
<style rel=stylesheet href=”xxxx.css” type =”text /css”>
<link rel=stylesheet scr=”xxxx.css” type=”text/css”>
Ref: <Link Rel=”stylesheet” Type=”tex t/css” href=”mystyles.css”> Handouts Page
No. 39
Question No: 102    ( Marks: 1 )    – Please choose one
Which of the following is correct syntax to define color in CSS?
body {color: black}
body:color=black
{body:color=black(body}
{body;color:black}
Ref: You can put CSS Style Rule Syntax as follows:
selector { property: value }
http://www.tutorialspoint.com/css/css_syntax.htm
Question No:   103  ( Marks: 1 )    – Please choose one
Inside which of the following HTML element do we put the JavaScript?
<script >
<js>

 

 

<javascript >
<scripting>
Ref: http://www.ex-designz.net/test_grade.asp?tid=65 See Question No.01
Question No:  104   ( Marks: 1 )    – Please choose one
JavaScript is mainly a ___________ language.
Server Side Scripting
Cross Side Scripting
Client Side Scripting
both Cross and Server Side Scripting
Ref: javaScript is mainly used as a client side scripting language, while PHP is a
server side technology. Unlike Java or ASP.Net, PHP doesn’t have tools to make it
work client side. That is why you need to combine JavaScript and PHP scripts to
develop powerful web-applications.
http://www.tutcity.com/tutorial/difference-
between-server -side- and-client-side-scripting.16266.html
or PG79
Question No:  105   ( Marks: 1 )    – Please choose one
Which one is the responsible to manage “Internal processes”?
E -business
E -commerce
E -marketing
All of the given
Question No:   106  ( Marks: 1 )    – Please choose one
The first control statement in a for loop usually
sets the termination condition
increments a counter
creates a control variable
none of the above
Ref: Once the initializes list has been evaluated, the for loop gives control to its
second section, the Boolean expression
http://www.csharpstation.com/Tutorials/Lesson04.aspx
Or
1.  creates a control variable, initialization (specify starting value of counter variable)
2.  sets the termination condition
3.  increments a counter
Question No:   107  ( Marks: 1 )    – Please choose one
You define a method using
obj .method
obj .method[]
obj .method()

 

 

obj –method
Question No:  108   ( Marks: 1 )    – Please choose one
What is the default scripting language in ASP?
EcmaScript
JavaScript
Java
VBScript
Ref: ASP normally uses VBScript as the scripting language (Handouts Page No. 85)
Question No: 109   ( Marks: 1 )    – Please choose one
Following are malicious programs EXCEPT —————–.
Back doors
Trojan Horses
Firewalls
Worms
Ref: Handouts Page No. 94
Question No:  110   ( Marks: 1 )    – Please choose one
Outside attacks on a network include the following, EXCEPT —————
.
Password attack
DoS
Back doors
IP spoofing
Out side attacks on a network : Eavesdropping/ sniffing/snooping, Password attacks,
IP address spoofing, Man in the middle attacks, Denial of services (DOS) attacks
PG95
Question No: 111  ( Marks: 1 )    – Please choose one
At which layer of the OSI model the circuit level firewall operates?
Application layer
Presentation layer
Network layer
Transport layer
Ref: Circuit level firewall
It is quite similar to the packet filter firewall. It also works on the basis of a set of
rules for filtering packets but operates at the transport layer of the OSI Model so has
greater functionality.
Question No:  112   ( Marks: 1 )    – Please choose one
The process of scrambling a message with the help of a key is called ————– .

 

 

Cryptograph y
Filtering
Transposition
Encryption
Ref: The process of scrambling a message with the help of a key is called Encryption.
Question No:  113   ( Marks: 1 )    – Please choose one
In a ring network, every device has exactly ______ neighbors for communication
purpose.
more than two
Two
Four
None of these
Ref: Ring Topology In a ring network, every device has exactly two neighbors for
communication purposes.
http://compnetworking.about.com/od/networkdesign/a/topologies.htm
Question No:  114   ( Marks: 1 )    – Please choose one
What is identified by the tag <FRAMESET COLS=”20%,60%,20%”>?
Horizontal frame
Vertical Frame
Top Frame
Bottom Frame
Ref: Handouts Page No. 31
Question No: 115    ( Marks: 1 )    – Please choose one
Why we use reset tag in HTML?
To remove the text wr itten in Notepad.
To remove the text wr itten in between <body> and </body>tag
To remove the text wr itten in between <head> and </head> tag.
To remove the text written in between <form> and </form> tag.
Ref: An input of type RESET tells the browser to create a button that the user can
press to clear all form fields (set to the default values). You can specify the text to
appear in the button with the VALUE attribute.
http://www.cs.rpi.edu/~hollingd/eiw/notes/forms/forms.html
Or
Pg26
Question No:  116   ( Marks: 1 )    – Please choose one
Network Interface Card is operated at
Application layer

 

 


Session layer
Network layer
Datalink layer
Data link layer
Ref: It places data packets into data frames. Network Interface Card Drivers/Protocols
operate at this layer (Handouts Page No. 06)
Question No: 117    ( 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
Ref: Star networks are one of the most common computer network topologies. In its
simplest form, a star network consists of one central switch, hub or computer, which
acts as a conduit to transmit messages.
http://en.wikipedia.org/wiki/Star_network
Question No:  118   ( Marks: 1 )    – Please choose one
Switch  is  a  device  that  joins  multiple  computers  together  within  one local
area network (LAN).
True
False
Ref: A switch is also a combination of hardwar e and software having its own
operating system. Like bridges, the switches are also used to increase the bandwidth
of a network. However, in case of a switch, a network is virtually divided into small
segments called Virtual LANs or VLANs.
Question No: 119    ( Marks: 1 )    – Please choose one
Switch generally contains more “intelligence” than a hub.
True
False
Ref: Network switches appear nearly identical to network hubs, but a switch generally
contains more intelligence (and a slightly higher price tag) than a hub.
http://compnetworking.about.com/od/hardwarenetworkgear/g/bldef_switch.htm
Question No: 120    ( Marks: 1 )    – Please choose one
In which protocol, the messages are not deleted from email server.
SMTP
POP3
IMAP
ICMP
Ref: in case of IMAP the message is not deleted in the email server and thus can be
reopened from another location/machine. (Handouts Page No. 18)

 

 

Question No:  121   ( Marks: 1 )    – Please choose one
Which protocol does Virtual university use to send email to student Accounts?
SMTP
POP
IMAP
TCP
Question No:  122 ( 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: 123 ( 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
Yes, with a global style definition that redefines the tag
No – CSS can only be defined for entire pages.
Ref: An advantage of applying style sheets is that definition of the style’s formatting
is created on ce and the browser applies that formatting each time the tag is used.
Secondly, pages are easier to modify, that is, edit the style definition and all the places
where the style is used within the page get updated automatically (Handouts Page No.
38)
Question No:   124  ( Marks: 1 )    – Please choose one
What shall come in blanks for proper result?
Here blanks are numbered with 1, 2 and 3
<html>
<head>
<SCR IPT 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 — — —- ” max length=”5”>
</form>
</body>

 

 

</html>
Container, text and result
Result, value and container
Container, button and value
Result, container and text
Question No:  125   ( 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++)
Ref: for(i=1;i<7;i++)  Handouts Page No. 66
Question No: 126    ( Marks: 1 )    – Please choose one
CGI stands for
Common Gate Information
Common Ga te Interface
Common Goal Interest
Common Global Interaction
Ref: Term Common Gateway Interface (CGI) Handouts Page No. 82
Question No: 127    ( Marks: 1 )    – Please choose one
Which of the following property falls in HTTP?
Stateless
Stateful
Temporary
All of these
Ref: You know that http is stateless. Another reason why we need to write scripts or
develop our back end is that we want to maintain state. (Handouts Page No. 88)
Question No:  128   ( 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” ?>
Ref: We write XSL rules that match various xml elements. For that consider the
following    example:    XML  code <?xml    version=“1.0”?>   <?xml-stylesheet
href=“catalog.xsl” type=“text/x sl” ?>  (Handouts Page No. 77)

 

 

Question No: 129    ( Marks: 1 )    – Please choose one
Which of the following does not interpret its code?
ASP
PHP
JSP
Coldfusion
Ref: Technologies like ASP, PHP and Coldfusion interpret their code except the new
version of ASP (ASP.net) where the code is compiled. In case of JSP a program
called JSP engine compiles the code.  (Handouts Page No. 85)
Question No:  130   ( Marks: 1 )    – Please choose one
Asymmetric cryptography is also called ————–.
Public key cryptography
Private key cr yptography
Substitution cryptogr aphy
Transposition
Ref: Asymmetric or Public Key Cryptography (Handouts page No. 100)
Question No: 131    ( Marks: 1 )    – Please choose one
Digital signature uses ———.
Symmetric cryptography
Private key cr yptography
Public key cryptography
Hash function
Ref: An electronic sign ature means any letters, numbers, symbols, images, characters
or any combination thereof in electronic form applied to an electronic document
which can ensure authenticity, integrity and non- repudiation. It uses public key
cryptography (Handouts Page No. 100)
Question No:  132   ( Marks: 1 )    – Please choose one
Which one of the following is NOT a valid JavaScript variable?
_name1
$studentScore
first _name
2ndName
Ref: Variable names can begin with an upp ercase letter (A-Z), lower case letter (a-z),
an undersco re character (_), or dollar sign ($). Remaining characters can be an y of the
above or from digits (0-9). (Handouts Page No. 54)
Question No: 133    ( 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”>
Ref: <Input type=“Reset” value=“label”> (Handouts Page No. 26)
Question No: 134    ( Marks: 1 )    – Please choose one
http://cs.vu.edu is an example of
Two zone domain name
Three zone do main name
Four zone domain name
Five zone domain name
(page 12)
Question No:  135   ( Marks: 1 )    – Please choose one
What is the correct HTML for making a hyperlink?
<a url=”http://www.w3schools.com”>W3Schools.com</a>
<a>http://www.w3schools.com</a>
<a h ref=”http ://www.w3schools.com”>W3Schools</a>
<a name=”http://www.w3schools.com”>W3Schools.com</a>
(page 23)
Question No: 136    ( Marks: 1 )    – Please choose one
For which one of the following,<MARQUEE …> tag can work better
News headlines
Announcements
Sound plug-in
Movie controls
Ref
http://www.htmlcodetutorial.com/_MARQUEE.html
Question No:  137   ( Marks: 1 )    – Please choose one
At line code 5 which of the following Css methods has been applied?
How many different kind of loops are there in JavaScript?
One. The “for” loop only
Two. The “for” loop and the “while” loop
Four. The “for” loop, the “while” loop, the “do…while” loop, and the “loop.. .until”
loop
None of the above
REF

 

 

http://www.ex-designz.net/test_grade.asp?tid=65
Question No: 138    ( 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%”>
Ref
http://www.academictutorials.com/answers.asp?id=1
Question No: 6  (Marks: 1)   – Please choose one
What shall come in blanks for proper result,
Here blanks are numbered with 1,2 and 3
<html><head>
<SCR IPT 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 — — —- ” max length=”5”>
</form></body></html>
container, text and result
result, value  and container
container , button and value
result, container and text
PG60
Question No: 139    ( Marks: 1 )    – Please choose one
Let us assume in JavaScript, Variables num1 and num2 are assigned values
10   and   30 respectively the following text was displayed on browser page:
OUTPUT
: The result of addition is (40)
Which one of following code will display the output?
document .write(“The result of addition is
(”+(parseFloat(num1)+parseFloat(num2 ))+”)”;
document .write(“The result of addition is
(”+(parseFloat(num1)+parseFloat(num2))+”) ”.
document .write(“The result of addition is (”+(parse Float(num 1)+parse
Float(num2)));.   PG61 (coding)
document .alert (“The result of addition is (” (parseFloat(num1)+parseFloat(num2))
”)”;
Question No:  140   ( Marks: 1 )    – Please choose one
Constructor is defined as the initializing function used to create……

 

 

Instance of object
Copy of object
Instance / copy of object
Shallow copy of object
pg69
Question No: 141    ( Marks: 1 )    – Please choose one
Which language does not compile its code but interpret it?
ASP. Net
ASP
C++
None of these
Technologies like ASP, PHP and Cold fusion interpret their code except the new
version of ASP (ASP.net) where the code is compiled.
Question No: 142    ( Marks: 1 )    – Please choose one
Which loop type always runs the enclosed code at least once?
for
while
do while   IT series for 2nd year
all of them
Question No:  143   ( Marks: 1 )    – Please choose one
Which one from the following uses IP addresses on network layer?
Swithes
Routers
Bridges
All of the given
PG6
Question No: 144    ( Marks: 1 )    – Please choose one
Which object has the property of ‘cookie’?
window
location
document
string
pg80
Question No: 145    ( Marks: 1 )    – Please choose one

 

 

Which firewall uses strong user authentication to verify identity of a host
attempting to connect to the network?
Packet filter firewall
Circuit level firewall
Application gateway firewall
Hybrid firewall
pg96
Question No:   146  ( Marks: 1 )    – Please choose one
Pretty Good Privacy (PGP) is the name of a popular _________ system which is
available for general public use.
Filtering
Cryptographic
Server
Security
pg100
Question No:  147   ( Marks: 1 )    – Please choose one
An electronic signature can ensure ———.
Authenticity
Integrity
Non-repudiation
All of them
pg100
Question No: 148    ( Marks: 1 )    – Please choose one
Which one is the correct CSS syntax?
h1 {font-size:72pt}
h1:font-size=72pt
{h1:font -size=72pt}
{h1;font -size:72pt}
pg38
Question No:  149   ( Marks: 1 )    – Please choose one
In Style Sheets, How do you change the font of an element?
font -face:
font:
font-family:
font –style
:
pg43

 

 

Question No:  150   ( Marks: 1 )    – Please choose one
How many characters MAC address consists on?
11
12
13
14
Question No: 151    ( Marks: 1 )    – Please choose one
Choose which one is the not the columns of Log files.
IP addresses
Request (url)
Date
Contents
Question No:  152   ( Marks: 1 )    – Please choose one
Which one of the following divides large network in small logical segments called
subnets on basis of IP ADDRESSES?
Routers
Bridge
None of these
Switches
Ref: Routers
Routers use a combination of hardware and software to forward data packets to their
destination on the internet. They are more efficient and sophisticated than bridges and
switches. They can divide large networks into logical segments called Subnets on the
basis of IP addressing scheme (Handouts Page No. 16)
Question No:  153   ( Marks: 1 )    – Please choose one
Switch is used on the layer
First Layer
Second Layer

 

 

Third Layer
None of these
Ref:
http://docs.google.com/viewer?a=v&q=cache:YwLlfrfGjNEJ:www.neteon.net/RefDn
Files/Optimizing_Subnets_with_Layer_3_Switches.pdf+Switch+is+used+on+the+wh
ich+layer&hl=en&gl=pk&pid=bl&srcid=ADGEEShX_JMf3wN7h8KrfEInCuBMcIla
sL6P9P2B4KuU8WFQkmahl6roIiT9h7yb_fOEbtbgg1FmK2wgEotAGJs4gbtRmHg0
0BnHJF6mZ3QH7hX5Lgk6IictgVl4ccnoB1bqceelL4xJ&sig=AHIEtbTjgvR8Rf3CE
wWxteobO2thDxRC6g
Question No:  154   ( Marks: 1 )    – Please choose one
Router is used on the layer
First Layer
Second Layer
Third Layer
None of these
Ref:
http://docs.google.com/viewer?a=v&q=cache:YwLlfrfGjNEJ:www.neteon.net/RefDn
Files/Optimizing_Subnets_with_Layer_3_Switches.pdf+Switch+is+used+on+the+wh
ich+layer&hl=en&gl=pk&pid=bl&srcid=ADGEEShX_JMf3wN7h8KrfEInCuBMcIla
sL6P9P2B4KuU8WFQkmahl6roIiT9h7yb_fOEbtbgg1FmK2wgEotAGJs4gbtRmHg0
0BnHJF6mZ3QH7hX5Lgk6IictgVl4ccnoB1bqceelL4xJ&sig=AHIEtbTjgvR8Rf3CE
wWxteobO2thDxRC6g
Question No:  155   ( Marks: 1 )    – Please choose one
What does DTD stand for?
Do The Dance.
Dynamic Type Definition.
Data Type Definition
.)
Direct Type Définition.
(page 76
Question No: 156    ( Marks: 1 )    – Please choose one
What is the correct JavaScript syntax to insert a comment that has more than
one line?
/ *This comment has more than one line */
/ /This comment has more than one line //
<!–This comment h as more than one line–>
None of these
Ref:
// This is a single line comment.

 

 

/* This is a multiple line comment with only one line. */
/* This is a multiple line comment.
http://www.cs.brown.edu/courses/bridge/1998/res/javascript/javascript-
tutorial.html
Question No: 157    ( Marks: 1 )    – Please choose one
Which one of the following certifies the binding between public key and its
owner?
CA
KDC
TLS
Firewall
Ref: Similarly, if a digital certificate is issued by a reputed CA that would confirm
to other people that this particular public key certified by the CA belongs to this
individual only. (Handouts Page No. 102)
Or
Q#21
http://highered.mcgraw-
hill.com/sites/0073376043/student_view0/chapter_29_ -_multiple_choice_quiz.html
Question No:  158   ( Marks: 1 )    – Please choose one
How do you define a numerical value?
var mynum = new Math;
var mynum = Math(6);
var mynum = 6;
Math.mynum = 6;
Question No: 159    ( Marks: 1 )    – Please choose one
How can you convert information consisting of comma separated values into an
array?
txtArray = txt .indexOf(‘,’);
txtArray = txt.split(‘,’);
txtArray = txt .trim (‘,’);
txtArray = txt .substring(‘,’);
Ref:
http://www.blackwasp.co.uk/CommaSeparatedToArray.aspx
Question No: 160    ( Marks: 1 )    – Please choose one
Which of the following is NOT true about Applets?
Applets are compiled Java programs
Applet code is sent from server to the browser for processing
<script> tag is used to make a call for the applet code
Typically applets take more space on the window screen

 

 

Applets are compiled java programs. Applet code is sent from server to the browser
for processing. Examples of applets include animation files, java games spreadsheets
etc. Typically applets tak e more space on the window screen PG 79
Question No: 161    ( Marks: 1 )    – Please choose one
After compilation, the JSP page is converted into a
JavaScript
HTML
Applet
Servlet
This compilation takes place only once, and then the JSP page is converted into a
Servlet. PG 85
Question No:  162   ( Marks: 1 )    – Please choose one
Following are the names of some well known e-commerce software, EXCEPT —-
——-.
Intershop
IBM’s WebSphere Commerce Professional Edition
Microsoft Commerce Server 2002
Microsoft SQL Server 2005
E-commerce Software  PG93
Following are the n ames of some well-known e-co mmerce software:
Intershop Enfinity
IBM’s WebSphere Commerce Professional Edition
Microsoft Commerce Server 2002
Question No:  163   ( Marks: 1 )    – Please choose one
Which of following is NOT an attribute of <AREA> tag?
Shape
Circle
Href
Cords
Ref: <area shape=”rect” cords=”0, 0, 82,126″ href=”sun.htm” alt=”Sun” />
Question No: 164    ( Marks: 1 )    – Please choose one
In star topology, If hub fails, the entire network also fails.
True
False
Because Star Topology is fully dependant on the hub and the entire working of the
network depends on the hub or the switch.
Question No: 165    ( Marks: 1 )    – Please choose one

 

 

Which HTML tag is used to define an internal (embedded) style sheet?
css
text /style
style
script
PG38
Question No: 166    ( Marks: 1 )    – Please choose one
Which of the following is correct for displaying a box around a paragraph?
P {box: yes}
P {box: thin solid}
P {box:1}
P {border : thin solid}
pg48
Question No: 167    ( Marks: 1 )    – Please choose one
How the tables in HTML are expanded?
Row by Row
Column by Column
One row and one column
None of these
pg24
Question No:  168   ( Marks: 1 )    – Please choose one
Which of the following is the default alignment in HTML?
Left
Center
Right
None
Question No: 169    ( Marks: 1 )    – Please choose one
Network addresses 128— 191 range belongs to which of the following class
networks?
A
B
C
E

 

 

Question No:  170   ( Marks: 1 )    – Please choose one
Which of the following is true for Class A?
Network 01 byte and 03 hosts
Network 02 bytes and 02 hosts
Network 03 bytes and 01 host
None of these
Question No:  171   ( Marks: 1 )    – Please choose one
Which one is not included in the networking topologies?
Star Topology
Bus Topology
Media Topology
Ring Topology
(Topologies: Star, Bus, Tree, Ring, Mesh and Hybrid topology)
Question No: 172    ( Marks: 1 )    – Please choose one
What is the correct HTML for making a hyperlink?
<a name=”http://www.vu.edu.pk”>Virtual university</a>
<a href=” http:/ /www.vu.edu.pk “> Virtual university </a>
<a>http://www. vu.edu.pk </a>
<a url=”http://www. vu.edu.pk “> Virtual university of pakistan</a>
Question No: 173    ( Marks: 1 )    – Please choose one
What is the correct HTML for making a text input field?
<textinput type=”text”>
<input type =”text”>
<input type=”textfield”>
<textfield>
Question No:  174   ( Marks: 1 )    – Please choose one

 

 

If we leave out the targ et attribute in frame tag and link was clicked ,the
document loads into the window
In Same page
In other blank page.
To display browser error.
All of the options.
Question No:  175   ( Marks: 1 )    – Please choose one
Where in an HTML document is the correct place to ref er to an external style
sheet?
In the <body> section
At the end of the document
In the <head> section
At the top of the document
http://www.ex-designz.net/test_page.asp?tid=37                         Q#2
Or
PG42
Question No: 176    ( Marks: 1 )    – Please choose one
How do you write a conditional statement for executing some statements only if
“i” is equal to 5?
if i=5
if i=5 then
if i==5 then
if (i==5)
PG58
Question No: 177    ( Marks: 1 )    – Please choose one
Which of the following is used to get remote access of any computer on a
network?
Trojan horse
Backdoor
Virus
All of these
Question No:  178   ( Marks: 1 )    – Please choose one
PPP stands for
Point to Point Protocol
Post to Post Protocol
Point to Post Protocol

 

 

None of these
PG98
Question No: 179    ( Marks: 1 )    – Please choose one
Inside which HTML element do we put the JavaScript?
<scripting>
<JavaScript>
<script>
<js>
http://www.ex-designz.net/test_page.asp?tid=65
Question No: 180    ( Marks: 1 )    – Please choose one
a++; is the same as which of the following?
a =a *1;
a =a +2;
a =1+2;
a=a+1;
Question No: 181    ( Marks: 1 )    – Please choose one
If a web server is bombarded with thousands of HTTP requests, that would be
an example of —————.
sniffing
Password attack
Man in the middle attack
Denial of service atta ck
PG95
Question No: 182    ( Marks: 1 )    – Please choose one
Digital signature uses ———.
Symmetric cryptography
Private key cr yptography
Public key cryptography
Hash function
PG100
An electronic signature means any letters, numbers, symbols, images, characters or
any combination thereof in electronic form applied to an electronic document which
can ensure authenticity, integrity and no repudiation. It uses public key cryptography.
Question No: 183    ( Marks: 1 )    – Please choose one
In CSS, How do you make each word in a text start with a capital letter?

 

 

text-transform: capit alize
text -transform: uppercase
text : capitalize
You can’t do that with CSS
The property named “text-transform” is used which has four values – capitalize,
lowercase, none and uppercase. PG46
Question No: 184    ( Marks: 1 )    – Please choose one
For which of the following we need to know the classification of E-commerce?
Market planning strategy
Build Mission statement
Management strategy
none
Question No:  185   ( Marks: 1 )    – Please choose one
Switch is a device that joins multiple computers together within one local area
network (LAN).
True
False
PG4
Question No: 186    ( Marks: 1 )    – Please choose one
How can you open a link in a new browser window?
<a href=”/url” target=”new”>
<a href=”/url” target=”_blank”>
<a href=”/url” new>
None of these
Ref: http://www.pageresource.com/html/newwin.htm
To get a link to open in a new browser window, what you do is add the
target=”_blank” attribute to your link tag, like this:
<a href=”http://www.pageresource.com/linkus.htm” tar get=”_blank”>
Link to us!</a>
This will give you the following link:
Link to us!
Question No: 187    ( Marks: 1 )    – Please choose one
What does the Target= “_top” tag performs?
Loads th e new page into the same frame
Loads the new page into the entire window
Loads the new page into a new browser window
All of the above

 

 

Target=“_self” – loads the new page into the same frame that contains the link
Target=“_top” – loads the new page into the entire window
Target=“_blank” – loads the new page into a new browser window
Question No:  188   ( Marks: 1 )    – Please choose one
Which attribute is used in a tag to control the layout of element?
view
css
Style
Layout
Question No: 189    ( Marks: 1 )    – Please choose one
Choose the correct HTML code line which left-align the content inside a
tablecell.
<td leftalign>
<td valign=”left”>
<td align=”left”>
<tdleft>
PG45
Question No: 190  ( 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.w3schools.com/js/js_functions.asp
Question No:  191   ( Marks: 1 )    – Please choose one
What does XML stand for?
Extra Modern Link
X-Mark-up Language
Extensible Mark-up Language
Example Mark-up Language
Question No: 192    ( Marks: 1 )    – Please choose one
For which of following purpose the Firewall is used?
Efficient working
Protection against security attacks

 

 

networking purpose
None of these
Question No:  193   ( Marks: 1 )    – Please choose one
Which of the following is NOT processed on the client side?
Cookies
JavaScript
CGI scripts
Applets
Server side processing can be mainly categorized into four headings -CGI Scripts,
Servlets, Server Side Scripts and JDBC/ODBC drivers
Question No: 194    ( Marks: 1 )    – Please choose one
Firewall is used to
I – examine the data entering the netwo rk
II – examine the data leaving the netwo rk
III – filter the data according to certain rules
I, II and III
I only
I and III only
I and II only
PG93
Question No: 195    ( Marks: 1 )    – Please choose one
Which firewall uses strong user authentication to verify identity of a host
attempting to connect to the network?
Packet filter firewall
Circuit level firewall
Application gateway firewall
Hybrid firewall
PG96
Question No:  196   ( Marks: 1 )    – Please choose one
Bus networks are same as the system bus of a computer.
True
False
Question No: 197    ( Marks: 1 )    – Please choose one
In Style Sheets, How do you add a background color for all “<h1>” elements?
all.h1 {background-color:#FFFFFF}

 

 

h1.all {background-color:#FFFFFF}
h1 {background-color:#FFFFFF}
h1 {bgcolor:#FFFFFF}
PG47
Question No:  198   ( Marks: 1 )    – Please choose one
MAC address is written in
Binar y form        0-1
decimal form       0-9
hexadecimal form 0-f
none of these
MAC addresses are 12-digit hexadecimal numbers (48 bits in length).
Question No: 199    ( Marks: 1 )    – Please choose one
Academic institutions, religious organizations and government  using ———– e-
commerce classification
Business-to-Business (B2B)
Intra Business
Non Business EC  PG2
Business-to-consumer  (B2C)
Question No: 200    ( 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:  201   ( Marks: 1 )    – Please choose one
Which HTML tag is used to define an internal style sheet?
<css>
<script >

 

 

<style >
<sheet >
PG38
Question No:  202   ( Marks: 1 )    – Please choose one
If we leave out the targ et attribute in frame tag and link was clicked, the
document loads into the window
In Same page
In other blank page.
To display browser error.
All of the options.
Question No:  203   ( Marks: 1 )    – Please choose one
What does mean by != comparison operator?
Equal to
Not
Equal
Not Equal
PG58
Question No: 204    ( Marks: 1 )    – Please choose one
What does the string.match (“abc”) object do?
Concatenates the “abc”word to other “abc”words
Matches the “abc ”words with other “abc”words
It does replacement of abc word with other words
All of the above
Ref:-
http://www.regular-expressions.info/java.html
Question No:  205   ( Marks: 1 )    – Please choose one
var txt=”Hello World!”    document.write(txt.length), it would return the length
as.
10
11
12
13
Ref:-
http://www.w3schools.com/js/js_obj_string.asp
Question No: 206    ( Marks: 1 )    – Please choose one
Choose the correct HTML tag to make a t ext bold?
<tbold>

 

 

<b>
<bld>
<bold>
(page 19)
Question No:  207   ( Marks: 1 )    – Please choose one
Cyclical Redundancy Check (CRC), takes place in which layer of OSI Model
.
Session Layer
Transport Layer
Network Layer
Data link layer
PG#6
Question No:  208   ( Marks: 1 )    – Please choose one
The control statement on a while loop is tested
before each time through the loop
after each time through the loop
once at the start
once at the end
While loop: While loop checks the certain condition first, if the condition is true then
all the statements or processes written under the while loop are executed otherwise
ignored all.
Question No:  209   ( Marks: 1 )    – Please choose one
Which SQL statement is used to delete data from a database?
DELETE
COLLAPSE
REMOVE
DISCARD
PG#83
Question No:  210   ( Marks: 1 )    – Please choose one
A program that performs a specific function such as creating invoices/bills or
processing payment received from customers is called a/an —— ——— .
Middleware
Web Service
CRM Software
Application Program
PG#92
Question No:  211   ( Marks: 1 )    – Please choose one

 

 

In what form are style rules presented?
selector { property: value }
selector { property= value }
selector ( property: value )
selector ( property= v alue )
Ref:
http://www.brainjar.com/css/using/
Question No:  212   ( Marks: 1 )    – Please choose one
When data moves upward in the OSI stack it is called
Encapsulation
De-encapsulation
Synchronization
None of these
The process of moving the data down the OSI Protocol stack at the sending machine
is called Encapsulation, and the process of moving the data up the OSI stack at the
receiving side is called De-encapsulation.
Question No:  213   ( Marks: 1 )    – Please choose one
Which of the following is Default subnet mask of class C?
255.0.0.0
255.255.0.0
255.255.255.0
None of above
Ref: Class A: 255.0.0.0
Class B: 255.255.0.0
Class C: 255.255.255.0
Pg11
Question No:  214   ( Marks: 1 )    – Please choose one
Which one is not included in the networking topologies?
Star Topology
Bus Topology
Media Topology
Ring Topology
pg14
Question No:  215 ( Marks: 1 )    – Please choose one
CSS is a breakthrough in Web design because it allows developers to control the
———–
Processing speed on client side
Style and layout of multiple Web pages

 

 

Data grid view on client side
Style and layout of home page
CSS is a breakthrough in Web design because it allows developers to control the
style and layout of multiple Web pages all at once.
Ref
http://www.w3schools.com/web/web_css.asp
Question No:  216 ( Marks: 1 )    – Please choose one
Border-width: specifies the width of all borders in the order
‘border-right-width, border-bottom-width, border-left-width, border-top -width’
‘border-bottom-width, border-left-width, border-top-width, border- right-width’
‘border-top-width, border-right-width, border-bottom-width, border-left-width’
None of these
PG49
Question No:   217  ( Marks: 1 )    – Please choose one
Document. Write (str.replace(/Microsoft/,”W3Schools”))
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
Ref
http://iswww.w3schools.com/jsref/jsref_replace.asp
Question No:  218 ( Marks: 1 )    – Please choose one
How do you define a function in JavaScript?
function:myFunction()
function my Function()
declare myFunction()
new myFunction
pg 58
Question No:  219   ( Marks: 1 )    – Please choose one
Second control statement in a for loop usually
Sets the termination condition
Increments a counter
Creates a control variable
None of the above
Question No:  220 ( Marks: 1 )    – Please choose one
Choose the correct HTML tag to make a t ext italic

 

 

<it>
<i>
<italics>
<italic>
PG19
Question No:  221 ( Marks: 1 )    – Please choose one
The ‘shape’ attribute of <AREA> tag accepts the following values, EXCEPT
Rect
Circle
Poly
Square
pg36
Question No:  222   ( Marks: 1 )    – Please choose one
<AREA> tag is used within the
<MAP> tag
<FRAME> tag
<FRAMESET> tag
<IMG> tag
pg 36
Question No:   223 ( Marks: 1 )    – Please choose one
In CSS, How do you make the text italic?
font:i
style:italic
font-style: italic
font:italic
Pg 44
Question No:  224   ( Marks: 1 )    – Please choose one
Creating your own tags is not possible in HTML but in XML it is possible to
create Your own tags.
True
False
XML is not a markup language with defined tags; rather, one can create one’s own set
of tags in XML
Question No:  225 ( Marks: 1 )    – Please choose one

 

 

Which HTML tag is used to define the internal style sheet ?
<css>
<script >
<sheet>
<style>
Ref
http://www.ex-designz.net/test_grade.asp?tid=37
Question No:  226   ( Marks: 1 )    – Please choose one
Choose the correct HTML code line which left-align the content inside a table
cell.
<td leftalign>
<td valign=”left”>
<td align=”left”>
<tdleft>
(page 26)
Question No:  227 ( Marks: 1 )    – Please choose one
How do you write a conditional statement for executing some statements only if
“i” is NOT equal to 5?
if =! 5 then
if (i != 5)
if <>5
if (i <> 5)
(page 58)
Question No:  228 ( 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(“Vi rtual University of Paistan “)
Question No:  229   ( Marks: 1 )    – Please choose one
We can divide the Client Server architecture up to:
3 Tier
N -Tier
1 Tier
2 Tier

 

 

Ref  [PPT#1]
CLIENT SERVER ARCHITECTURE
Question No: 230 ( Marks: 1 )    – Please choose one
An address represented by four decimal numbers separated by a period is the
IP
RIP
MAC
NON OF THE GIVEN
(PAGE 7)
Question No:  231 ( Marks: 1 )    – Please choose one
Which operator is used to concatenate two strings?
+
*
&&
&
Note that in the brackets of ‘document.write’ we concatenate or join some text
information called string (within double quotation marks) with the
addition/subtraction of two nos. using ‘+’ sign.
(PAGE 61)
Question No:  232 ( Marks: 1 )    – Please choose one
Which SQL statement is used to extract data from a database?
GET
OPEN
SELECT
EXTRACT
Ref:
http://www.ex-designz.net/test_grade.asp?tid=36
Question No:  233 ( Marks: 1 )    – Please choose one
In data link layer, data packets are placed inside
Data frames
Data boxes
Data streams
None of these
(page 6)
Question No:   234  ( Marks: 1 )    – Please choose one
What are the two types of twisted pair cables for networking ?

 

 

In twisted pair there are two further options – unshielded twisted pair (UTP) and
Shielded Twisted Pair (STP).
For further definition
http://www.computerhope.com/jargon/t/twispair.htm
Question No:  235 ( Marks: 1 )    – Please choose one
Which of the following needs human action to execute?
Virus
Worm
Trojan Horse
All of these
(page 94)
Question No:  236 ( Marks: 1 )    – Please choose one
For showing image on web page, save your image at any drive or folder like
C:\abc.jpeg is an example of
Relative Address
Absolute address
None of the given
Ref
Absolute paths are called that because they refer to the ver y specific location,
including the domain name. The absolute path to a Web element is also often referred
to as the UR
Question No:  237   ( Marks: 1 )    – Please choose one
ASP server scripts are surrounded by delimiters, which?
<script>.. .</script>
<%…%>
<%>… </%>
<&>…</&>
Ref
http://www.w3schools.com/asp/asp_syntax.asp
Question No: 238 ( Marks: 1 )    – Please choose one
This is an example of
0-tier architecture
1-tier architecture
2-tier architecture
n-tier architecture
Question No:  239   ( Marks: 1 )    – Please choose one
Which protocol is used to set up the dial up connection between RAC and RAS

 

 

for exchange of data packets?
PPP
POP3
SMTP
FTP
(page 98)
Question No:  240 ( Marks: 1 )    – Please choose one
Pretty Good Privacy (PGP) is the name of a popular _________system which is
available for general public use.
Filtering
Cryptographic
Server
Security
(page 100)
Question No: 241  ( Marks: 1 )    – Please choose one
Intra Business involves only selling of corporate products to consumer.
True
False
(page 2)
Question No:  242 ( Marks: 1 )    – Please choose one
#00ff00 in HTML indicates
Pure g reen color
Pure blue color
Pure red color
Pure yellow color
(page 23)
Question No:  243 ( Marks: 1 )    – Please choose one
One who is making the Web standards?
Netscape
Internet service providers
The World Wide Web Consortium
Microsoft
Question No:  244   ( Marks: 1 )    – Please choose one
There is a way of describing XML data, how?

 

 

XML uses a description node to describe data
XML uses a DTD to describe the data
XML uses XSL to describe data
None of these
Ref
http://www.dotnetspider.com/questions/ViewQuestion.aspx?QuestionId=6754&
Question No:  245  ( Marks: 1 )    – Please choose one
One which of the following property falls in HTTP?
Stateless
State full
Temporary
All of these
Question No:  246  ( Marks: 1 )    – Please choose one
Choose the correct HTML tag to make a t ext bold
<tbold>
<b>
<bld>
<bold>
Question No:   247  ( Marks: 1 )    – Please choose one
Which one of them is not a feature of e-commerce software?
catalog display
web hosting
web services
transaction processing
(page 92)
Question No:  248 ( Marks: 1 )    – Please choose one
When two or more intranets are connected to each other they form a/a n ———-
VPN
Intranet
Internet
Extranet
(page 2)
Question No:  249  ( Marks: 1 )    – Please choose one
Which one is NOT a valid f rame attributes?
NORESIZE
ROWS

 

 

FRAMEBORDER
BORDER
(page 33)
Question No:  250   ( Marks: 1 )    – Please choose one
IP version 6 provides —————bits and also contains ———————-
128, hexadecimal
64, hexadecimal
32, binary
None of the Above
Question No:  251  ( Marks: 1 )    – Please choose one
A JavaScript event is generated when a user ——–.
Clicks a hyperlink
Clicks a button
Enters data in a form
All of the above
(page 54)
Question No:  252 ( Marks: 1 )    – Please choose one
IP, RIP, and ARP protocols work on
Application layer
Session layer
Network layer
Data link layer
(page 6)
Question No:  253  ( Marks: 1 )    – Please choose one
In the communication between two computers on a network, CRC is calculated
at

 

 

Sender’s side
Receiver’s side
Both sender and receiver sides
Neither on sender nor on receiv er side
Ref
[PPT] Business Data Communications and Networking
Question No:  254  ( Marks: 1 )    – Please choose one
In datalink layer, data packets are placed inside
Data f rames
Data box es
Data streams
None of these
(page 6)
Question No:  255  ( 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
(page 25)
Question No: 256  ( 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
(page 94)
Question No: 257 ( Marks: 1 )    – Please choose one
Which tag is used for the hidden fields?
<FIELD>
<TEXT >
<INPUT>
<HIDDEN>
page 88
<INPUT TYPE= “HIDDEN” NAME= “Shirt1″ VALUE=”25”>

 

 

Question No: 258    ( Marks: 1 )    – Please choose one
Which of them is NOT a predefined object?
Document
Date
Loop
Array
Ref:
http://www.quackit.com/javascript/javascript_reserved_words.cfm
Question No:  259 ( Marks: 1 )    – Please choose one
Which of these is not a comparison operator?
<
>
=
!=
Comparison operators
‘==’ for Equal
‘!=’ for not equal
‘< ‘ for Less than
‘<=’ for less than equal
‘>’ for Greater than
‘>=’ for Greater than equal
pg58
Question No:  260   ( Marks: 1 )    – Please choose one
Which of the following is correct about the d variable?
instance of new
instance of Date() method
instance of Date object
Simple Variable
pg69
Question No:  261  ( Marks: 1 )    – Please choose one
Which of the following , is condition part of given
For loo pfor (i = 0; i <= 5; i++).
i =0.
i ++.
i <=5.
(i = 0; i <= 5; i++)
Question No:   262  ( 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:  263  ( Marks: 1 )    – Please choose one
Question No: 264  ( Marks: 1 )    – Please choose one
Academic institutions, religious organizations and government using —————
——-
Business-to-Business (B2B)
Intra Business
Non Business EC
Business-to-consumer (B2C)
(page 2)
Question No:   265  ( Marks: 1 )    – Please choose one
Choose one what does DTD stand for?
Do The Dance.
Dynamic Type Definition.
Data Type Definition
.
Direct Type Définition.
(page 76)
Question No:  266  ( Marks: 1 )    – Please choose one
Following file is used to translate XML:
DTD
XSL
XML parser
Browser
Question No:   267 ( Marks: 1 )    – Please choose one
In which of the following language, XML parser is usually written.
VB.net
Java
Asp.net
C++
(page 77)
Question No:  268   ( Marks: 1 )    – Please choose one

 

 

In _________key cryptography, everyone has access to all the public keys
Public
Private
Symmetric
Certified
(page 100)
Question No:  269  ( Marks: 1 )    – Please choose one
What is 17%5
?
2
3
85
84
Question No:   270 ( Marks: 1 )    – Please choose one
An array can contain ———-.
only text
only numbers
only numbers or text
any valid variable
Ref
http://java.sun.com/docs/books/jls/second_edition/html/arrays.doc.html
Question No:   271 ( Marks: 1 )    – Please choose one
One which tag is used for the hidden fields?
<FIELD>
<TEXT>
<INPUT>
<HIDDEN>
(page 88)
Question No:   272  ( Marks: 1 )    – Please choose one
Packet filter firewall operates a t
a) data link layer
b) network layer
c) transport layer
a and b only
c only
b and c only
a, b and c
(page 96)

 

 

Question No:  273  ( Marks: 1 )    – Please choose one
Which one has the functionality to redirect the filled information to an other
page?
Submit button
Reset button
Radio button
None of the given
Question No: 274    ( Marks: 1 )    – Please choose one
Due to which characteristics, ATM network are covered under E-commerce ?
Exchange of information through computer networks
Internet.
Exchanging of products, services.
None of the above.
Question No:  275  ( Marks: 1 )    – Please choose one
Marketing plan should be same for all E-commerce classification.
True
False
Question No:   276 ( Marks: 1 )    – Please choose one
Identify the networking device which regenerates the signals if these become
weak.
Hub
Switch
Router
Repeater
(page 15)
Question No: 277    ( Marks: 1 )    – Please choose one
Content pages relate to which of the following tag?
<iframe>
<Frame>
<frameset>
<noframes>
Question No:  278  ( Marks: 1 )    – Please choose one
What is the correct HTML for referring to an external style sheet?

 

 

<style src=mystlye.css>
<link rel= “stylesheet” type= “text/css” herf= “mystyle.css”>
<stlyesheet> mystyle.css</stlyesheet>
All of these
Ref
http://www.ex-designz.net/test_grade.asp?tid=37
Question No:   280  ( Marks: 1 )    – Please choose one
In a Frameset code, do the BODY tags belong inside or outside of the
NOFRAMES tag pair?
Inside because an HTM Document can only include one or the other
Outside, to be seen by the older browsers [NN version 1 and IE version 2]
Outside because the W3C says that to be valid
Contain a BODY tags pair.
Ref
http://www.tjkdesign.com/articles/frames/quiz.asp
Question No:  281  ( Marks: 1 )    – Please choose one
In CSS, the font-style property can make text what?
Bigger.
Italic.
Different colors.
Change size.
Ref
http://www.w3schools.com/css/css_font.asp
Question No:  282  ( Marks: 1 )    – Please choose one
Which of the following, in JavaScript, we could not create our own?
Textboxes
Dropdown
Object
Image
PG56
Question No:  283   ( Marks: 1 )    – Please choose one
Which one of following file is used to translate XML:
DTD
XSL
XML parser
Browser

 

 

(page 77)
Question No:  284  ( Marks: 1 )    – Please choose one
How can you reference part of a string?
text.substr(5,6);
text.part(5,6)
text. piece(5 ,6)
text.split(5,6);
http://php.net/manual/en/function.substr.php
Question No:  285 ( Marks: 1 )    – Please choose one
In the communication between two computers on a network, CRC is calculated
at
Sender’s side
Receiver’s side
Both sender and receiver sides
Neither on sender nor on receiv er side
Question No:  286  ( Marks: 1 )    – Please choose one
Enable Virtual private network protocol (VPN) to become a part of
Extranet
Intranet
Extranet and Intranet
None of these
(page 98)
Question No:   287  ( Marks: 1 )    – Please choose one
The attributes used by <EMBED . . .> depend on the type of ?
plugin being used
Browser being used
ISP being used
Sound/movie being used
Ref:
http://www.htmlcodetutorial.com/embeddedobjects/_EMBED.html
Question No:  288  ( Marks: 1 )    – Please choose one
Which of the following is HML tag could n’t be used as CSS tag?
<style>
<h1>
<p>

 

 

<a>
1st 3 tag use for css
(page 39)
Question No: 289  ( 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
(page 48)
Question No:  290 ( Marks: 1 )    – Please choose one
What does mean by! = comparison operator?
Equal to Not
Equal
Not equal
None
(page 58)
Question No:  291  ( Marks: 1 )    – Please choose one
Middleware establishes connections between ———–.
E-commerce software and accounting system
E-commerce software and web services web
Services and CRM software
ERP and CRM software
(page 92)
Question No: 292  ( Marks: 1 )    – Please choose one
Which one specifies the amount of space between the edges of the cell and the
text inside?
Space tag
CELLSPACING
CELLPADDING
FRAMESPAC ING
Ref:
http://www.free-cgi.com/freecgi/reference/table.php
Question No:   293 ( Marks: 1 )    – Please choose one
Which of the following CANNOT be a value for the ‘target’ attribute in anchor
tag?
_new
_top
_blank
_self
Ref:
http://www.developingwebs.net/html/targetattribute.php
Question No:  294   ( Marks: 1 )    – Please choose one
One In what form are style rules presented?
selector { property: value }
selector { property=value }
selector ( property: value )
selector ( property= value )
Ref: http://htmlhelp.com /reference/css/quick-tutorial.html
Style rules are fo rmed as follows:
selector { property: value }
Question No:  295 ( Marks: 1 )    – Please choose one
_______ topology is NOT a networking topology.
Bus
Star
Ring
Media
Question No:  296   ( Marks: 1 )    – Please choose one
In B2b _______________ takes place between organization.
Retailing transaction
Electronic market Transaction
Consumer market transaction
None of the given
electronic market transactions
Business-to-Business
(
B2B
):
that take place between
organizations
Question No:  297 ( Marks: 1 )    – Please choose one
IP version 6 is a ______ address.
32 bits
64 bits
128 bits
256 bits
The existing IP scheme (version 4) is likely to be replaced by IP version 6. It would
provide 128 bits IP addresses in hexadecimal format. According to an estimate a total
of 3.4 x 1038 addresses would then be available.

 

 

Question No:   298 ( Marks: 1 )    – Please choose one
_____________ address is represented by four decimal numbers separated by a
dot(.).
MAC
RIP
IP
None of the given
It is the logical addressing scheme used to identify computer machines on the internet.
Each computer has a unique IP address provided by IP protocol for a given session. It
is represented by four decimal numbers separated by a period e.g, 140.57.220.200
(see Fig. 5 below). Computers see this information as a stream of 32 bits.
Question No:  299 ( Marks: 1 )    – Please choose one
Which of the following is NOT the part of log files?
IP addresses
Request (url)
Date
Contents
Log Files In addition, Our Web server collects and saves the def ault information
customarily logged by World Wide Web server software. Our logs contain the
following information for each
request: date
,
time, originating IP address
and
domain name, object requested, and completion status of the request. We use these
logs to help improve Our service by evaluating the level of demand for Our site and
detecting any errors on the site that might occur. These logs may be kept for an
indefinite length of time and used at any time and in any way necessar y to prevent
security breaches and protect the integrity of the data on Our servers.
REF GIVEN BY
»
asma shahzadi
Question No:  300 ( Marks: 1 )    – Please choose one
__________ is an event handler in JavaScript.
None of the given
onloading
onpress
onbuttondown
Question No:  301   ( Marks: 1 )    – Please choose one
In Java script , New key word is used to create:
Instance of method
Instance of Object
Initialize the Variable
Assign the vale of object
Question No:  302   ( Marks: 1 )    – Please choose one
Border-style: specifies the style of all borders in the order _________________.
border top style, border right style, border bottom style, border lef t 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 No:  303   ( Marks: 1 )    – Please choose one
Which is NOT a correct name f or an XML  element?
<Note>
<1dollar>
All 3 tags are incorrect
<h1>
Click below to download the Attach file

—–{   IT430 Solved Mid Term Papers Mega Collection by Arslan Ali   }——-

Check Also

CS615 Today Solved Quiz 03 Fall 2013 Solved By Arslan Ali

Quiz Start Time: 08:18 PM Time Left 63 sec(s) Question # 1 of 10 ( …

Leave a Reply

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

*