Monday, February 3, 2020

PHP Scripting Language MBECS3:3/10 - MBEIT2:1/10 (April 2018)


B.Sc. DEGREE EXAMINATION, APRIL 2018
Part III – Computer Science/ Information Technology
Major Based Elective
PHP SCRIPTING LANGUAGE
(MBECS3:3/10 - MBEIT2:1/10)

PART A – (10 × 2 = 20)
Answer ALL Questions.
  1. Name any two math functions in PHP.
  2. What is the user of rsort function?
  3. How to create and include files in PHP.
  4. How to get the name of the current script?
  5. List down the access modifiers.
  6. Give on example for creating class constants.
  7. Write down the syntax for getting file size.
  8. How to set cookies in PHP.
  9. Expand Ajax and explain it.
  10.  Write the syntax to draw a line.



PART B – (5 × 5 = 25)
Answer ALL questions, choosing either (a) or (b).

11.  (a)       How to add comments to PHP code?
   Or
(b)       Write down the operator precedence.

12.  (a)       Discuss on creating functions in PHP.
    Or
            (b)       Explain Handling List Boxes
13.  (a)       Discuss on overloading methods.
    Or
            (b)       What is the use of Clone in PHP?
14.  (a)       List down the file mode
   Or
            (b)       What is cookie? How to set it?
15.  (a)       How to download images Using Ajax?
    Or
            (b)       Name the functions to create graphics on the server.
PART C – (3 × 10 = 30)
Answer any THREE questions out of five.

16.   Define Array? Explain how to modify and delete the array elements.
17.  Discuss on HTTP headers and how to redirect Browsers with headers.
18.  What is constructor? Explain it with example.
19.  Demonstrate Uploading and downloading files with FTP.
20.  Describe the Users of GET and POST methods.

No comments:

Post a Comment