0% found this document useful (0 votes)
8 views

PHP_QB

The document outlines the curriculum for a course on web-based application development using PHP at Bharati Vidyapeeth's Jawaharlal Nehru Institute of Technology. It includes topics such as expressions, control statements, arrays, functions, and graphics in PHP, along with various programming exercises. Each chapter contains specific questions and programming tasks aimed at enhancing understanding of PHP concepts and functionalities.

Uploaded by

saeedarwatkar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

PHP_QB

The document outlines the curriculum for a course on web-based application development using PHP at Bharati Vidyapeeth's Jawaharlal Nehru Institute of Technology. It includes topics such as expressions, control statements, arrays, functions, and graphics in PHP, along with various programming exercises. Each chapter contains specific questions and programming tasks aimed at enhancing understanding of PHP concepts and functionalities.

Uploaded by

saeedarwatkar
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

BHARATI VIDYAPEETH'S

JAWAHARLAL NEHRU INSTITUTE OF TECHNOLGY (POLY), PUNE-43

Department of Computer Technology

Course Name: Web based application development using PHP Course Code: 22619

Program code: CM6I

CHAPTER-1 (Expressions and control statements in PHP) (CO1)


1. State the use of “$” sign in PHP.
2. List features of PHP.
3. List any four advantages of PHP.
4. How to write a PHP document?
5. Write a program using Foreach loop
6. Give difference between for and foreach statement.
7. Explain different loops in PHP
8. Explain data types used in PHP.
9. Explain print and echo functions with PHP programs.
10. Explain loop control structure with suitable example.(while, for and do while)
11. Describe the following operators with example
a. Arithmetic operator
b. Comparison operator
c. Increment/Decrement operator
d. Assignment operator
e. Logical operator
f. String
g. Array
h. Bitwise
i. Conditional
j. Spaceship operator
12. Describe Decision making control statements in PHP with example.
13. Write a PHP program to calculate Fibonacci series.
14. Write a program to check the number is prime or not
15. Find Factorial of a number using PHP
16. Write a program to check whether the number is even or odd.
17. Write a program to find largest number among three.
18. Write a PHP script to display all the numbers between 200 to 250 that are divisible by 4.

CHAPTER-2 (Array, Function and Graphics) (CO2)

1. Write syntax to create array in PHP and enlist its types?


2. Explain Indexed & Associative arrays with suitable example
3. Write a program for traversing an array using for.
4. Explain following array functions with example
a) extract() b)array_flip() c)implode() d)explode() .

5. Write syntax to create new image.


6. Write the use of anonymous function in PHP. Explain with example.
7. Explain two functions to scale the given image.
8. Describe following string manipulating function with example.
a. str_word_count() b. strlen() c.strpos() d.strrev() e.str_replace() f.ucwords()
g.strtoupper() h.strtolower() i.strcmp()
9. Describe multidimensional array with example.
10. Describe the creation of PDF documents in PHP.
11. Write a function to sort an array and display the result.
12. Write a php script to calculate and display average temperature, five lowest temperatures and
five highest temperatures.
Recorded Temp:{ 78,60,62,68,71,73,85,66,64,76,63,75,76}
14. State user defined function and explain it with example.

You might also like