Top Banner
Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg [email protected]
25

Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg [email protected].

Dec 21, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Designing Courseware on Algorithms for Active Learning with Virtual Board Games

Nils Faltin

Department of Computer Science

University of Oldenburg

[email protected]

Page 2: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

2

Contents

• Didactical Goals in learning an algorithm• Textbook vs. courseware, role of exercises• Design method SALA

– Structuring into sections– Treatment of functions– Virtual board game

• Material prototype tests• Example courseware products

Page 3: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

3

Goals in Learning an Algorithm

algorithm operationsdata-linking

data-properties

steps-which

steps-why

modify analyze code

compare

Page 4: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

4

From textbook to courseware

?

Page 5: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

5

Structuring Algorithm Courseware into Sections

Why split into sections?

Typical sections:• Problem• Comparison of Algorithms• Link structure and ordering properties• Functions of the Algorithm• Implementation

Page 6: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

6

Structuring the Heapsort Courseware

• Sorting problem• Heapsort vs. other sorting

algoritms

• Complete binary tree

• Heap property

• Each Function

• Storing the heap and the result list

Page 7: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

7

Heapsort Functions

heapify-locally

heapsort

move-maxheapify

*

build-heap

*

sort

*

Page 8: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

8

Learning an Algorithm Function

1 Problem statement– purpose of new function– available functions– sketch code of new function?

2 Problem solving exercise– sequence of applying av. functions to data example– experiment: virtual board game

3 Standard solution– explain the function code – student practices the steps (virtual board game)

Page 9: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

9

Virtual board game

• Visual display of data structure• Functions by direct manipulation• Room for errors• Visual and textual feedback• Name: „virtual board game“

Page 10: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

10

Using the heapify function

pre-condition: child trees heap ordered

post-condition

heapify

Page 11: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

11

Virtual board game for build-heap

heapify

heapify-locally

swap

Done

Wrong! child trees must be heap

Redundant!

OK! Heapified

OK! Heapified

OK! Heapified

OK! Heapified

You succeeded!

Page 12: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

12

Material Game Prototypes

• Test vbg-idea, learning process• Card board and flanell prototype• Informal tests

– aid in explaining– students liked it– alternative solutions– linked tree?

• Prototype test good for courseware design

Page 13: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

13

Courseware: Binomial heap

• Courseware we developped– Master thesis– Web based

• Binomial heap courseware– developed after SALA– formally evaluated– demo: union function

Page 14: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

14

Union function

Page 15: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

15

Page 16: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

16

Page 17: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

17

Page 18: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

18

Page 19: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

19

Page 20: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

20

Page 21: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

21

Page 22: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

22

Page 23: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

23

Courseware: ESPRESSO logic minimizer

Page 24: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

24

Courseware: LALR parser generator

Page 25: Designing Courseware on Algorithms for Active Learning with Virtual Board Games Nils Faltin Department of Computer Science University of Oldenburg Faltin@informatik.uni-oldenburg.de.

Nils Faltin Designing Courseware on Algorithms ...

25

Conclusion and future work

• Method SALA (PhD thesis)• Courseware for active learning

– www-cg-hci.informatik.uni-oldenburg.de

• Positive feedback from authors and users• Qualitative and quantitative evaluation• Potential of courseware for active learning