Php-Question Bank
Php-Question Bank
QUESTION BANK
UNIT 1
2 MARKS
1. What is php?
2. What is php file?
3. What php file can do?
4. List the characteristics of php.
5. What is internet?
6. What is www?
7. What is http?
8. What is URL?
9. What is website?
10. What is web server?
11. What is web browser?
12. What is SMTP server?
13. What I s ISP?
14. What is HTML?
15. What is Hyperlink?
16. What is DNS?
17. How will you create first php file?
18. Write few points about comment lines?
19. How will you handle php script errors?
20. Write notes on escaping special character>
21. What is php variable?
22. How will you assign a variable in php?
23. How will you destroy a variable in php?
24. List the data types of php.
25. What are constants?
26. List out operators available in php.
UNIT IV
2 MARKS
1. Write short notes on user defined data types in php.
2. What are the elements of function?
3. Define class in php.
4. Define object on php.
5. Define inheritance.
6. What is object overloading?
7. Define data Abstraction.
8. Define encapsulation.
9. How will you create a class in php?
10. How will you create a object in php?
11. How calling member function works?
12. Define construction function.
13. Write short notes on public, protected, private members.
14. What is the use of the file_get_ contents() function?
15. What is the use of fopen(),fget(), fclose() functions?
16. List the php file directory functions.
17. What is the use of file_exist() function?
18. What is the use of file_size() function?
19. What is the use of realpath() function?
20. What is the use of stat() function?
21. What is the use of mkdir() function?
22. What is the use of copy() function?
23. What is the use of remove() function?
24. What is the use of require() and include() function?
UNIT V
2 MARKS
1. What are the features of php databases?
2. What is table?
3. What is primary key?
4. What is record?
5. What is database?
6. What is foreign key?
7. Define normalization.
8. What are the categories of SQL statements?
9. Give some examples of SQL statements.
10. How will you create a table in my sql?
11. What are the data type of attributes in my sql?
12. How will you insert in the my sql database?
13. How will you select datas in the my sql database?
14. How will you delete the data’s in the my sql database?
15. How will you update data’s in the sql database?
16. How will you get the data’s from the my sql database?
17. What are the error handling methods in php?
18. How will you create custom error handler?
19. What is the use of set error handler?
20. What is the use of trigger error handler?
21. What is the use of se error handler?
22. What are the possible error types?
23. What are the key words are used as the exception handler in php?
24. What are the exception classes?
25. What is SQLLite?
26. What are the SQLLite commands?
27. How will you create SQLLite database?
28. How will you insert the datas into the SQLLite database?
29. How will you drop the SQLLite table?
30. How will you delete the SQLLite table?
31. What is PDO extension?
32. Define XML?
33. What are the XML Technologies?
34. Define Well formed and valid formed document.
35. What are the XML parsing approaches?