MCQOPTIONS
Saved Bookmarks
This section includes 657 Mcqs, each offering curated multiple-choice questions to sharpen your Testing Subject knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
An- - - - - - can contains wide variety of data.For example, database of |
| A. | XML document |
| B. | descriptive |
| C. | html document |
| D. | Empty XML elements. |
| Answer» B. descriptive | |
| 2. |
To avoid errors you should specify encoding used, or save your XML |
| A. | prolog |
| B. | descriptive |
| C. | UTF-8 |
| D. | 1056 |
| Answer» D. 1056 | |
| 3. |
An------document is a basic unit of XML information composed of |
| A. | XML document |
| B. | descriptive |
| C. | html document |
| D. | Empty XML elements. |
| Answer» B. descriptive | |
| 4. |
The tags in the example above (like and ) are not defined in any---- |
| A. | XML |
| B. | HTML |
| C. | UTF-8 |
| D. | 1056 |
| Answer» B. HTML | |
| 5. |
-------classes and methods are when the parent class has a named method, but need its |
| A. | abstract |
| B. | child |
| C. | interface |
| D. | implement |
| Answer» B. child | |
| 6. |
All methods in an-----are abstract, so they cannot be implemented in code and the |
| A. | abstract |
| B. | child |
| C. | interface |
| D. | implement |
| Answer» B. child | |
| 7. |
When inheriting from an------class, the child class method must be defined with the |
| A. | abstract |
| B. | child |
| C. | interface |
| D. | implement |
| Answer» B. child | |
| 8. |
We can access a-------from outside the class by using the class name followed by the |
| A. | final |
| B. | constant |
| C. | const |
| D. | case-sensitive |
| Answer» C. const | |
| 9. |
---methods can be overridden by redefining the methods (use the same name) in the |
| A. | inheritance |
| B. | public |
| C. | protected |
| D. | private |
| Answer» B. public | |
| 10. |
A class is defined by using the---keyword, followed by the name of the class and a pair |
| A. | procedural programming |
| B. | function programming |
| C. | object oriented programming |
| D. | class |
| Answer» E. | |
| 11. |
The-----pseudo-type was introduced in PHP 7.1, and it can be used as a data type for |
| A. | foeach() |
| B. | self |
| C. | iterable |
| D. | single inheritance |
| Answer» D. single inheritance | |
| 12. |
An XML tree starts at a----------and branches from the root to |
| A. | root element |
| B. | descriptive |
| C. | UTF-8 |
| D. | 1056 |
| Answer» B. descriptive | |
| 13. |
An XML tree starts at a root element and branches from the |
| A. | yes |
| B. | no |
| C. | can not say |
| D. | none of these. |
| Answer» B. no | |
| 14. |
An XML tree starts at a--------and branches from the root to |
| A. | root element |
| B. | descriptive |
| C. | UTF-8 |
| D. | 1056 |
| Answer» B. descriptive | |
| 15. |
An XML tree starts at a root element and branches from the root |
| A. | childelements |
| B. | descriptive |
| C. | UTF-8 |
| D. | 1056 |
| Answer» B. descriptive | |
| 16. |
The-----keyword can be used as a data type of a function argument or as the return type |
| A. | foeach() |
| B. | self |
| C. | iterable |
| D. | single inheritance |
| Answer» D. single inheritance | |
| 17. |
While Ajax is not limited to-----------technologies, more often than not they are used |
| A. | Ajax &xml |
| B. | Synchronous &php |
| C. | XML & php |
| D. | JavaScript & xml |
| Answer» E. | |
| 18. |
it is possible for Ajax to update parts of a web page, without reloading the |
| A. | Ajax |
| B. | Synchronous |
| C. | synchronous XML |
| D. | Asynchronous JavaScript |
| Answer» B. Synchronous | |
| 19. |
The--------method is used to perform an AJAX (asynchronous HTTP) |
| A. | complete |
| B. | ajaxComplete |
| C. | ajaxStop |
| D. | The ajax() |
| Answer» E. | |
| 20. |
Ajax refers to----------------technologies that are widely used for creating dynamic and |
| A. | Ajax &xml |
| B. | Synchronous &php |
| C. | XML & php |
| D. | JavaScript & xml |
| Answer» E. | |
| 21. |
---------(Global Event):This event is also only called if the request was |
| A. | jQuery's ajax |
| B. | beforeSend |
| C. | ajax Send |
| D. | ajaxSuccess |
| Answer» E. | |
| 22. |
-------------(Local Event):This event is called regardless of if the request |
| A. | complete |
| B. | ajaxComplete |
| C. | ajaxStop |
| D. | The ajax() |
| Answer» B. ajaxComplete | |
| 23. |
-------------(Global Event):This event behaves the same as the complete |
| A. | complete |
| B. | ajaxComplete |
| C. | ajaxStop |
| D. | The ajax() |
| Answer» C. ajaxStop | |
| 24. |
---------------and XML. AJAX is a technique for creating fast and |
| A. | Ajax |
| B. | Synchronous |
| C. | synchronous XML |
| D. | Asynchronous JavaScript |
| Answer» E. | |
| 25. |
-----------(Local Event):This event is only called if the request was |
| A. | jQuery's ajax |
| B. | beforeSend |
| C. | ajax Send |
| D. | success |
| Answer» E. | |
| 26. |
----------(Global Event):This global event behaves the same as the local |
| A. | jQuery's ajax |
| B. | beforeSend |
| C. | ajax Send |
| D. | ajaxError |
| Answer» E. | |
| 27. |
------(Global Event):This global event is also triggered before the request is |
| A. | jQuery's ajax |
| B. | beforeSend |
| C. | ajax Send |
| D. | ajaxStart |
| Answer» D. ajaxStart | |
| 28. |
--------(Global Event):This event is triggered if an Ajax request is started |
| A. | jQuery's ajax |
| B. | serialize() |
| C. | Client-side validation |
| D. | ajaxStart |
| Answer» B. serialize() | |
| 29. |
-----------events can be disabled for a particular Ajax request by passing |
| A. | jQuery's ajax |
| B. | serialize() |
| C. | Global |
| D. | ajaxStart |
| Answer» D. ajaxStart | |
| 30. |
(Global Event):This global event is triggered if there are no more Ajax |
| A. | complete |
| B. | ajaxComplete |
| C. | ajaxStop |
| D. | The ajax() |
| Answer» D. The ajax() | |
| 31. |
After the information is encoded it is sent to the server Spaces are removed and |
| A. | yes |
| B. | no |
| C. | can not say |
| D. | none of these. |
| Answer» B. no | |
| 32. |
AJAX allows web pages to be updated-----------by exchanging small amounts of data |
| A. | Ajax |
| B. | Asynchronous |
| C. | synchronous XML |
| D. | Asynchronous JavaScript |
| Answer» C. synchronous XML | |
| 33. |
The information is encoded as described in case of GET method and put into a header |
| A. | $_GET |
| B. | $_POST |
| C. | POST |
| D. | QUERY_STRING |
| Answer» E. | |
| 34. |
The PHP provides----------associative array to access all the sent information using |
| A. | $_GET |
| B. | $_POST |
| C. | POST |
| D. | QUERY_STRING |
| Answer» C. POST | |
| 35. |
Never use-----method if you have password or other sensitive information to be sent to |
| A. | GET |
| B. | ? |
| C. | POST |
| D. | QUERY_STRING |
| Answer» B. ? | |
| 36. |
-------A query string is the string of key=value pairs separated by & symbol and |
| A. | $_SERVER |
| B. | SERVER_ADDR |
| C. | SERVER_NAME |
| D. | QUERY_STRING |
| Answer» E. | |
| 37. |
Before the browser sends the information to the server , it encodes it using a scheme |
| A. | yes |
| B. | no |
| C. | can not say |
| D. | none of these. |
| Answer» B. no | |
| 38. |
The-----method produces a long string that appears in your server logs, in the browser's |
| A. | GET |
| B. | ? |
| C. | POST |
| D. | QUERY_STRING |
| Answer» B. ? | |
| 39. |
The PHP provides-------associative array to access all the sent information using GET |
| A. | $_GET |
| B. | $_POST |
| C. | POST |
| D. | QUERY_STRING |
| Answer» B. $_POST | |
| 40. |
The-----method sends the encoded user information appended to the page request. The |
| A. | GET |
| B. | ? |
| C. | POST |
| D. | QUERY_STRING |
| Answer» C. POST | |
| 41. |
PHP------is a PHP super global variable which is used to collect form data after |
| A. | $_GET |
| B. | $_POST |
| C. | POST |
| D. | QUERY_STRING |
| Answer» B. $_POST | |
| 42. |
-------This property of array returns The IP address of the server under which the current |
| A. | $_SERVER |
| B. | SERVER_ADDR |
| C. | SERVER_NAME |
| D. | QUERY_STRING |
| Answer» C. SERVER_NAME | |
| 43. |
------is a superglobal that holds information regarding HTTP headers, path and script |
| A. | $_SERVER |
| B. | SERVER_ADDR |
| C. | SERVER_NAME |
| D. | QUERY_STRING |
| Answer» B. SERVER_ADDR | |
| 44. |
there are two ways the browser client can send information to the web server . |
| A. | info and pre method |
| B. | Get and post method |
| C. | implement and extend method |
| D. | none of these. |
| Answer» B. Get and post method | |
| 45. |
--------HTTP request method used for accessing a URL, such as POST, GET, POST, |
| A. | REQUEST_METHOD |
| B. | DOCUMENT_ROOT |
| C. | REMOTE_ADDR |
| D. | SERVER_PORT |
| Answer» B. DOCUMENT_ROOT | |
| 46. |
To use Joomla!, you can simply download it for free and install it on your website. |
| A. | yes |
| B. | no |
| C. | can not say |
| D. | none of these |
| Answer» B. no | |
| 47. |
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» C. simplexml_load_file( filename) | |
| 48. |
------------(Local Event):This event, which is triggered before an Ajax |
| A. | jQuery's ajax |
| B. | beforeSend |
| C. | ajax Send |
| D. | ajaxStart |
| Answer» C. ajax Send | |
| 49. |
------are used to declare methods that can be used in multiple classes. Traits can have |
| A. | static |
| B. | self |
| C. | traits |
| D. | single inheritance |
| Answer» D. single inheritance | |
| 50. |
-------are used to declare methods that can be used in multiple classes. Traits can have |
| A. | static |
| B. | self |
| C. | traits |
| D. | single inheritance |
| Answer» D. single inheritance | |