VARIABLES

Learning Intention

to use variables to make codes simpler to write and easier to read

REVIEW

Algorithm means ... Function means ...

RECALL

Algorithm means ... Function means ...

Learn..

variables - placeholder for info

Learn..

The Name Game :)

The Name Game Rules

(Using Toni as an example)

Toni, Toni bo-boni

Banana-fana-fo-foni

Fee-fi-mo-moni

Toni!

 

The Name Game Rules

Use X and Y to name the variables

write your answer in your notebook.

here's another example to help you

The Name Game Rules

(Using Ahmad as an example)

Ahmad, Ahmad bo-bahmad 

Banana-fana-fo-fahmad

Fee-fi-mo-mahmad

Ahmad!

 

The Name Game Rules

(Using X and Y as variable)

(X), (X) bo-b(Y)

Banana-fana-fo-f(Y)

Fee-fi-mo-m(Y)

(X)!

 

Some other example...

I am a (Z) person

I don't eat (W)

If I am given the chance to meet someone he/she would probably be (name)

Z = adjective

W=something edible name=name of a person

Create a program that uses variables

Copy of deck

By Raizyl Duque

Copy of deck

  • 506