Object Approach to Problem Solving (Playful OOP)

Polymorphism

6h 45min
Chapter 9 - Polymorphism (9.1 - 9.3)

Understanding Understanding the basic principles of object-oriented programming (50%)
Understanding Understanding the basics of algorithmisation (10%)
Applying Understanding the syntax of the Java programming language (10%)
Analysing Analysing program execution based on the source code (10%)
Creating The ability of creating own programs with the use of OOP (20%)
Adding mines
Acquisition
1 Basic concepts
Polymorphism

15 min
Production
2 Exercise 9.1
Basic concepts of a mine

20 min
Discussion
3 Code explanation
Mine probles

10 min
Production
4 Exercise 9.2
Creating the ancestor of the Bomb and Mine classes

20 min
Discussion
5 Basic concepts
Visibility

15 min
Investigation
6 Basic concepts
Visibility protected

10 min
Production
7 Exercise 9.3
Visibility - protected

5 min
Defining the shared actions of the Bomb and Mine classes
Investigation
1 Code explanation
Analysing methods of Bomb and Mine

15 min
Practice
2 Code explanation
Methods design

15 min
Production
3 Exercises 9.4 - 9.5
Who are you?; Printing the identification

20 min
Acquisition
4 Basic concepts
Virtual methods

10 min
Production
5 Exercise 9.6
Printing BOMB

15 min
Discussion
6 Code explanation
Polymorphism in the method act()

15 min
Production
7 Exercises 9.7 - 9.8
Controlling the explosion at the ancestor; Creating method act

20 min
Practice
8 Code explanation
Template method

30 min
Production
9 Exercise 9.9
Overlapping methods in Bomb

20 min
Investigation
10 Code explanation
keyword super

10 min
Production
11 Exercises 9.10 - 9.11
Creating methods to explode for the Mine; Enabling Explosives in contact with flames

30 min
Player reaction to bomb explosion
Discussion
1 Code explanation
Player reaction

15 min
Production
2 Exercise 9.12
Removing individual lists and creating a shared list

20 min
Practice
3 Code explanation
Removing errors

15 min
Production
4 Exercise 9.13
Operator instanceof

15 min
Revision

Revision of the Unit 9


Discussion
1 Theory revision
polymorphism

5 min
Assessment
2 Exercises 9.A - 9.C
Timed explosives; Comparing explosives; Creating Dynamite

40 min
15