Download Original PDF
Get the official Barkatullah University print version scanned document.
đ¤ Help Your Juniors!
Have previous year question papers that aren't on our website? Help the next batch of students by sending them to us! With your consent, we will proudly feature your name as a Top Contributor on our platform.
Submit Papers đŠGH-454
M.Sc. IVth Semester (NEW/ATKT)
Examination, 2022
Computer Science
Paper- MSCS- 403
PHP & MYSQL
SECTION - 'A'
Objective Type Questions
5x2=10
(i) Which of the following is correct to add a comment in php :
- &......&
- //.......
- /*.......*/
- Both (b) and (c)
(ii) Variable name in PHP starts with :
- ! (Exclamation)
- $ (Dollar)
- & (Ampersand)
- # (Hash)
(iii) Which of the following is the correct way to create a function named "student" in PHP ?
- Create student ( )
- New......function student ( )
- Function student ( )
- None of the above
(iv) The.............operator is used to test whether or not a value lies within a specified range :
- LIKE
- BETWEEN
- IN
- None of these
(v) Which of the following is the correct way to open the file "sample.txt" as readable ?
- Fopen ("student.txt", "r");
- Fopen ("student.txt", "r+");
- Fopen ("student.txt", "read");
- Fopen ("student.txt");
SECTION - 'B'
Short Answer Type Questions
5x6=30
OR
OR
OR
OR
OR
SECTION - 'C'
Long Answer Type Questions
5x9=45
OR
OR
OR
OR
OR