Solapur University MCA (Semester-III) Paper on Programming with PHP March 2019
Sr. No. | Question |
1 | Which of the functions is used to sort an associative array according to value in descending order?
(a) Sort() (b) Arsort() (c) Rsort() (d) Dsort() |
2 | What is the strlen() function in PHP?
(a) Returns value of string (b) Returns length of string (c) Returns type of string (d) Returns subset of string |
3 | Which one of the following functions will converts the first character of a string to uppercase?
(a) Strtoupper() (b) Uppercase() (c) Str_uppercase() (d) Ucfirst() |
4 | Where the session _start() function must appear in PHP?
(a) With tag (b) Anywhere (c) After tag (d) Before tag |
5 | When you use the $_GET variable to collect data, the data is visible to _______
(a) Only you (b) Everyone (c) Selected few (d) None |
6 | Which one of the concatenation operator in PHP?
(a) . (dot) (b) &(Ampersand) (c) +(Plus) (d) %(percentage) |
7 | Which one of the following format parameter can be used to identify timezone?
(a) T (b) N (c) E (d) I |
8 | Which function is used to erase all session variables stored in the current session?
(a) session_destroy() (b) session_change() (c) session_remove() (d) session_unset() |
9 | What is the description of Error level E_ERROR?
(a) Fatal run-time error (b) Near-fatal error (c) Compile _time error (d) Fatal Compile-time error |
10 | Which method returns the error code generated from the execution of last MySQL function?
(a) Errno() (b) Errnumber() (c) Errorno() (d) Errornumber() |
Published on 30th Sept 2021 | |
Leave a Reply