[go: up one dir, main page]

0% found this document useful (0 votes)
9 views3 pages

Advanced Technologies of Programming Through PHP

Programming language

Uploaded by

Le Bagwan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views3 pages

Advanced Technologies of Programming Through PHP

Programming language

Uploaded by

Le Bagwan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Kanoria PG Mahila Mahavidyalaya

Department of Computer science


BCA III Year
Paper code: 306 | Advanced Technologies of programming through PHP

Question Bank

Part-I

1. List any four advantages of PHP?


2. Differentiate echo () and print () method?
3. What are the common uses of PHP?
4. Explain any three data types used in PHP
5. Explain variables in PHP?
6. How PHP is more secure than JavaScript?
7. Define the use of foreach loop in php.
8. What is the use of strlen() and strpos() functions?
9. State the use of str_word_count along with its syntax.
10. Write the syntax for creating Cookie.
11. Why we use $_REQUEST variable?
12. What is the difference between unlink and unset?
13. What is the difference between isset() and empty()?
14. What do you understand from Implode and Explode functions?
15. What is the difference between $_GET and $_POST method.
16. How to execute a mysql query?
17. Write query to update data in mysql?
18. Write query to delete data in mysql?
19. Write query to insert data in mysql?
20. How to count number of fetched rows from database?

Part II

1. What is Script? Explain Client side scripting and server side scripting.
2. Explain foreach loop with example?
3. How to embed HTML in PHP.

By: Swati Sharma


4. Explain how to fetch data from mysql database?
5. What do you understand with array in PHP?
6. Explain Indexed and Associative arrays with suitable example.
7. What is form validation? What is Client Side and Server Side validation?
8. What types of modes we use in PHP for File Handling?
9. What operation we can perform with Cookie? Explain it?
10. Explain Cookie in PHP? How to delete cookie using PHP script?
11. Differentiate between Session and Cookies.
12. How to copy and rename file using PHP code.
13. Define session and explain how it works.
14. Answer the following: i) Get session variables ii) Destroy session
15. How can we get the properties (size, type, width, height) of an image using PHP image
functions?
16. Explain various file opening modes.
17. What is the difference between mysql_fetch_object() and mysql_fetch_array()?
18. What differences are between require, include, include_once and require_once?
19. Write Update and Delete operations on table data.
20. List out the database operations

Part III

1. Explain File Handling in PHP with suitable example.


2. Explain connectivity with MySQL. Explain the basic operations to be performed on database.
3. Why we use Array in PHP. Explain different types of Arrays with example.
4. What is session in PHP? Explain various methods of session.
5. Explain Exception Handling in PHP with suitable example.
6. Explain the different types of errors in PHP?
7. What do you understand functions in PHP? How we create them?
8. What is string in PHP. Explain Creating and Accessing String.;
9. Explain looping in PHP.
10. Explain Decision making in PHP.
11. Answer the following

By: Swati Sharma


i. Use of cookies
ii. How to set the cookie
iii. How to modify
iv. How to delete the cookies
12. Explain following
i. Include()
ii. printf()
iii. Substr()
iv. Chunk_split()
v. Str_split()
13. Explain Server Side validation with example.
14. Explain the following string functions with example.
i. str_replace()
ii. ucwords()
iii. strlen()
iv. strtoupper()
v. count()
15. Elaborate the following:
i. mysql_fetch_array()
ii. mysql_connect()
iii. mysql_select_db()
iv. mysql_query()
v. mysql_num_rows()

By: Swati Sharma

You might also like