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

Ut PHP

The document is a question bank for a Unit Test in Web Based Application Development with PHP for Computer Engineering students. It includes questions divided into sections based on chapters covering topics like expressions, control statements, arrays, functions, graphics, and object-oriented concepts in PHP. Each chapter contains questions categorized by marks, focusing on definitions, programming tasks, and explanations of various PHP concepts.

Uploaded by

hukesakshi
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)
36 views2 pages

Ut PHP

The document is a question bank for a Unit Test in Web Based Application Development with PHP for Computer Engineering students. It includes questions divided into sections based on chapters covering topics like expressions, control statements, arrays, functions, graphics, and object-oriented concepts in PHP. Each chapter contains questions categorized by marks, focusing on definitions, programming tasks, and explanations of various PHP concepts.

Uploaded by

hukesakshi
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

BHARATI VIDYAPEETH INSTITUTE OF TECHNOLOGY

QUESTION BANK
Unit Test-I (Shift:-I & II)
Program: - Computer Engineering Group Program Code:- CM/IF
Course Title: -Web Based App. Dev. With PHP Semester: - Sixth
Course Abbr & Code:-WBP (22619) Scheme: I

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

2 MARKS

1. Enlist any four advantages of PHP.


2. How to write a PHP document?
3. List bitwise operators in PHP.
4. Give difference between for and foreach statement.
5. Define identical operator.

4 MARKS

1. Explain data types used in PHP.


2. Write a PHP program to calculate Fibonacci series.
3. Explain print and echo functions with PHP programs.
4. Describe static, local and global variable with example.
5. Explain loop control structure with suitable example.

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


2 MARKS

1. How to delete element from an array?


2. How to use flip function in PHP.
3. How will you create arrays in PHP?
4. Write syntax to create new image.
5. State use of include( ) and require( ) function.
4 MARKS

1. Write a program for traversing an array using for.


2. Write the use of anonymous function in PHP. Explain with example.
3. Explain the multidimensional array with example.
4. Write a PHP program to scale a given image.
5. Write a PHP program to demonstrate various string manipulation operations.
6. Describe exploding and imploding function with example.

CHAPTER-3 (Object Oriented Concepts in PHP) (CO3)


2 MARKS
1. Define data encapsulation.
2. Define inheritance.
3. List serializable objects in PHP.

4 MARKS
1. Write a PHP program to demonstrate function overloading.
2. How to define properties and method of a class? Explain with suitable example.
3. How to define and use destructor in PHP.

You might also like