Siksha Sarovar

Siksha Sarovar (sikshasarovar.com) is a free educational web application that helps students in India learn programming and prepare for academic and competitive exams. The platform offers structured coding courses (C, C++, Python, Java, HTML, CSS, PHP, Power BI, AI, Machine Learning, Data Science), complete university curriculum notes for BCA/MCA students with previous year question papers, Class 10 and Class 12 CBSE/HBSE school notes, and dedicated preparation material for SSC, UPSC, Banking, Railway and other government exams. Browsing the site is completely free and requires no account. Users may optionally sign in with Google solely to save their learning progress, quiz scores and personal preferences across devices.

Privacy Policy | Terms of Service | Contact Siksha Sarovar | About Siksha Sarovar

v4.0.9 · PWA
Siksha Sarovar logo
Siksha Sarovar
Your Learning Universe

Siksha Sarovar is a free e-learning platform for coding courses, BCA university notes and competitive exam preparation. Optional Google sign-in saves your learning progress across devices.

Initializing knowledge base…
Compiling modules 0%

Unit 1: Important Questions

Lesson 13 of 36 in the free Web Based Programming notes on Siksha Sarovar, written by Rohit Jangra.

Important Questions: Unit 1 – PHP Fundamentals

Short Answer Questions (2-5 Marks)

  1. What is PHP? List its key features.
  2. Distinguish between a Static and a Dynamic website with two examples each.
  3. What are PHP data types? List all with one example each.
  4. Differentiate between local, global, and static variable scope in PHP.
  5. What are PHP Super Global Variables? List any four with their use.
  6. Compare WAMP, LAMP, XAMPP, and MAMP server environments.

Long Answer Questions (10-15 Marks)

  1. Explain the PHP execution model including variables, data types, and how PHP scripts are processed by a web server.
  2. Discuss all types of PHP operators (Arithmetic, Assignment, Comparison, Logical) with examples and a comparison table.
  3. Explain all looping statements in PHP (for, while, do-while, foreach) with syntax, examples, and a comparison table.
  4. Describe PHP Arrays in detail — Indexed, Associative, and Multidimensional — along with commonly used predefined array functions.