B.Sc. DEGREE
EXAMINATION, APRIL 2018
Part
III – Computer Science/ Information Technology
Major Based
Elective
PHP
SCRIPTING LANGUAGE
PART A – (10
× 2 = 20)
Answer ALL
Questions.
- Name any two math functions in PHP.
- What is the user of rsort function?
- How to create and include files in PHP.
- How to get the name of the current script?
- List down the access modifiers.
- Give on example for creating class constants.
- Write down the syntax for getting file size.
- How to set cookies in PHP.
- Expand Ajax and explain it.
- 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