Exam Details

Subject programming in php
Paper
Exam / Course m.sc. computer science
Department
Organization alagappa university
Position
Exam Date November, 2017
City, State tamil nadu, karaikudi


Question Paper

M.Sc. DEGREE EXAMINATION, NOVEMBER 2017
Third Semester
Computer Science
PROGRAMMING IN PHP
(CBCS 2014 onwards)
Time 3 Hours Maximum 75 Marks
Part A (10 x 2 20)
Answer all questions.
1. Define operator.
2. State some PHP data types.
3. Define casting arrays.
4. Differentiate while statement and do-while statement.
5. How to determine a file size in PHP?
6. What are super global variables?
7. What are access modifiers? List all.
8. Define sub query.
9. What is a session?
10. Define file upload.
Sub. Code
4MCE3C2
AFF-4962
2
sp 6
Part B x 5 25)
Answer all questions.
11. Explain how PHP script works.
Or
Explain briefly about testing for a specific data type.
12. Write PHP code for sorting an associative array.
Or
Write PHP code for implementing multidimensional
array.
13. Write down the procedure for creating and deleting
a file.
Or
Write a script to acquire user input.
14. Explain about the anatomy of a cookie.
Or
Explain about object serialization.
15. Explain about working with session variables.
Or
Explain the method and properties of
XMLHttpRequest.
AFF-4962
3
sp 6
Part C x 10 30)
Answer any three questions.
16. Discuss about control structures used in PHP with
example code.
17. Write a PHP code for looping through an associative
array.
18. Write code for opening a file for writing, reading or
appending and also write/read data to/from the file.
19. Discuss about class inheritance, abstract class and
methods with example.
20. Write and explain a simple AJAX coding to show its use
as web application.



Other Question Papers

Subjects

  • .net technology
  • advanced database systems
  • advanced java programming
  • advanced operating systems
  • applied mathematics for computer science
  • cloud computing
  • communication and employability skills
  • compiler design
  • computer communication networks
  • computer system architecture
  • cryptography and network security
  • data communication networks
  • data mining and data warehousing
  • data mining and warehousing
  • data structures and algorithms
  • elective : cloud computing
  • elective – computer graphics
  • elective – relational database management
  • elective — digital image processing
  • elective — mobile computing
  • elective — object oriented analysis and design
  • elective — software engineering
  • elective — wap and xml
  • elective i — software project management
  • elective iii — soft computing
  • elective: multimedia system
  • elective: soft computing
  • internet and java programming
  • multimedia and its applications (elective – ii)
  • network security
  • operating system
  • principles of compiler design
  • programming in php
  • web technology