SRI PARASAKTHI COLLEGE FOR WOMEN
COURTALLAM – 627802
Autonomous
(Under the Management of H.R. & C.E. Dept)
(Affiliated to ManonmaniamSundaranar University)
(Re -accredited with ‘A’ grade by NAAC)
Lesson Plan
Academic Year 2024-2025 (Even Semester)
Name of the Course Teacher : Dr.M.Hariharalakshmi
Name of the Course : Java Programming
Course Code : 23UIVCIT
Class : II B.Sc. IT
Semester : IV
PHP History & Unique Features
Topic :
Date and Time :
Duration : 1Hr
No. of Students :
Section Details
- Understand what PHP is and its evolution.- Learn about key features that make
Lesson Objectives
PHP unique.
- Explain the origin and evolution of PHP.- Identify the advantages of using PHP
Lesson Outcomes
in web development.
Methods of
Lecture, Demonstration, Case Studies.
Pedagogy
Teaching Tools PPT, Whiteboard, Live Coding Demo.
- Ask students: Why is PHP one of the most popular languages for web
Motivation (5 min)
development?
Content
Presentation (40
min)
1. History of PHP - Developed in 1994 by Rasmus Lerdorf.- Evolution from Personal Home Page
(15 min) Tools to PHP: Hypertext Preprocessor.- PHP 7 & PHP 8 improvements.
- Server-Side Scripting: Executes on the server.- Cross-Platform Compatibility:
2. Unique Features
Works on Windows, Linux, macOS.- Database Integration: Supports MySQL,
of PHP (25 min)
PostgreSQL, SQLite.- Open Source & Large Community Support.
Assessment (5 min) – MCQ
Questions
a) Dennis Ritchie b) Rasmus Lerdorf c) Guido van Rossum d)
1. Who created PHP?
James Gosling (Answer: b) Rasmus Lerdorf.
a) Personal Home Page b) PHP: Hypertext Preprocessor c) Private
2. What does PHP stand for? Hosting Page d) Programming Hypertext Protocol (Answer: b)
PHP: Hypertext Preprocessor.
3. Which of the following is NOT a a) Open-source b) Client-side execution c) Server-side scripting d)
feature of PHP? Supports multiple databases (Answer: b) Client-side execution.
4. Which version of PHP
introduced major performance a) PHP 5 b) PHP 6 c) PHP 7 d) PHP 8 (Answer: c) PHP 7.
improvements?
5. PHP scripts are executed on a) Web Browser b) Web Server c) Operating System d) Database
which server component? (Answer: b) Web Server.
Follow-up Work (5 min)
Slow Learners List five websites built using PHP.
Advanced Learners Research how PHP compares to Python for web development.
Topic : Writing and Running PHP Scripts
Date and Time :
Duration :
1Hr
No. of Students :
| Absolutely! Here's the simplified and streamlined version of the Lesson Plan – Hour 1 with
a concise “Content Presentation” section and the Assessment section included inside the
same table, keeping the clean two-column format throughout:
📘 Lesson Plan – Hour 1: Introduction to Object-Oriented Programming
Field Details
Name of the Course Teacher [To be filled]
Name of the Course Java Programming
Course Code [To be filled]
Class B.Sc. Computer Science
Semester II
Topic Introduction to Object-Oriented Programming
Date and Time [To be filled]
Duration 1 Hour
No. of Students [To be filled]
To introduce Object-Oriented Programming
(OOP) concepts and explain how OOP
Objective addresses limitations of procedural
programming through key principles like class,
object, encapsulation, and inheritance.
Students will be able to define object-oriented
programming, list and explain its core concepts,
Outcome
and differentiate it from procedural
programming with examples.
The concept is introduced using a simple
analogy: A “Car” has attributes (model, color)
Motivation / Introduction and behaviors (drive, brake). Students identify
similar objects around them, linking real-world
systems to programming logic.
Lecture with analogies, interactive questioning,
Methods of Pedagogy use of diagrams and sample Java code, and
demonstration using slides and a whiteboard.
PowerPoint slides, whiteboard, Java IDE for
Teaching Tools code demo, printed charts showing class-object
relationships.
Content Presentation (40 minutes)
Field Details
The session starts by highlighting drawbacks of
procedural programming such as poor
modularity and data security. OOP is introduced
as a better approach that bundles data and
methods together. Key concepts covered include:
Class and Object: A class is a blueprint; an object is an instance. Example: Student s1 =
new Student();
Encapsulation: Combines data and methods in one unit. Example: Accessing variables
through getter/setter methods.
Abstraction: Hides internal complexity. Example: Using System.out.println() without
knowing how it works internally.
Inheritance: Allows code reuse from parent classes. Example: class Dog extends Animal.
Polymorphism: One interface, multiple forms. Example: method overloading.
Real-world systems like Library, ATM, and MobilePhone are modeled using these concepts
to help students relate. | | Assessment (5 minutes) |
Students answer a short quiz to reinforce key terms:
One-word: “Which concept hides internal details?” → Abstraction
| Summing Up (5 minutes) | The lesson ends with a recap of major OOP principles. Students
are asked to give one real-life object and describe its class and behaviors.
| | Follow-up Work | Slow learners: Provided with visual handouts and step-by-step
examples.
Advanced learners: Tasked to design a simple class diagram for a “Library” system using
at least 3 OOP concepts. |
✅ 10 MCQ Questions with Answers (for Assessment Use)
Q.No. Question Options Answer
A. Object Online ProgramB. Object-Oriented
1 What does OOP stand for? ProgrammingC. Oriented Object PlatformD. Object B
Operating Process
Which is not a feature of A. EncapsulationB. PolymorphismC. CompilationD.
2 C
OOP? Inheritance
Which concept refers to A. PolymorphismB. InheritanceC. AbstractionD.
3 C
hiding internal details? Class
What is the blueprint of an
4 A. ObjectB. FunctionC. ClassD. Method C
object?
Which OOP concept allows A. PolymorphismB. EncapsulationC. InheritanceD.
5 C
one class to inherit another? Abstraction
Which of the following is not
6 A. JavaB. PythonC. C++D. C D
an OOP language?
A. An algorithmB. A variableC. A real-world
7 An object is: C
entityD. A function
OOP concept allowing A. InheritanceB. PolymorphismC. AbstractionD.
8 B
multiple forms is: Composition
Encapsulation in OOP A. Code repetitionB. Faster compilationC. Data
9 C
ensures: hidingD. Syntax checking
Real-world example of an
10 A. ClassB. StudentC. FunctionD. Loop B
object is:
Would you like me to proceed with Hour 2: Object-Oriented Paradigm using this same simplified
and clean structure?