Preparing for your PHP exam in BCA or BSc IT? This post covers the most important PHP questions that frequently appear in university exams. These questions are ideal for last-minute revision and building a strong foundation in PHP programming. Topics include variables, loops, functions, form handling, sessions, file handling, and more.
UNIT-1
1. php introduction and advantages/features
2. Variable in PHP and Scope of Variables
3. PHP operators
4. PHP Looping Statements
5. PHP Conditional Statements.
6. Array and Types of Array
7. UDF and types of UDF (8 Types)
8. Array Functions and Miscellaneous Function.
UNIT-2
1. Cookie (setcookie & $_COOKIE[])
2. Session (session_start(), session_destroy(), $_SESSION[])
3. uploading file
4. PHP Regular expression or server side validation (ereg and preg_match functions)
5. How to send mail in PHP
6. GD library steps to create an image or program for any shape.
7. JSON Functions: json_decode, json_encode.
8. What is AJAX and how it work?
UNIT-3
1. MySQL and its features.
2. DML statements (insert, update, select and delete).
3. Database Terminology (database, table, row, column, primary key, etc) ;
4. mysqli functions (remember category wise)
5. connectivity program and its steps.
UNIT-4
1. what is jQuery and how it works and how to add jQuery in webpage?
2. jQuery Selector (id, class, element, window, document)
3. jQuery events(mouse, keyboard, form and window)
4. jquery Effect ( 6 effect)
5. jQuery Method (css method(4), content setting(6), content remove(2) height & width (6))
UNIT-5
1. What is OOP and what is class and what is object with example.
2. whats is property/method settings or what is access specifiers? (public, private, protected)
3. constructor and destructor (__construct() and __destruct())
4. Scope Resolution Operator (::) with Constant Member
5. Inheritance in PHP (super class and child class)
Full form
PHP: Personal Home Page or PHP Hypertext Preprocessor
IIS: Internet Information Services
GD: Graphics Draw.
AJAX: Asynchronous JavaScript and XML
MySql: My Structured Query Language
JSON: JavaScript Object Notation.
XML: Extensible Markup Language
DBMS: Database Management System
RDBMS: Relational Database Management System
DML: Data Manipulation Language
OOP: Object-Oriented Programming
POP: Procedural Oriented Programming