Course Code: SEC-6 23UCSCS46	PHP Programming	Credits: 2
Lecture Hours: (L) per week: 2	Tutorial Hours : (T) per week	Lab Practice Hours: (P)per week	Total: (L+T+P) per week: 2
Course Category :SEC-6	Year &Semester:II &IV	Admission Year:2023
Pre-requisite	Basic Knowledge on Web
Learning teachers: what they have to do in the class/lab/field) Learning teachers: what they have to do in the class/lab/field) Objectives: The objective of this course is to teach the fundamentals of quantum information processing, including quantum computation, quantum cryptography, and quantum information theory.
Course students: To know what they are going to learn) Course students: To know what they are going to learn) Outcomes: CO1: Implement simple programs in PHP Programming. Implement simple programs in PHP Programming. CO2: Develop and Demonstrate the control structures using basic data types. Develop and Demonstrate the control structures using basic data types. CO3:Implement arrays and string functions using looping structures. arrays and string functions using looping structures. CO4:Demonstrate and Design programs using OOPS concepts and Design programs using OOPS concepts CO5: Create web pages with data validation and cookies
CO1: Implement simple programs in PHP Programming.
CO2: Develop and Demonstrate the control structures using basic data types.
CO3:Implement arrays and string functions using looping structures.
CO4:Demonstrate and Design programs using OOPS concepts
Course students: To know what they are going to learn) Course students: To know what they are going to learn) Outcomes: CO1: Implement simple programs in PHP Programming. Implement simple programs in PHP Programming. CO2: Develop and Demonstrate the control structures using basic data types. Develop and Demonstrate the control structures using basic data types. CO3:Implement arrays and string functions using looping structures. arrays and string functions using looping structures. CO4:Demonstrate and Design programs using OOPS concepts and Design programs using OOPS concepts CO5: Create web pages with data validation and cookies CO5: Create web pages with data validation and cookies
Recap: for examination) Motivation/previous lecture/ relevant portions required for the Recap: for examination) Motivation/previous lecture/ relevant portions required for the course) [ This is done during 2 Tutorial hours)
Units	Contents	Required Hours
I	Introduction to PHP -Basic Knowledge of websites - Introduction of Dynamic Website -Introduction to PHP-Scope of PHP -XAMPP and WAMPInstallation- PHP Programming Basics -Syntax of PHP -Embedding PHP in HTML - Embedding HTML in PHP .	5
II	Introduction to PHP Variable -Understanding Data Types - Using Operators -Using Conditional Statements -If(), else if() and else if condition Statement -Switch() Statements -Using the while() Loop -Using the for() Loop	5
III	PHP Functions -PHP Functions -Creating an Array - Modifying Array Elements -Processing Arrays with Loops - Grouping Form Selections with Arrays -Using Array Functions -Using Predefined PHP Functions -Creating User- Defined Functions	5
IV	PHP Advanced Concepts -Reading and Writing Files - Reading Data from a File -Managing Sessions and Using Session Variables -Destroying a Session -Storing Data in Cookies -Setting Cookies	5
V	OOPS Using PHP -OOPS Concept-Class, Object, Abstractions, Encapsulation, Inheritance, Polymorphism - Creating Classes and Object in PHP-Cookies and Session Management-Working with forms and system file - Error Handling- Model View Controller - AJAX.	5