0% found this document useful (0 votes)
87 views2 pages

Mit Wpu School Polytechnic and Skill Development, Pune. MID TERM EXAM April 2020

The document is a midterm exam for a Web Application Development using PHP course. It contains 2 questions worth a total of 20 marks. Question 1 is worth 8 marks and contains short questions testing PHP features, functions, control statements and arrays. Question 2 is worth 12 marks and contains longer questions on arrays, functions, and a program to calculate the area of a circle by taking user input.
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)
87 views2 pages

Mit Wpu School Polytechnic and Skill Development, Pune. MID TERM EXAM April 2020

The document is a midterm exam for a Web Application Development using PHP course. It contains 2 questions worth a total of 20 marks. Question 1 is worth 8 marks and contains short questions testing PHP features, functions, control statements and arrays. Question 2 is worth 12 marks and contains longer questions on arrays, functions, and a program to calculate the area of a circle by taking user input.
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/ 2

MIT WPU SCHOOL POLYTECHNIC AND SKILL DEVELOPMENT, PUNE.

MID TERM EXAM April 2020

Programme : Computer Engg Marks : 20


Course : Web Application Development using PHP Trimester-VI
Course Code : - DCO031A Time:1 Hrs.

Instructions CO’s
i. All questions are compulsory i. Develop program using control
statements.
ii. Figure to the right indicates full ii, .Perform operations based on arrays
marks
iii. Assume suitable data if iii.Understand the concept of function
necessary in PHP.

Q1 Attempt all 08 marks


1 List the features of PHP.(Any 4) 2

2 Write a program in PHP to find the length of string. 2

3 Differentiate between include and require in php 2

4 Write the use of following : 1


a) shuffle() b) count().

5 Define function and also write the syntax to create a function 1

Q2 Attempt all 12 Marks

1 Explain Associative array and index array with example. 4

2 Write a program in PHP to swap two numbers using call by reference 4

3 Write a Program to print the given string in the lowercase. 2

4 Write a program in PHP to calculate area of circle. Take input from user. 2

You might also like