13
Programming with Alice Advanced topics – Demo

Programming with Alice Advanced topics – Demo. Overview of topics Recursion Random Numbers Variables Arrays

  • View
    238

  • Download
    0

Embed Size (px)

Citation preview

Programming with Alice

Advanced topics – Demo

Overview of topics

Recursion

Random Numbers

Variables

Arrays

Recursion

Two examplesTowers of Hanoi

Horse race

Towers of Hanoi

Horse Race

Random Numbers

Two examplesHorse racing

Shark chase

Shark chase

Shark chase – random numbers

Variables

An example – a timer

Timer

Arrays

Example – insertion sort

Insertion sort

Textbook

More information Recursion

Chapter 8

Random NumbersTips & Techniques 6

VariablesChapter 10, Section 1

ArraysChapter 10, Section 2