Home > Computational Thinking > Object Orientation
- Lesson: Introduction to OOP
- Lesson: OOD and UML
- Assessment: Assessment
Introduction to OOP
- Self Learning Duration
- 120 mins
- Lecture Duration
- 120 mins
- Lab Tutorial Duration
- 120 mins
Students to search for the answers to the following questions online.
- What are the different programming paradigms available?
- What are the examples for each paradigm?
- Why Object orientation has gained popularity?
- OOP advantages and disadvantages.
Write a Blog post (150 words) on the topic 'Programming Paradigms'.
Discuss why classes and objects are used in programming. Explain the difference between a functional language vs object oriented language. Prepare the students to learn OOP by providing basic understanding to appreciate the value of objects and classes.
Discuss OOP concepts:
- Objects
- Classes
- Inheritance
- Encapsulation
- Abstraction
- Polymorphism
Create a simple program (2-3 classes) using Java or C# to demonstrate the use of OOP concepts. E.g. Program to keep Student records such as marks.
OOD and UML
- Self Learning Duration
- 0 mins
- Lecture Duration
- 120 mins
- Lab Tutorial Duration
- 120 mins
None
Discuss the practical use of the different type of diagrams.
- Use case diagrams
- Class diagrams
- Sequence diagrams
Briefly discuss other diagram types commonly used in UML.
Create a Software Design Specification document for a 'Uber' or 'AirB&B' using UML notations
Object Orientation
Study how a functional programming language such as JavaScript can be used to program in a Object Oriented manner. Create a GitHub repository with some sample code to demonstrate the concepts. Use GitHub README.md file to explain the concepts using code snippets.