D 90140
D 90140
FIFTH SEMESTER B.A/B.Sc. DEGREE EXAMINATION, NOVEMBER 2020
(CUCBCSS-UG)
Computer Science
BCS 5B 09-WEB PROGRAMMING USING PHP
(2017 Admissions)
Time: Three Hours Maximum 80 Marks
Section A
Answer all questions.
Each question carries 1 mark.
1. What is the use of <FONT> tag in HTML?
2. What is image gallery?
3. Why JavaScript is called as scripting language?
4. What is the use of alert() function in JavaScript?
5. What is the functionality of stristr() method in PHP?
6. Give the default file extension of PHP files.
7. What is the use of continue statement in PHP?
8. What is AJAX?
9. Give the usage of pg-close() function in PHP.
10. What is LAMP?
(10 x 1 = 10 marks)
Section B
Answer at least four questions. All questions can be attended.
Each question carries 4 marks.
Overall Ceiling 16.
11. Describe the steps for adding graphics to HTML document with suitable examples.
12. Explain the different methods for handling arrays in Java Script.
13. Explain the function and syntax of do..while construct in PHP with example.
14. Explain the difference between GET and POST methods in PHP.
15. Explain the functions of pg_num_rows() and pg_affected_rows() methods in
PostgreSQL.
(4 x 4 = 16 marks)
Section C
Answer at least four questions.
Each question carries 7 marks.
All questions can be attended.
Overall Ceiling 28.
16. Describe inline and internal style sheet.
17. Give an account on client-side and server-side scripting languages.
18. Explain how function can be written in JavaScript with example.
19. State and explain different types of statements in JavaScript.
20. Explain about various string handling functions in PHP.
21. Explain about different data types in PostgreSQL.
22. With suitable example explain numeric and associative arrays in PHP.
23. Explain the steps for executing PostgreSQL statements in PHP.
(4 x 7 = 28 marks)
Section D
Answer any two questions.
Each question carries 13 marks.
24. Explain the types of lists supported by HTML and describe them in detail with examples.
25. Describe any five event handling methods in Java Script.
26. Describe the Date object in Java Script with its properties and methods.
27. Create a web page and PHP script to insert the details of student (Name, Age, Branch,
Semester, Username and Password) to a database named studentinfo and table named
registration.
28. Write down an HTML form and PHP file that contain the code for uploading a file.
(2 x 13 = 26 marks)
നിങ്ങൾക്ക് ഉപകാരപ്പെട്ടെങ്കിൽ നിങ്ങളുടെ കൂട്ടുകാർക്ക് കൂടി ഷെയർ ചെയ്യുക
Share This