INTERNET PROGRAMING. MCQ
1.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
Answer: d
2. What is internet?
a) a single network
b) a vast collection of different networks
c) interconnection of local area networks
d) interconnection of wide area networks
Answer: b
3.Which of the following protocols is used in the internet?
a) HTTP
b) DHCP
c) DNS
d) DNS, HTTP and DNS
Answer: d
4.The size of an IP address in IPv6 is _________
a) 32 bits
b) 64 bits
c) 128 bits
d) 265 bits
Answer: c
5.A piece of icon or image on a web page associated with another webpage is called ______
a) url
b) hyperlink
c) plugin
d) extension
Answer: b
6. 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
Answer: d
7.URL stands for ________
a) unique reference label
b) uniform reference label
c) uniform resource locator
d) unique resource locator
Answer: c
8. The HTTP request message is sent in _________ part of three-way handshake.
a) First
b) Second
c) Third
d) Fourth
Answer: c
9. The first line of HTTP request message is called _____________
a) Request line
b) Header line
c) Status line
d) Entity line
Answer: a
10. The __________ method when used in the method field, leaves entity body empty.
a) POST
b) SEND
c) GET
d) PUT
Answer: c
11. Find the oddly matched HTTP status codes
a) 200 OK
b) 400 Bad Request
c) 301 Moved permanently
d) 304 Not Found
Answer: d
12.Which of the following is present in both an HTTP request line and a status line?
a) HTTP version number
b) URL
c) Method
d) None of the mentioned
Answer: a
13.Which of the following is not correct?
a) Web cache doesnt has its own disk space
b) Web cache can act both like server and client
c) Web cache might reduce the response time
d) Web cache contains copies of recently requested objects
Answer: a
14.A typical _________ program creates some remote objects, makes references to these objects accessible, and waits for clients to invoke methods on these objects.
a) Server
b) Client
c) Thread
d) Concurrent
Answer: a
15.The web works on this model.
a) Intranet
b) Internet
c) Client-Server
d) Server
Answer: c
16.Which of the following is not a type of server?
a) File
b) Web
c) Name
d) Browsers
Answer: d
17.This determines the type of protocol to be used.
a) <scheme>
b) <pathname>
c) <server name>
d) <server domain name>
Answer: a
18.Apache is a type of ________
a) Transmission control program
b) Web Server
c) Web Browser
d) DBMS
Answer: b
19.A small data file in the browser.
a) Cookie
b) Web Server
c) FTP
d) Database
Answer: a
20. Any computer that can access the server is called?
a) Web Server
b) Web Browser
c) User
d) Web Client
Answer: d
21.Allows the user to create and maintain a personal list of favorite URL addresses.
a) Software
b) Web Servers
c) Web Browsers
d) WWW
Answer: c
22.Which of the following is not a web server?
a) Apache tomcat
b) BlueGriffon
c) Jetty
d) Tornado
Answer: b
23.Tomcat is an open source web server that provides a servlet container allowing you to run Java code.
a) True
b) False
Answer: a
24.Which of the following is not a prepackaged server stack?
a) WAMP
b) XAAMP
c) MAMP
d) NAMP
Answer: b
25. Which of the following allows user to view a webpage?
a) Operating System
b) Website
c) Interpreter
d) Internet Browser
Answer: d
26. Google Chrome has its own task manager, which allows you to view and manage your memory and CPU usage.
a) True
b) False
Answer: a
27.State whether the given statement is true or false. !DOCTYPE is case sensitive”.
a) True
b) False
Answer: b
28.HTML and XHTML stands for ______
a) Hyper Text Markup Language and Extensible HyperText Markup Language
b) Hyper Text Markup Language and Extensible HyperText Marking Language
c) Hyper Text Marking Language and EXtensible HyperText Marking Language
d) Hyper Text Marking Language and Extensible HyperText Markup Language
Answer: a
29.Choose the correct tag for the largest heading in HTML.
a) h6
b) heading
c) h1
d) head
Answer: c
30.Which of the following are table tags?
a) table, thead, tr, td
b) colspan, table, tr
c) table, tt, tr, td
d) thead, colspan, td, tr
Answer: a
31.Choose the correct HTML for width attribute and its value.
a) width=80
b) width=”80″
c) WIDTH=”80″
d) WIDTH=80
Answer: b
32.Which of the following is not a type of attribute for input tag?
a) day
b) week
c) month
d) time
Answer: a
33.Which of the following is not a HTML5 added form element?
a) <datalist>
b) <keygen>
c) <output>
d) <password>
Answer: d
34.Which of the following defines a group of related options in a drop-down list?
a) <form>
b) <optgroup>
c) <output>
d) <option>
Answer: b
35.Which of the following CSS property sets the opacity level for an element?
a) opacity
b) transparency
c) transparent
d) all of the mentioned
Answer: a
36.Which of the following is an appropriate value for overflow element?
a) hidden
b) auto
c) scroll
d) all of the mentioned
Answer: d
37.Which property is used to add space inside the text field?
a) padding
b) margin
c) number
d) password
Answer: a
38.Which is not the property of CSS box model?
a) width
b) height
c) margin
d) color
Answer: d
39.Which of the following CSS framework is used to create a responsive design?
a) larawell
b) bootstrap
c) rails
d) django
Answer: b
40.What does this code do?
Code:
@media only screen and (orientation: landscape) {
body {
background-color: lightblue;
}
}
a) web page will have a lighblue background if the orientation is in landscape mode
b) web page will have a lighblue background if the orientation is not in landscape mode
c) web page will have a red background if the orientation is in landscape mode
d) None of the mentioned
Answer: a
41.Which of the following css propery defines a relationship between bound elements(s) and some code or content?
a) @import
b) @media
c) url-bind
d) binding
Answer: d
42.Which of the following css property is used to define a delay before an animation starts?
a) delay
b) transition-delay
c) transform-delay
d) none of the mentioned
Answer: b
43. Which of the following css property is used to define which properties a transition will be applied to?
a) animation-property
b) transition-property
c) css3-property
d) none of the mentioned
Answer: b
44. Which of the following css property is used to indicate if an animation plays in reverse or repeats itself every other iteration?
a) animation-iteration
b) animation-check
c) animation-direction
d) animation-state
Answer: c
45. Which of the following css property specifies an image to use as the background of an element?
a) background
b) background-img
c) background-image
d) none of the mentioned
Answer: c
46.What type of selector is used in this case?
p {line-height: 150%;}
a) class Selectors
b) element Selectors
c) id Selectors
d) none of the mentioned
Answer: b
47.By applying an ___________ a style can be applied to just a single tag.
a) class rule
b) element rule
c) id rule
d) none of the mentioned
Answer: c
48.The _____________ attribute is used to define the name(s) of the class(es) to which a particular tag belongs.
a) class
b) element
c) id
d) none of the mentioned
Answer: a
49.Which of the following CSS property defines the different properties of all four sides of an element’s border in a single declaration?
a) border
b) padding
c) border-collapse
d) border-width
Answer: d
50.Choose the CSS property that can be used for collapsing the borders between table cells?
a) border
b) collapse-border
c) border-collapse
d) border-cell
Answer: c
Comments
Post a Comment