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

PHP Theory Assignment 1

The document is a theory assignment for a course on Website Development using PHP and MySQL at GLS University. It includes fill-in-the-blank questions, true or false statements, and short note prompts related to PHP concepts, functions, and server information. Students are required to attempt specific questions based on their assigned groups.

Uploaded by

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

PHP Theory Assignment 1

The document is a theory assignment for a course on Website Development using PHP and MySQL at GLS University. It includes fill-in-the-blank questions, true or false statements, and short note prompts related to PHP concepts, functions, and server information. Students are required to attempt specific questions based on their assigned groups.

Uploaded by

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

GLS University

Faculty of Computer Application & IT – BCA


0301501 WEBSITE DEVELOPMENT USING PHP & MYSQL
Theory Assignment Unit – 1

Q-1 Fill in the blanks.


1. PHP is an acronym for Hypertext Preprocessor
.
2. Alternate to Double Quotes is: single Quotes .
3. LAMP stands for Linux, Apache, MySQL,
. PHP
4. // is used for single line Comment.
5. PHP is a server side scripting language.
6.Single Quotesis an alternate to double quotes.
7. To declare a constant define() function is used.
8. print return 1 as statement.
9. Apache as Web Server in AMP modules.
10. .phpp extension used to store preprocessor files.

Q-2 State True of False.


1. Printf() is an alternate to echo statement. true
2. /* */ is used for single line comment. false
3. <?php ?> is a PHP tag. true
4. Constant() function is used to define a constant. false
5. Apache Web Server is one of the most commonly used applications for
website hosting. true
6. NULL is a datatype. true
7. && is an alternate to OR statement. false
8. Resource is also known as data type in php. false
9. false
To print multiple value echo statement will separate by comma operator.
10. PHP is also known as embedded language. true

Q-3 Write a short note in following.


1. How to use include() function in PHP?
2. Define Constant in PHP.
3. Define Datatypes in PHP.
4. Write a short note on Apache Server.
5. Write a short note in Open Source.
6. How to define a variable in PHP.
7. Differentiate echo() and print() with example.
8. Give an Example of alternate to double quotes.
9. Explain the difference between print and echo statement with example.
10. Differentiate - Two tier architecture and three tier architecture.

All the students have to compulsory attempt Que-1 and Que-2.


Attempt Que-3 as per following table:

A1 to A10, B1 to B10 & C1 to C10 1,5,10


A11 to A20, B11 to B20 & C11 to C20 2,6,9
A21 to A30, B21 to B30 & C21 to C30 3,8,10
A31 to A40, B31 to B40 & C31 to C40 4,9,1
A41 to A50, B41 to B50 & C41 to C50 5,4,10
A51 to A60, B51 to B60 & C51 to C60 6,2,4
A61 to A70, B61 to B70 & C61 to C70 7,10,1
A71 to A80, B71 to B80 & C71 to C80 8,3,4
A81 to A90, B81 to B90 & C81 to C90 9,7,2

You might also like