Objective Question Bank
Objective Question Bank
1) A piece of icon or image on a web page associated with another webpage is called ______
a) url b) hyperlink c) plugin d) extension
2) What is a web browser?
a) a program that can display a web page
b) a program used to view html documents
c) it enables user to access the resources of internet
d) all of the mentioned
3) ________ is known as father of WWW.
a) John T. Thomson
b) Denis Ritchie
c) Tim Berners-Lee
d) None of above
4) A web cookie is a small piece of data that is _______
a) sent from a website and stored in user’s web browser while a user is browsing a
website
b) sent from user and stored in the server while a user is browsing a website
c) sent from root server to all servers
d) sent from the root server to other root servers
5) Internet is a.
a) local computer network
b) a world wide network of computers
c) an interconnected network of computers
d) a world wide interconnected network of computers which use a common protocol to
communicate with one another
6) World Wide Web
a) is another name for internet
b) world wide connection for computers
c) a collection of linked information residing on computers connected by the internet
d) a collection of world wide information
7) A world wide web contains web pages
a) residing in many computers
b) created using HTML
c) with links to other web pages
d) residing in many computers linked together using HTML
8) Which of the following allows user to view a webpage?
a) Operating System
b) Website
c) Interpreter
d) Internet Browser
9) The communication protocol used by internet is
a)HTTP
b)WWW
c)TCP/IP
d)FTP
10) A simple protocol used for fetching e-mail from a mailbox is
a) SMTP
b) POP
c) IMAP
d) None of the above
17) Which one of the following protocol is used to receive mail messages?
a) SMTP
b) POP
c) IMAP
d) All of the above
18) What protocol is used between E-Mail servers?
a) FTP
b) SMTP
c) SNMP
d) POP
19) During error reporting, ICMP always reports error messages to
a)Source
b)Destination
c)Station
d)Header
20) The File Transfer Protocol is built on ______________
a) data centric architecture
b) service oriented architecture
c) client server architecture
d) connection oriented architecture
21) The FTP protocol is used to __________?
a) Transfer data over the internet
b) Exchange files over the internet
c) Transfer text message over the internet
d) All of the above
22) The FTP protocol allows the user to __________ files over the internet.
a) Upload
b) Download
c) Both Upload and download
d) none of these
23) A typical __________ program obtains a remote reference to one or more remote objects
on a server and then invokes methods on them.
a) Server
b) Client
c) Thread
d) Concurrent
24) FTP is built on _____ architecture.
a)Client- Server
b)P2P
c)Both of the above
d)None of the above
25) In the Client-Server architecture, the component that processes the request and sends the
response is
(a) Client (b) Server (c) Protocol (d) Network
29) Intranet and Extranet differs at ___________________________.
a) Intranet: Private , Extranet: Public
b) Intranet: Public, Extranet: Public
c) Intranet: Private, Extranet: Private and also allowed authorized partners
d) Intranet: Public, Extranet: Private
30) _____________ is a subset of the website.
a)Web Site
b) Web Space
c) Web Portal
d) None of above
31) An extranet is which of the following?
a) The use of Internet protocols with limited access to company data by the company's
customers and suppliers.
b) The use of Internet protocols with unlimited access to company data by the company's
customers and suppliers.
c) The use of Internet protocols with limited access to company data by people within an
organization.
a) The use of Internet protocols with unlimited access to company data by people within
an organization.
33) A __________ is the simplest form of website, in which the site’s content is delivered
without the use of server side processing.
a) Dynamic Website
b) Social Networking Website
c) Static Website
d) E-Commerce Website
37- The __________ method when used in the method field, leaves entity body empty.
a) POST
b) SEND
c) GET
d) PUT
49- What is use of interpreter?
a) They convert bytecode to machine language code
b) They read high level code and execute them
c) They are intermediated between JIT and JVM
d) It is a synonym for JIT
1. XML stands for ____.
a) eXtensible Margin Language
b) Xtensible Markup Language
c) eXtensible Markup Language
d) Xtensible Margin Language
6. A Document Type Definition (DTD) is a set of ____ which is used to define the type of
document for an SGML-family markup language.
a) markup definition
b) markup document
c) main declarations
d) markup declarations
7. An XML element can have ____.
a) multiple attributes
b) only two unique attributes
c) multiple unique attributes
d) None of the above
8. If element ONE is contained by element TWO, then ONE is known as ____ of TWO.
a) ancestors
b) family
c) descendant
d) child
15. Which XML object is used to request data from the web server?
a) XMLHttpReq
b) XMLHttpRequest
c) XMLHttpsReq
d) XMLHttpsRequest
UNIT- 2
1. PHP is an acronym for ____.
a) Prefix Hypertext Preprocessor
b) Prototype Hypertext Preprocessor
c) Hypertext processor
d) Hypertext Preprocessor
2. Which is/are statement(s) true about PHP?
a) It is an open-source scripting language
b) PHP scripts execute on the server
c) It is used for developing dynamic & interactive websites
d) All of the above
3. Who developed PHP?
a) Guido van Rossum
b) Rasmus Lerdorf
c) Jesse James Garrett
d) Douglas Crockford
10. There is a variable "name" that contains the name of a person, which is/are the correct echo
statement(s) to print the "name" suffix with "Hello".
a) echo "Hello $name";
b) echo "Hello " . $name;
c) echo ("Hello $name");
d) All of the above
11. What is the correct syntax of print statement in PHP?
a) print
b) print()
c) print = ()
d) Both A. and B.
22. Which loop statement is used to loop through a block of code for each element in an array?
a) while
b) do...while
c) for
d) foreach
23. What is the use of PHP "continue" statement?
a) breaks the loop and transfers the control to the statement written just after the loop body
b) breaks the all loop statement (outer loops and inner loops)
c) breaks one iteration of the loop and transfers the control to the next loop iteration
d) All of the above
25. Which PHP function is used to sort an associative array in descending order, according to the
key?
a) sort()
b) rsort()
c) ksort()
d) krsort()