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

Imp Questions

The document is a question bank for the Computer Engineering program at Matoshri Aasarabai Polytechnic for the academic year 2024-2025. It contains two sections of questions related to Web Based Application Development Using PHP, covering topics such as data types, arrays, functions, and string manipulation. Each question is designed to assess the understanding and application of PHP programming concepts.
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)
17 views2 pages

Imp Questions

The document is a question bank for the Computer Engineering program at Matoshri Aasarabai Polytechnic for the academic year 2024-2025. It contains two sections of questions related to Web Based Application Development Using PHP, covering topics such as data types, arrays, functions, and string manipulation. Each question is designed to assess the understanding and application of PHP programming concepts.
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

Matoshri Education Society’s,

Matoshri Aasarabai Polytechnic, Eklahare (All AICTE Approved Programs)


Academic Year 2024-2025

PAT 1 Question Bank


Program Name : Computer Engineering
Program Code : CO
Semester​ : Sixth
Name of Course​: Web Based Application
Development Using PHP

Q.1​ Attempt​ (08 Marks)

1.​ List various datatypes in PHP.


2.​ Define array? How to store data in array?
3.​ State the use of “$” sign in PHP.
4.​ List various datatypes in PHP.
5.​ What is PHP? Give general syntax of PHP.
6.​ Write down rules for declaring PHP variable
7.​ State syntax of for each loop.
8.​ Explain Explode function with example.
9.​ Define Any Two Array Manipulation Function.
10.​ State syntax of PHP.
11.​ Write any five array manipulation functions.
12.​ Explain Various Types of arrays in PHP.
13.​ Define function. How to define user defined function in PHP? Give example

Q.2​ Attempt​ (12 Marks)

1.​ Define associative array? Explain with suitable Example. Explain How it different
form indexed array.
2.​ Write PHP code to display largest number among three numbers.
3.​ How do you convert one variable type to another in PHP.
4.​ What is difference between echo and print() in PHP.
5.​ Implement a PHP program to display numbers from 1-10 in a sequence
using for loop.
6.​ Implement PHP script to sort any five numbers using array function
7.​ Explain any four string functions in PHP with example.
8.​ Define Array. State its example
9.​ Explain Indexed array and associative arrays with suitable examples.
10.​Write a PHP program to i) Calculate length of string ii) Count number of words in
string.

You might also like