MCQOPTIONS
Saved Bookmarks
This section includes 244 Mcqs, each offering curated multiple-choice questions to sharpen your Bachelor of Business Administration in Computer Applications (BBA [CA]) knowledge and support exam preparation. Choose a topic below to get started.
| 101. |
---methods can be overridden by redefining the methods (use the same name) in thechild class.Sol: |
| A. | inheritance |
| B. | public |
| C. | protected |
| D. | private |
| Answer» B. public | |
| 102. |
-------are used to declare methods that can be used in multiple classes. Traits can havemethods and abstract methods that can be used in multiple classes.Sol: |
| A. | static |
| B. | self |
| C. | traits |
| D. | single inheritance |
| Answer» D. single inheritance | |
| 103. |
All------methods must be public, while abstract class methods is public or protected Sol: |
| A. | abstract |
| B. | child |
| C. | interface |
| D. | implement |
| Answer» D. implement | |
| 104. |
-------classes and methods are when the parent class has a named method, but need itschild class(es) to fill out the tasksSol: |
| A. | abstract |
| B. | child |
| C. | interface |
| D. | implement |
| Answer» B. child | |
| 105. |
An- - - - - - can contains wide variety of data.For example, database ofnumbers, numbers representing molecular structure or a mathematical equation.Sol: |
| A. | XML document |
| B. | descriptive |
| C. | html document |
| D. | Empty XML elements. |
| Answer» B. descriptive | |
| 106. |
Never use GET method if you have password or other sensitive information to be sentto the server.Sol: |
| A. | yes |
| B. | no |
| C. | can not say |
| D. | none of these. |
| Answer» B. no | |
| 107. |
After the information is encoded it is sent to the server Spaces are removed andreplaced with the + character and any other non alphanumeric characters are replaced with a hexadecimal values.Sol: |
| A. | yes |
| B. | no |
| C. | can not say |
| D. | none of these. |
| Answer» B. no | |
| 108. |
An- - - - - - - - - - can contains wide variety of data.For example, databaseof numbers, numbers representing molecular structure or a mathematical equation.Sol: |
| A. | XML document |
| B. | descriptive |
| C. | html document |
| D. | Empty XML elements. |
| Answer» B. descriptive | |
| 109. |
The----------method cannot be used for passing sensitive information like usernamesand passwords.Sol: |
| A. | $_GET |
| B. | $_POST |
| C. | POST |
| D. | GET |
| Answer» E. | |
| 110. |
------cannot have properties, while abstract classes can Sol: |
| A. | abstract |
| B. | child |
| C. | interface |
| D. | implement |
| Answer» D. implement | |
| 111. |
The PHP provides $_POST associative array to access all the sent information usingPOST method.Sol: |
| A. | yes |
| B. | no |
| C. | can not say |
| D. | none of these. |
| Answer» B. no | |
| 112. |
The PHP provides-------associative array to access all the sent information using GETmethod.Sol: |
| A. | $_GET |
| B. | $_POST |
| C. | POST |
| D. | QUERY_STRING |
| Answer» B. $_POST | |
| 113. |
The PHP provides----------associative array to access all the sent information usingPOST method.Sol: |
| A. | $_GET |
| B. | $_POST |
| C. | POST |
| D. | QUERY_STRING |
| Answer» C. POST | |
| 114. |
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» B. no | |
| 115. |
Use-----when you need the server, which controls URL generation of your resources Sol: |
| A. | $_GET |
| B. | $_POST |
| C. | POST |
| D. | GET |
| Answer» D. GET | |
| 116. |
------cannot be changed once it is declared. Sol: |
| A. | final |
| B. | constants |
| C. | const |
| D. | case-sensitive |
| Answer» C. const | |
| 117. |
------has a limitation on the length of the values, generally 255 characters Sol: |
| A. | $_GET |
| B. | $_POST |
| C. | POST |
| D. | GET |
| Answer» E. | |
| 118. |
-----------is a markup language that looks a lot like HTML Sol: |
| A. | XML |
| B. | descriptive |
| C. | html document |
| D. | Empty XML elements. |
| Answer» B. descriptive | |
| 119. |
Before the browser sends the information to the server , it encodes it using a schemecalled URL.Sol: |
| A. | yes |
| B. | no |
| C. | can not say |
| D. | none of these. |
| Answer» B. no | |
| 120. |
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» B. no | |
| 121. |
Class constants are--------However, it is recommended to name the constants in alluppercase letters.Sol: |
| A. | final |
| B. | constants |
| C. | const |
| D. | case-sensitive |
| Answer» E. | |
| 122. |
To implement an interface, a class must use the-------keyword. Sol: |
| A. | abstract |
| B. | child |
| C. | interface |
| D. | implement |
| Answer» E. | |
| 123. |
-------Name of server hostunder which the current script is executing Sol: |
| A. | $_SERVER |
| B. | SERVER_ADDR |
| C. | SERVER_NAME |
| D. | QUERY_STRING |
| Answer» D. QUERY_STRING | |
| 124. |
-----make it easy to use a variety of different classes in the same way. When one ormore classes use the same interface, it is referred to as "polymorphism"Sol: |
| A. | abstract |
| B. | child |
| C. | interface |
| D. | implement |
| Answer» D. implement | |
| 125. |
An abstract class or method is defined with the------keyword: Sol: |
| A. | abstract |
| B. | child |
| C. | interface |
| D. | implement |
| Answer» B. child | |
| 126. |
If you use------method, the browser appends the data to the URL Sol: |
| A. | $_GET |
| B. | $_POST |
| C. | POST |
| D. | GET |
| Answer» E. | |
| 127. |
An------class is a class that contains at least one abstract method Sol: |
| A. | abstract |
| B. | child |
| C. | interface |
| D. | implement |
| Answer» B. child | |
| 128. |
-----------returns name of directory on server that is configured as document root Sol: |
| A. | REQUEST_METHOD |
| B. | DOCUMENT_ROOT |
| C. | REMOTE_ADDR |
| D. | SERVER_PORT |
| Answer» C. REMOTE_ADDR | |
| 129. |
All methods in an-----are abstract, so they cannot be implemented in code and theabstract keyword is not necessarySol: |
| A. | abstract |
| B. | child |
| C. | interface |
| D. | implement |
| Answer» B. child | |
| 130. |
----not works with predefined tags like ,, , etc. Sol: |
| A. | XML |
| B. | HTML |
| C. | UTF-8 |
| D. | 1056 |
| Answer» B. HTML | |
| 131. |
------not works with predefined tags like ,, , etc. Sol: |
| A. | XML |
| B. | Asyanchronous java script |
| C. | Ajax |
| D. | java script |
| Answer» B. Asyanchronous java script | |
| 132. |
-----is a markup language much like HTML. Sol: |
| A. | XML |
| B. | HTML |
| C. | UTF-8 |
| D. | 1056 |
| Answer» B. HTML | |
| 133. |
----------requests can be used only to retrieve data Sol: |
| A. | $_GET |
| B. | $_POST |
| C. | POST |
| D. | GET |
| Answer» E. | |
| 134. |
An------method is a method that is declared, but not implemented in the code. Sol: |
| A. | abstract |
| B. | child |
| C. | interface |
| D. | implement |
| Answer» B. child | |
| 135. |
------is a markup language that looks a lot like HTML Sol: |
| A. | XML |
| B. | descriptive |
| C. | html document |
| D. | Empty XML elements. |
| Answer» B. descriptive | |
| 136. |
--------is a markup language that looks a lot like HTML Sol: |
| A. | XML |
| B. | descriptive |
| C. | html document |
| D. | Empty XML elements. |
| Answer» B. descriptive | |
| 137. |
The number of required arguments must be the same. However, the-----class may haveoptional arguments in additionSol: |
| A. | abstract |
| B. | child |
| C. | interface |
| D. | implement |
| Answer» C. interface | |
| 138. |
We can access a-------from outside the class by using the class name followed by thescope resolution operator (::) followed by the constant nameSol: |
| A. | final |
| B. | constant |
| C. | const |
| D. | case-sensitive |
| Answer» C. const | |
| 139. |
When inheriting from an------class, the child class method must be defined with thesame nameSol: |
| A. | abstract |
| B. | child |
| C. | interface |
| D. | implement |
| Answer» B. child | |
| 140. |
-----are self-contained, modular, distributed, dynamic applications that can bedescribed, published, located, or invoked over thenetwork to create products,processes, and supply chains |
| A. | web service |
| B. | xml |
| C. | html document |
| D. | Empty XML |
| Answer» B. xml | |
| 141. |
----works with predefined tags like ,, , etc. Sol: |
| A. | XML |
| B. | HTML |
| C. | UTF-8 |
| D. | 1056 |
| Answer» C. UTF-8 | |
| 142. |
The----class method must be defined with the same name and it re declares the parentabstract methodSol: |
| A. | abstract |
| B. | child |
| C. | interface |
| D. | implement |
| Answer» C. interface | |
| 143. |
A class constant is declared inside a class with the-----keyword. Sol: |
| A. | final |
| B. | constants |
| C. | const |
| D. | case-sensitive |
| Answer» D. case-sensitive | |
| 144. |
Traits are declared with the----keyword Sol: |
| A. | static |
| B. | self |
| C. | traits |
| D. | single inheritance |
| Answer» D. single inheritance | |
| 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» E. | |
| 146. |
Static methods are declared with the------keyword Sol: |
| A. | static |
| B. | self |
| C. | traits |
| D. | single inheritance |
| Answer» B. self | |
| 147. |
-----works with predefined tags like ,, , etc. Sol: |
| A. | HTML |
| B. | Asyanchronous java script |
| C. | Ajax |
| D. | java script |
| Answer» B. Asyanchronous java script | |
| 148. |
-----plays an important role in many different IT systems. Sol: |
| A. | XML |
| B. | HTML |
| C. | UTF-8 |
| D. | 1056 |
| Answer» B. HTML | |
| 149. |
The-----method is restricted to send upto 1024 characters only Sol: |
| A. | GET |
| B. | ? |
| C. | POST |
| D. | QUERY_STRING |
| Answer» B. ? | |
| 150. |
----------are declared with the trait keyword Sol: |
| A. | static |
| B. | self |
| C. | traits |
| D. | single inheritance |
| Answer» D. single inheritance | |