This document is an assignment for the Computer Engineering Department at Ganpat University, focusing on PHP and MySQL. It includes multiple-choice questions (MCQs) about PHP concepts and long-answer questions that require explanations of various PHP-related topics. The assignment aims to assess students' understanding of PHP fundamentals and its integration with other technologies.
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 ratings0% found this document useful (0 votes)
18 views
PHP_Assignmnet-1
This document is an assignment for the Computer Engineering Department at Ganpat University, focusing on PHP and MySQL. It includes multiple-choice questions (MCQs) about PHP concepts and long-answer questions that require explanations of various PHP-related topics. The assignment aims to assess students' understanding of PHP fundamentals and its integration with other technologies.
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
GANPAT UNIVERSITY, KHERVA
BSPP/IOT, COMPUTER ENGINEERING DEPARTMENT
ASSIGNMENT-1 PHP & MySQL (1IT2402) MCQ 1. PHP stands for - A) Hypertext Preprocessor B) Pretext Hypertext Preprocessor C) Personal Home Processor D) None of the above 2. Who is known as the father of PHP? A) Drek Kolkevi B) List Barely C) Rasmus Lerdrof D) None of the above 3. Variable name in PHP starts with - A) ! (Exclamation) B) $ (Dollar) C) & (Ampersand) D) # (Hash) 4. Which of the following is the default file extension of PHP? A) .php B) .hphp C) .xml D) .html 5. Which of the following is not a variable scope in PHP? A) Extern B) Local C) Static D) Global 6. Which of the following is correct to add a comment in php? A) & …… & B) // …… C) /* …… */ D) Both (b) and (c)
7. Which of the following is used to display the output in PHP?
A) echo B) write C) print D) Both (a) and (c) 8. Which of the following is used for concatenation in PHP? A) + (plus) B) * (Asterisk) C) . (dot) D) append() 9. Which of the following starts with __ (double underscore) in PHP? A) Inbuilt constants B) User-defined constants C) Magic constants D) Default constants 10. What does PEAR stands for? A) PHP extension and application repository B) PHP enhancement and application reduce C) PHP event and application repository D) None of the above
Long Questions
1. Write Full forms: a) PHP b) WAMP c) XAMP d) LAMP
2. Explain AMP module OR Explain relationship between MySQL, Apache and PHP. 3. Explain how HTML is integrated with PHP and PHP integrated with HTML. 4. Define PHP and explain how PHP pages are created.