

McqMate
These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Bachelor of Business Administration in Computer Applications (BBA [CA]) , Master of Science in Software Engineering (MSc SE) .
Chapters
101. |
GET request is often cacheable while-----request is hardly cacheable. Sol: |
A. | $_GET |
B. | $_POST |
C. | POST |
D. | GET |
Answer» C. POST |
102. |
------inputs are auto-filling inputs after submitting Sol: |
A. | $_GET |
B. | $_POST |
C. | STICKY |
D. | GET |
Answer» C. STICKY |
103. |
GET method supports only string data types while-------method supports different data types, such as string, numeric, binary, etc |
A. | $_GET |
B. | $_POST |
C. | POST |
D. | GET |
Answer» C. POST |
104. |
there are two ways the browser client can send information to the web server . The GET Method & The POST Method |
A. | yes |
B. | no |
C. | can not say |
D. | none of these. |
Answer» A. yes |
105. |
Never use GET method if you have password or other sensitive information to be sent to the server. |
A. | yes |
B. | no |
C. | can not say |
D. | none of these. |
Answer» A. yes |
106. |
GET can't be used to send binary data, like images or word documents, to the server Sol: |
A. | yes |
B. | no |
C. | can not say |
D. | none of these. |
Answer» A. yes |
107. |
The data sent by GET method can be accessed using QUERY_STRING environment variable. |
A. | yes |
B. | no |
C. | can not say |
D. | none of these. |
Answer» A. yes |
108. |
The POST method can be used to send ASCII as well as binary data Sol: |
A. | yes |
B. | no |
C. | can not say |
D. | none of these. |
Answer» A. yes |
109. |
The PHP provides $_POST associative array to access all the sent information using POST method. |
A. | yes |
B. | no |
C. | can not say |
D. | none of these. |
Answer» A. yes |
110. |
PHP $_POST is a PHP super global variable which is used to collect form data after submitting an HTML form with method="post". $_POST is also widely used to pass variables |
A. | yes |
B. | no |
C. | can not say |
D. | none of these. |
Answer» A. yes |
111. |
The GET method can retrieve information identified by the request-URl (Uniform Resource Identifier) |
A. | yes |
B. | no |
C. | can not say |
D. | none of these. |
Answer» A. yes |
112. |
Use POST when you need the server, which controls URL generation of your resources Sol: |
A. | yes |
B. | no |
C. | can not say |
D. | none of these. |
Answer» A. yes |
113. |
The GET method is restricted to send upto------characters only Sol: |
A. | 1024 |
B. | 1000 |
C. | 255 |
D. | 1056 |
Answer» A. 1024 |
114. |
-----plays an important role in many different IT systems. Sol: |
A. | XML |
B. | HTML |
C. | UTF-8 |
D. | 1056 |
Answer» A. XML |
115. |
-----is often used for distributing data over the Internet Sol: |
A. | XML |
B. | HTML |
C. | UTF-8 |
D. | 1056 |
Answer» A. XML |
116. |
The----language has no predefined tags Sol: |
A. | XML |
B. | HTML |
C. | UTF-8 |
D. | 1056 |
Answer» A. XML |
117. |
The tags in the example above (like <to> and <from>) are not defined in any----
|
A. | XML |
B. | HTML |
C. | UTF-8 |
D. | 1056 |
Answer» A. XML |
118. |
----works with predefined tags like <p>,<h1>, <table>, etc. Sol: |
A. | XML |
B. | HTML |
C. | UTF-8 |
D. | 1056 |
Answer» B. HTML |
119. |
With----the author must define both the tags and the document structure Sol: |
A. | XML |
B. | HTML |
C. | UTF-8 |
D. | 1056 |
Answer» A. XML |
120. |
----not works with predefined tags like <p>,<h1>, <table>, etc. Sol: |
A. | XML |
B. | HTML |
C. | UTF-8 |
D. | 1056 |
Answer» A. XML |
121. |
XML stands for-------------. Sol: |
A. | extensible Markup Language. |
B. | hyper text mark up language |
C. | hyper text get up language |
D. | none of these |
Answer» A. extensible Markup Language. |
122. |
-----is a markup language much like HTML. Sol: |
A. | XML |
B. | HTML |
C. | UTF-8 |
D. | 1056 |
Answer» A. XML |
123. |
XML was designed to --------------- Sol: |
A. | store and transport data |
B. | design and transport data |
C. | close and store the data |
D. | none of these |
Answer» A. store and transport data |
124. |
XML was designed to be------------- Sol: |
A. | self descriptive |
B. | descriptive |
C. | UTF-8 |
D. | 1056 |
Answer» A. self descriptive |
125. |
Most XML applications will work as expected even if new data is added. Sol: |
A. | yes |
B. | no |
C. | can not say |
D. | none of these |
Answer» A. yes |
126. |
-----is the default character encoding for XML documents. Sol: |
A. | self descriptive |
B. | descriptive |
C. | UTF-8 |
D. | 1056 |
Answer» C. UTF-8 |
127. |
XML documents are formed as-------- Sol: |
A. | element trees |
B. | descriptive |
C. | UTF-8 |
D. | 1056 |
Answer» A. element trees |
128. |
An XML tree starts at a--------and branches from the root to
|
A. | root element |
B. | descriptive |
C. | UTF-8 |
D. | 1056 |
Answer» A. root element |
129. |
<?xml version="1.0" encoding="UTF-8"?> This line is called the XML----: Sol: |
A. | prolog |
B. | descriptive |
C. | UTF-8 |
D. | 1056 |
Answer» A. prolog |
130. |
The XML------is optional. If it exists, it must come first in the document Sol: |
A. | prolog |
B. | descriptive |
C. | UTF-8 |
D. | 1056 |
Answer» A. prolog |
131. |
To avoid errors you should specify encoding used, or save your XML
|
A. | prolog |
B. | descriptive |
C. | UTF-8 |
D. | 1056 |
Answer» C. UTF-8 |
132. |
An------element is everything from (including) the element's start tag to
|
A. | XML |
B. | descriptive |
C. | UTF-8 |
D. | 1056 |
Answer» A. XML |
133. |
An---------tag or element can contain text ,attributes ,other elements. Sol: |
A. | XML |
B. | descriptive |
C. | UTF-8 |
D. | 1056 |
Answer» A. XML |
134. |
An element with no content is said to be---------- Sol: |
A. | XML TAG |
B. | descriptive |
C. | UTF-8 |
D. | Empty XML elements. |
Answer» D. Empty XML elements. |
135. |
-----------values must always be quoted in xml. Either single or double
|
A. | attribute |
B. | element |
C. | UTF-8 |
D. | Empty XML elements. |
Answer» A. attribute |
136. |
An------document is a basic unit of XML information composed of
|
A. | XML document |
B. | descriptive |
C. | html document |
D. | Empty XML elements. |
Answer» A. XML document |
137. |
An- - - - - - can contains wide variety of data.For example, database of
|
A. | XML document |
B. | descriptive |
C. | html document |
D. | Empty XML elements. |
Answer» A. XML document |
138. |
------is a markup language that looks a lot like HTML Sol: |
A. | XML |
B. | descriptive |
C. | html document |
D. | Empty XML elements. |
Answer» A. XML |
139. |
XML is very strict when it comes to document structure Sol: |
A. | yes |
B. | no |
C. | can not say |
D. | none of these |
Answer» A. yes |
140. |
PHP 5's new-----module makes parsing an XML document, Sol: |
A. | simpleXML |
B. | descriptive |
C. | html document |
D. | Empty XML elements. |
Answer» A. simpleXML |
141. |
To create a SimpleXML object from an XML document stored in a string, pass
|
A. | simpleXML |
B. | simplexml_load_string( ). |
C. | simplexml_load_file( filename) |
D. | XML parser. |
Answer» B. simplexml_load_string( ). |
142. |
You can use function---------------if you have XMLcontent in a file. Sol: |
A. | simpleXML |
B. | simplexml_load_string( ). |
C. | simplexml_load_file( filename) |
D. | XML parser. |
Answer» C. simplexml_load_file( filename) |
143. |
An-----------is a software library or package that provides interfaces for client
|
A. | simpleXML |
B. | simplexml_load_string( ). |
C. | simplexml_load_file( filename) |
D. | XML parser |
Answer» D. XML parser |
144. |
The ------------is designed to read the XMLand create a way for
|
A. | simpleXML |
B. | simplexml_load_string( ). |
C. | simplexml_load_file( filename) |
D. | XML parser |
Answer» D. XML parser |
145. |
-----------validates the document and check that the document is well formatted Sol: |
A. | simpleXML |
B. | simplexml_load_string( ). |
C. | simplexml_load_file( filename) |
D. | XML parser |
Answer» D. XML parser |
146. |
The---------defines a standard for accessing and manipulating documents: Sol: |
A. | simpleXML |
B. | simplexml_load_string( ). |
C. | simplexml_load_file( filename) |
D. | DOM |
Answer» D. DOM |
147. |
The---------defines a standard way for accessing and manipulating
|
A. | simpleXML |
B. | simplexml_load_string( ). |
C. | simplexml_load_file( filename) |
D. | HTML DOM |
Answer» D. HTML DOM |
148. |
The--------defines a standard way for accessing and manipulating XMLdocuments. It
|
A. | simpleXML |
B. | simplexml_load_string( ). |
C. | simplexml_load_file( filename) |
D. | XML DOM |
Answer» D. XML DOM |
149. |
All XML elements can be accessed through the--------------- Sol: |
A. | simpleXML |
B. | simplexml_load_string( ). |
C. | simplexml_load_file( filename) |
D. | XML DOM |
Answer» D. XML DOM |
150. |
All------can be accessed through the XML DOM. Sol: |
A. | simpleXML |
B. | simplexml_load_string( ). |
C. | simplexml_load_file( filename) |
D. | XML element |
Answer» D. XML element |
Done Studing? Take A Test.
Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.