AJAX Programming Using ASP.NET MCQs

AJAX Programming MCQs with Answers

1. When a visitor clicks the submit button on a form, the ______ of each form element is sent. A. label

B. name
C. value
D. name-value pair

ANSWER: D


2. The amount of space between letters can be specified using the __________ property in a style rule.

A. letter-kerning
B. letter-leading
C. letter-spacing

D. letter-buffer

ANSWER: C


3. Which of the following is/are the valid syntax for CSS pseudo-classes.

A. selector: pseudo-class{property: value}
B. selector.class: pseudo-class{property:value}
C. Both A and B

D. None of the above

ANSWER: C


4. The …………………. property allows to specify how much space appear between the content of an element and it’s border.

A. Spacing B. Marking

C. Padding

D. Content-border

ANSWER: C


5. The …………………. property allows you to control the shape or style of bullet point in the case of unordered lists, and the style of numbering characters in ordered list.

A. list-style-type

B. list-style-layout

C. list-type-style

D. list-type

ANSWER: A


6. Which syntax is used to describe elements in CSS?

A. Protectors
B. Selectors
C. Both a and b

D. None of the above

ANSWER: B


7. Which of the following is the ultiate element selection method?

A. querySelectorAll()
B. querySelector()
C. queryAll()

D. query()

ANSWER: A


8. The C in CSS stands for

A. Continuous
B. Cascaded
C. Conventional

D. Cascading

ANSWER: D


9. The latest version of CSS is

A. CSS1

B. CSS2

C. CSS3

D. CSS4

ANSWER: C


10. Which of the following is an example of a Shortcut Property?

A. border

B. font
C. text
D. All of the above

ANSWER: D



11. Which of the following is the default positioning element with CSS?

A. relative
B. static
C. absolute

D. None of the above

ANSWER: B


12. The ____________ selector is used to specify a style for a single, unique element

A. Id

B. class

C. text

D. Bit

ANSWER: A


13. The ____________ property specifies which sides of an element other floating elements are not allowed.

A. cleared
B. clear
C. float
D. Both A and B above

ANSWER: B


14. What is CSS Float?
A. allows other elements to wrap around an element

B. element can be pushed to the left to right
C. both a and b above
D. element can be pushed to any direction

ANSWER: C


15. To specify table border in CSS, ____________ property is used

A. tbl-border
B. table-border
C. tb-border

D. border ANSWER: D


16. _________ property can be used to Increase or decrease the space between words

A. space

B. word-spacing
C. word-space
D. Both b and c above

ANSWER: B


17. ______________ property specifies an image to use as the background of an element

A. backg-img
B. backg-image
C. background-img

D. background-image

ANSWER: D


18. Multiple external style sheets cannot be referenced inside a single HTML document

A. True

B. False
C. None of the above

D. Not Correct

ANSWER: B


19. Elements in CSS cannot be positioned unless the positioning property is set first

A. True

B. False
C. None of the above

D. Not Correct

ANSWER: A


20. The font-size value can be an absolute, or relative size

A. True

B. False
C. None of the above

D. Not Correct

ANSWER: A



21. Which of the following are recommended HTML approaches you use to provide spacing in a Web page?

A. using a BR tag to apply a line break
B. using a P tag to apply a paragraph break
C. using a CB tag to apply a column break
D. using a HR tag to apply a visual section break

ANSWER: C


22. Which of the following 4 technologies was not built specifically to coexist well with HTML?

A. CSS

B. DHTML

C. SGML

D. XML

ANSWER: C


23. Which of the following is true of XSLT?
A. One XSLT document is used to convert an XML document into many different types of documents.

B. XSLT processors are embedded in most of the popular Web browsers used to browse Web content.

C. XSLT generates output through the use of templates that connect to elements in an XML document.

D. XSLT includes XSL-FO (for Formatting Objects) technology that is also managed by the W3C

ANSWER: C


24. Which of the following is the best description of the relationship between HTML and XHTML

A. XHTML is a subset of HTML
B. HTML is a subset of XHTML
C. HTML is an XML encoding of XHTML

D. XHTML is an XML encoding of HTML

ANSWER: D


25. XHTML is an XML encoding of HTML

A. Extensive Hypertext Makeup Language

B. Extensible Hypertext Markup Language

C. Expansive Hyperlink Markup Language

D. None of the above

ANSWER: B


26. Which of the following is a valid XSLT iteration command

A. for

B. for-all

C. for-each

D. in-turn

ANSWER: C


27. What is an advantage of XML compared to HTML?
A. XML works on more platforms.
B. XML is suited to using Web pages as front ends to databases.

C. XML was designed for portable phones.
D. XML is simpler to learn than HTML.

ANSWER: B


28. The following best describes the development of XML.
A. XML developed from HTML because WEB browsers became more powerful.
B. XML is designed as a replacement because SGML can not be used for document development.
C. XML builds on HTMLs ability to provide content to virtually any audience by adding the power of

intelligent content.
D. XML is the modern replacement for HTML and SGML, taking the good points from each, making

both of those languages obsolete.

ANSWER: C


29. Which of the following statements is true:

A. XML is a direct subset of SGML
B. SGML is an application of HTML
C. XML is a kind of dynamic HTML

D. XHTML is XML rewritten in HTML

ANSWER: A


30. What is a qualified name?
A. Any name conforming to the XML Names specification

B. A name having prefix and local name separated by a colon

C. A name applying only to qualified elements and attributes

D. None of the above

ANSWER: C



What is a NCName
A. A Non-Common Name
B. A Non-Conforming Name
C. A Non-Colonized Name
D. None of the above
ANSWER: C


From what set of names do NCNames derive?
A. Any combination of characters allowable in XML
B. Any names conforming to XML Names, minus the colon
C. Any names for elements and attributes within the DTD to which the namespace refers
D. None of the above.
ANSWER: B


Which of the following is used to specify the attribute list of an element
A. ATTLIST
B. ?ATTLIST
C. !ATTLIST
D. #ATTLIST
ANSWER: C


Well formed XML document means(most appropriate)
A. it contains a root element
B. it contain an element
C. it contains one or more elements
D. must contain one or more elements and root element must contain all other elements
ANSWER: D


Attribute of the document interface in DOM is/are (i)doctype (ii)implementation (iii)documentElement which are read only attributes
A. (i) only
B. (ii) only
C. (ii),(iii) only
D. all
ANSWER: D


XML DSOs has the property for the number of pages of data the recordset contains
A. count
B. number
C. pageCount
D. pageNumber
ANSWER: C


What does DTD stand for?
A. Direct Type Definition
B. Document Type Definition
C. Do The Dance
D. Dynamic Type Definition
ANSWER: B


DTD includes the specifications about the markup that can be used within the document, the specifications consists of all EXCEPT
A. the browser name
B. the size of element name
C. entity declarations
D. element declarations
ANSWER: A


Parameter entities can appear in
A. xml file
B. dtd file
C. xsl file
D. Both 1 and 2
ANSWER: B


In XML
A. the internal DTD subset is read before the external DTD
B. the external DTD subset is read before the internal DTD
C. there is no external type of DTD
D. there is no internal type of DTD
ANSWER: A



What is the purpose of the method nodeMap.setNamedItem()?
A. Sets ID
B. Sets attribute node
C. Sets element name
D. None of the above
ANSWER: B


How is everything treated in HTML DOM?
A. Node
B. Attributes
C. Elements
D. All of the mentioned
ANSWER: A


What is the purpose of the Legacy DOM ?
A. Makes the scripting easier
B. Allows access to few keys and elements
C. Both a and b
D. None of the mentioned
ANSWER: B


What does the NamedNodeMap object represent in the HTML DOM?
A. Unordered collection of elements
B. Unordered collection of attributes
C. Unordered collection of nodes
D. All of the mentioned
ANSWER: D


Which of the following is a type of HTML DOM?
A. Legacy DOM
B. W3C DOM
C. IE4 DOM
D. All of the mentioned
ANSWER: D


Which object is the top of the hierarchy?
A. Window Object
B. Document Object
C. Form Object
D. Form Control Elements
ANSWER: A


What is the purpose of the Attr object in the HTML DOM?
A. Used to focus on a particular part of the HTML page
B. HTML Attribute
C. Used to arrange elements
D. None of the mentioned
ANSWER: B


The central object in a larger API is known as
A. Document Object Material
B. Document Object Model
C. Binary Object Model
D. None of the mentioned
ANSWER: B


The Text and Comment is part of
A. CharacterData
B. Document
C. Attr
D. Element
ANSWER: A


Which of the following can be used to select HTML elements based on the value of their name attributes?
A. getElementByName()
B. getElementsByName()
C. getElementsName()
D. getElementName()
ANSWER: B

AJAX Programming MCQs with Answers Read More »

AJAX PROGRAMMING USING ASP.NET MCQs

1. What is AJAX
A. is a program
B. is a country name
C. is a football club name
D. None of the above
ANSWER: A


2. What sever support AJAX ?
A. SMTP
B. WWW
C. HTTP
D. All the above
ANSWER: C


3. AJAX Stands for_________________
A. Asynchronous Javascript and XML
B. Abstract JSON and XML
C. Another Java Abstraction for X-Windows
D. Another Java and XML Library
ANSWER: A


4. What makes Ajax unique?
A. It works as a stand-alone Web-development tool.
B. It works the same with all Web browsers.
C. It uses C++ as its programming language.
D. It makes data requests asynchronously.
ANSWER: D


5. What does the XMLHttpRequest object accomplish in Ajax?
A. It’s the programming language used to develop Ajax applications.
B. It provides a means of exchanging structured data between the Web server and client.
C. It provides the ability to asynchronously exchange data between Web browsers and a Web server.
D. It provides the ability to mark up and style the display of Web-page text.
ANSWER: C


6. Of the following technologies, which one provides the ability to dynamically interact with Web page layout?
A. JavaScript.
B. XML.
C. Document Object Model.
D. HTML.
ANSWER: C


7. What is the first step in creating a Joke of the Day application?
A. Create the application’s text file.
B. Write the application’s HTML.
C. Turn the HTML application into an Ajax application.
D. Upload the application to a Web server.
ANSWER: B


8. What combination of technologies gives AJAX its name?
A. ASP and XAML
B. Asynchronous JavaScript and XML
C. Autonomic Computing and DHTML
D. Atlas and XML
ANSWER: B


9. Which one of these legendary Greek mythical figures or places is the code name for Microsoft’s version of AJAX ?
A. Oracle
B. Atlas
C. Hercules
D. Delphi
ANSWER: B


10. Which Web browser is the least optimized for Microsoft’s version of AJAX?
A. Firefox
B. Opera
C. Safari
D. Internet Explorer
ANSWER: C



11. Which one of these technologies is NOT used in AJAX?

A. CSS

B. DOM
C. DHTML

D. FLASH

ANSWER: D

12. AJAX comes in _____.

A. 2003

B. 2005

C. 2004

D. 2006

ANSWER: B

13. AJAX made popular by______

A. Microsoft

B. IBM

C. Sun Micro system

D. Google

ANSWER: D


14. AJAX based on ______ .

A. JavaScript and XML

B. JavaScript and Java
C. VBScript and XML

D. JavaScript and HTTP requests

ANSWER: A


15. Using AJAX we can made our web page.

A. more interactive and faster
B. easy to connect web page with server

C. more dynamic

D. None of the above ANSWER: A


16. What does the <noscript> tag do?
A. Enclose text to be displayed by non-JavaScript browsers.

B. Prevents scripts on the page from executing.
C. Describes certain low-budget movies.
D. None of the above

ANSWER: A


17. Why so JavaScript and Java have similar name?

A. JavaScript is a stripped-down version of Java

B. JavaScript’s syntax is loosely based on Java’s

C. They both originated on the island of Java

D. None of the above

ANSWER: B


18. When a user views a page containing a JavaScript program, which machine actually executes the script?

A. The User’s machine running a Web browser
B. The Web server
C. A central machine deep within Netscape’s corporate offices

D. None of the above

ANSWER: A


19. _____ JavaScript is also called client-side JavaScript.

A. Microsoft
B. Navigator
C. LiveWire

D. Native ANSWER: B


20. _______ JavaScript is also called server-side JavaScript

A. Microsoft
B. Navigator

C. LiveWire

D. None of the above

ANSWER: C



21. What does the XMLHttpRequest object accomplish in Ajax?
A. Its the programming language used to develop Ajax applications.
B. It provides a means of exchanging structured data between the Web server and client.
C. It provides the ability to asynchronously exchange data between Web browsers and a Web server.

D. It provides the ability to mark up and style the display of Web-page text.

ANSWER: C


22. ________ Of the following technologies, which one provides the ability to dynamically interact with Web page layout?

A. JavaScript.
B. XML.
C. Document Object Model.

D. HTML.

ANSWER: C


23. The return type of getElementsByClassName() is

A. DOM

B. Document

C. Node
D. NodeList

ANSWER: D


24. What combination of technologies gives AJAX its name?

A. ASP and XAML
B. Asynchronous JavaScript and XML
C. Autonomic Computing and DHTML

D. Atlas and XML

ANSWER: B


25. Which one of these legendary Greek mythical figures or places is the code name for Microsofts version of AJAX ?

A. Oracle B. Atlas
C. Hercules

D. Delphi

ANSWER: B


26. Which Web browser is the least optimized for Microsoft’s version of AJAX?

A. Firefox
B. Opera
C. Safari

D. Internet Explorer

ANSWER: C


27. Which one of these technologies is NOT used in AJAX?

A. CSS

B. DOM

 

C. DHTML

D. Flash

ANSWER: D


28. AJAX comes in ____.

A. 2003

B. 2005

C. 2004

D. 2006

ANSWER: B


29. AJAX made popular by

A. Microsoft
B. IBM
C. Sun Microsystem

D. Google ANSWER: D


30. AJAX based on_____________

A. JavaScript and XML
B. JavaScript and Java
C. VBScript and XML

D. JavaScript and HTTP requests

ANSWER: A



31. Using AJAX we can made our web page ______________

A. more interactive and faster
B. easy to connect web page with server
C. more dynamic

D. None of the above

ANSWER: A


32. A Master Page contains a ScriptManager control and a user wants the AJAX functionality on content page then which control is necessary on content page?

A. AsyncPostBackTrigger

B. ScriptManager
C. ScriptManager Proxy

D. None of the above.

ANSWER: C


33. What are the advantages of AJAX?
A. AJAX is a platform-independent technology

B. It provides partial-page updates
C. Improved performance
D. All of the above

ANSWER: D


34. The UpdatePanel supports two types of triggers: AsyncPostBackTrigger and PostBackTrigger. Choose the correct option regarding the working of these triggers.

A. AsyncPostBackTrigger causes an asynchronous (Ajax) postback.

B. PostBackTrigger causes a normal entire-page postback.

C. AsyncPostBackTrigger causes a normal entire-page postback.

D. Options A and B are Correct.

ANSWER: D


35. Which control is required of every AJAX page to manage the JavaScript files sent to the client and the communication between client and server?

A. UpdatePanel
B. ScriptManager
C. AsyncPostBackTrigger

D. None of the above.

ANSWER: B


36. Which interface you will use wrap an AJAX client control into a custom server control?

A. IScriptManager
B. IScriptControl
C. IScriptAJAX

D. None of the above

ANSWER: A


37. Which control can be used to update only the portion of the page?

A. UpdatePanel
B. ScriptManager
C. AsyncPostBackTrigger

D. None of the above.

ANSWER: A


38. How many ‘ScriptManager’ control can be added on a ASP.NET web page?

A. Only One
B. More than One
C. Only Two

D. None of the above.

ANSWER: A


39. Which method is used to dynamically register client script from code?

A. Page.ClientScript.RegisterClientScriptBlock
B. RegisterScript
C. Page.ClientScript

D. None of the above

ANSWER: A


40. Which control is required for every page that have AJAX Extensions for ASP.NET?

A. UpdatePanel
B. ScriptManager
C. ContentPanel

D. None of the above

ANSWER: B



41. Which of the following is true ?

1. AJAX is a platform-independent technology

2. AJAX can work with web application

3. AJAX can only work with ASP.NET

4. AJAX is a platform-dependent technology

A. 1, 2 B. 1,2,3

C. 1,3,4

D. None of the above

ANSWER: A


42. Which property and method of the Page object do you use to register client script dynamically from code?

A. ScriptManager control is used to dynamically register client script from code.

B. The Page.ClientScript.RegisterClientScriptBlock is used to dynamically register client script from code.

C. ScriptManagerProxy control is used to dynamically register client script from code.

D. None of the above.

ANSWER: B


43. What property and method of the Page object do you use to register client script dynamically from code?

A. ScriptManager control is used to dynamically register client script from code.

B. The Page.ClientScript.RegisterClientScriptBlock is used to dynamically register client script from code.

C. ScriptManagerProxy control is used to dynamically register client script from code.

D. None of the above.

ANSWER: C


44. The XMLHttpRequest object is used to exchange data with a server.True or False?

A. True

B. False
C. None of the above

D. Not Correct

ANSWER: A


45. What is the official name of JavaScript?

A. NetscapeScript
B. XMLScript
C. ECMAScript

D. WebScript

ANSWER: C


46. Determine whether the following line is correct or not: With AJAX it is possible to work on an image on the client.

A. No
B. yes
C. None of the above

D. Not Correct

ANSWER: B


47. From the provided methods, pick the right one that returns the value of an attribute:

A. attribute[index].text
B. attribute()
C. getAttribute()

D. All of above

ANSWER: C


48. A ________________________ to the JavaScript engine starts all subsequent requests to the server.

A. XML Document
B. Function call
C. HTML page

D. XHTML Tag

ANSWER: B


49. In AJAX, the word “Synchronous” describes _______________.

A. Ability to handle processes independently from other processes

B. Processes are dependent upon other processes
C. Processes are not fully dependant on other processes

D. All the processes can be run independently

ANSWER: B


50. In Internet Explorer, from the following, which one is the right option to obtain an XMLHttpRequest object?

A. if (window.XMLHttpRequest) { httpReq = new XMLHttpRequest(); }
B. if (window.ActiveXObject) { httpReq = new ActiveXObject(“Microsoft.XMLHTTP”); }
C. if (window.ActiveXObject) { httpReq = new GetObject(“Microsoft XMLHttpRequest”); }

D. if (window.XMLHttpRequest) { httpReq = new XMLHttpRequest(“IE”); }

ANSWER: A



51. To get the response from a server, responseText or responseXML property of the XMLHttpRequest object is used.

A. No
B. yes
C. None of the above

D. Not Correct

ANSWER: B


52. What will be the primary step when you have to send a request using JavaScript to a server? A. You will call the connect() method of the XMLHttp object
B. You will call the connect() method of the XMLHttp object
C. You will call the open() method of the XMLHttp object

D. None of above

ANSWER: C


53. The responseText property returns the response as a string format.True or False?

A. True

B. False
C. None of the above

D. Not Correct

ANSWER: A


54. What does the Chorus believe has afflicted Ajax?

A. Madness.
B. Jealousy.
C.  Envy.

D. Fear.

ANSWER: A


55. Ajax stands for Synchronous JavaScript and XML.

A. True

B. False
C. None of the above

D. Not Correct

ANSWER: B


56. Ajax is a programming language.

A. True

B. False
C. None of the above

D. Not Correct

ANSWER: B


57. Regarding the XMLHttpRequest Object, does the order in which one calls the “open” method and assign a function to the “onreadystatechange” event handler matter?

A. Yes
B. No
C. None of the above

D. Not Correct

ANSWER: B


58. Can a call to the “send” method fire an error (assuming the user’s browser supports the XMLHttpRequest Object and the “send” method )?

A. No
B. Yes
C. None of the above

D. Not Correct

ANSWER: A


59. ActiveX can be disabled via browser settings.

A. True

B. False
C. None of the above D. Not Correct

ANSWER: A

60. The XMLHttpRequest object can be disabled via browser settings.

A. True

B. False
C. None of the above

D. Not Correct

ANSWER: B



61. Assuming that “xmlhttp” is a user-defined variable that carrys the Ajax requesting object, xmlhttp.status can carry a value of 4 after a successful request.

A. True
B. False
C. None of the above

D. Not Correct

ANSWER: B


62. The XMLHttpRequest object supports a method called “quit”.

A. True

B. False
C. None of the above

D. Not Correct

ANSWER: B


63. Assuming that “xmlhttp” is a user-defined variable that carrys the Ajax requesting object, xmlhttp.status can carry a value of 0 after a successful request.

A. True
B. False
C. None of the above

D. Not Correct

ANSWER: B


64. The XMLHttpRequest object can be used on subdomain1.mysite.com to request a page located at subdomain2.mysite.com according to the specification.

A. True
B. False
C. Not Correct
D. None of the above

ANSWER: B


65. Regarding the XMLHttpRequest Object, does the order in which one calls the open method and assign a function to the onreadystatechange event handler matter?

A. Yes
B. No
C. Not Correct
D. None of the above

ANSWER: B


66. Can a call to the send method fire an error.

A. Yes

B. No
C. Not Correct
D. None of the above

ANSWER: B


67. The XMLHttpRequest object can be disabled via browser settings.

A. True

B. False
C. None of the above

D. Not Correct

ANSWER: B


68. Assuming that xmlhttp is a user-defined variable that carrys the Ajax requesting object, xmlhttp.status can carry a value of 4 after a successful request.

A. True
B. False
C. None of the above

D. Not Correct ANSWER: B

69. The XMLHttpRequest object supports a method called quit.

A. False

B. True
C. Not Correct
D. None of the above

ANSWER: A


70. The XMLHttpRequest object can be used on subdomain1.mysite.com to request a page located at subdomain2.mysite.com according to the specification.

A. True
B. False
C. Not Correct
D. None of the above

ANSWER: B



71. What does XML stand for?
A. eXtra Modern Link
B. eXtensible Markup Language

C. Example Markup Language

D. X-Markup Language

ANSWER: B


72. Which statement is true?
A. All XML elements must have a closing tag

B. All XML elements must be lower case
C. All XML documents must have a DTD
D. All the statements are true

ANSWER: B


73. What is the correct syntax of the declaration which defines the XML version?:

A. <xml version=”A.0″ />
B. <?xml version=”A.0″?>
C. <?xml version=”A.0″ />

D. None of the above

ANSWER: B


74. Which of the following programs support XML or XML applications?:

A. Internet Explorer 5.5
B. Netscape D.7
C. RealPlayer.

D. both A and B

ANSWER: D


75. Well formed XML document means
A. it contains a root element
B. it contain an element
C. it contains one or more elements
D. must contain one or more elements and root element must contain all other elements

ANSWER: D


76. Comment in XML document is given by

A. <?– –>
B. <!– –!>
C. <!– –>

D. </– — >

ANSWER: C


77. When processing an output XML, new line symbols
A. Are copied into output as is, i.e. CR+LF for Windows, CR for Macintosh, LF for Unix.

B. Are converted to single LF symbol
C. Are converted to single CR symbol
D. Are discarded

ANSWER: B


78. Which of the following strings are a correct XML name?

A. xmlExtension
B. xslNewElement
C. XMLElement#123

D. All

ANSWER: B


79. What are the predefined attributes

A. xml:lang
B. xml:space
C. both

D. none.

ANSWER: C


80. XML uses the features of
A. HTML

B. XHTML C. VML
D. SGML

ANSWER: D



81. Parameter entities can appear in A. xml file
B. dtd file
C. xsl file

D. Both 1 and 2 ANSWER: B


82. The XML DOM object is A. Entity

B. Entity Reference
C. Comment Reference
D. Comment Data

ANSWER: B


83. The XML DOM object is A. Entity

B. Entity Reference
C. Comment Reference

D. Comment Data

ANSWER: B


84. Whats so great about XML? A. Easy data exchange
B. High speed on network
C. High speed on network

D. Both A. & B. ANSWER: D


85. For XML document to be valid
A. document need to be well formed also
B. document need not to be well formed
C. document need to be well formed & valid
D. document validity has no relationship with well formedness

ANSWER: C


86. The attribute used to define a new namespace is A. XMLNS
B. XmlNameSpace
C. Xmlns

D. XmlNs ANSWER: C


87. Which of the below is a lieral reverse of Ajax?

A. HTTP

B. HTML

C. XML

D. Comet

ANSWER: D


88. Which of the following uses scripted HTTP?

A. XML

B. HTML
C. Ajax
D. All of the above

ANSWER: C


89. Which method is an alternative of the property location of a window object?

A. submit()
B. locate()
C. load()

D. None of the above

ANSWER: A


90. Which property helps to initiate the HTTP requests?
A. request

B. location
C. send
D. None of the mentioned

ANSWER: B



91. The other name for Comet is A. Server Push
B. Ajax Push
C. HTTP Streaming

D. All of the above

ANSWER: D


92. Which is the element that has a src property to initiate HTTP GET request? A. img

B. iframe
C. script
D. Both a and c

ANSWER: D


93. XMLHttpRequest is a

A. Object

B. Class
C. Both a and b
D. None of the above

ANSWER: C


94. Which of the following are the features of an HTTP request?

A. URL being requested
B. Optional request body
C. Optional set of request headers

D. All of the above

ANSWER: D


95. Which of the following is a feature of the HTTP response?

A. Mandatory response body
B. Optional response body
C. URL being released

D. Optional set of response headers

ANSWER: A


96. The CSS links properties are
A. :link, :visited, :hover, :active
B. :link, :visit, :hover, :active
C. :link, :visited, :over, :active
D. :link, :visited, :hover, :active, :inactive

ANSWER: A


97. In CSS tables, the possible values for the caption-side property can have the following values.

A. top, bottom, left or right
B. top, bottom, center, left or right
C. top or bottom

D. left or right

ANSWER: A


98. The different ways to associate styles with a HTML document is/are

A. Embedded CSS with <style> element
B. Inline CSS with style attribute.
C. External CSS with <link> element.

D. All of the above

ANSWER: D


99. In a table, the CSS __________ property can be used to specify the amount of space between the borders of each cell.

A. border-padding B. padding
C. spacing
D. border-spacing

ANSWER: D


100. In the head section of each (X)HTML page in which you wish to use an external style sheet, you must include an appropriate ______ element.

A. <link>

B. <src>

C. <style>

D. <css>

ANSWER: A



 

AJAX PROGRAMMING USING ASP.NET MCQs Read More »

error: Content is protected !!