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%

WBP Question Bank

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

WBP Question (Unit 1 & 2)

Part A – Very Short Questions (10)

  1. What is Web Based Programming?
  2. What is PHP?
  3. Write the full form of PHP.
  4. What is a web server?
  5. What is Apache server?
  6. What is WAMP?
  7. What is XAMPP?
  8. What are PHP variables?
  9. What are constants in PHP?
  10. What is type juggling in PHP?

Part B – Short Answer Questions (20)

  1. What are static web pages?
  2. What are dynamic web pages?
  3. Explain the difference between static and dynamic web pages.
  4. Explain client–server architecture of the web.
  5. Write the steps to install XAMPP server.
  6. Explain the basic structure of a PHP program with example.
  7. What are PHP data types?
  8. Explain PHP variables with examples.
  9. Explain constants in PHP.
  10. Explain echo and print statements.
  11. What are PHP operators?
  12. Explain arithmetic operators in PHP.
  13. Explain comparison operators in PHP.
  14. Explain logical operators in PHP.
  15. Explain the difference between =, == and ===.
  16. Explain string handling functions in PHP.
  17. What are superglobal variables in PHP?
  18. Explain GET method in PHP.
  19. Explain POST method in PHP.
  20. Differentiate between GET and POST methods.

Part C – Long Answer Questions (20)

  1. Explain WAMP, LAMP, MAMP and XAMPP.
  2. Explain features and advantages of PHP.
  3. Explain PHP data types with examples.
  4. Explain PHP variables and constants.
  5. Explain PHP operators with examples.
  6. Explain superglobal variables in PHP in detail.
  7. Explain GET, POST and REQUEST methods in PHP.
  8. Explain the working of PHP on a web server.
  9. Explain var_dump() and print_r() with examples.
  10. Explain PHP comments with examples.
  11. Explain string functions in PHP.
  12. Explain client–server architecture of web applications.
  13. Explain form handling in PHP.
  14. Explain type juggling in PHP with example.
  15. Explain the difference between $ and $$ variables.
  16. Explain the structure of a PHP script.
  17. Explain PHP mail() function with syntax.
  18. Explain advantages of PHP in web development.
  19. Explain the role of Apache server in PHP.
  20. Explain dynamic web pages and their advantages.

Programming Questions

  1. Write a PHP program to add two numbers.
  2. Write a PHP program to check whether a number is even or odd.
  3. Write a PHP program to display sum of integers from 1 to n.
  4. Write a PHP program to display student information using form data.
  5. Write a PHP program to create a cookie.
  6. Write a PHP program to expire/delete a cookie.
  7. Write a PHP program to display multiplication table of a number.
  8. Write a PHP program to calculate factorial of a number.