A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

39
A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School

Transcript of A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

Page 1: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

A Beginner’s Guide to Creating Computer Simulations

Chakita Jackson, Hazelwood West High School

Page 2: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

Agenda

Why Computer Simulations?

HS

D T

ech

Fair 2

01

4

Page 3: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

Microsoft Excelets

Computer Programming Bootstrap

HS

D T

ech

nolo

gy F

air

20

14

Page 4: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

Quick Survey

HS

D T

ech

nolo

gy F

air

20

14

Page 5: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

What is an Excelet?

An Excelet is an interactive Excel spreadsheet or simulation that allows users to engage in critical problem solving.

HS

D T

ech

nolo

gy F

air

20

14

Page 6: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

Learning Targets:

•To introduce you to the Forms Toolbar and a number of the tools available;

•To create a “just add data” interactive Excel spreadsheet.

HS

D T

ech

nolo

gy F

air

20

14

Page 7: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

1. Getting the Forms Toolbar

HS

D T

ech

nolo

gy F

air

20

14

Page 8: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

HS

D T

ech

nolo

gy F

air

20

14

View Toolbar

s Forms

Page 9: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

2. Constructing a simple “Just Add Data” spreadsheet.

HS

D T

ech

nolo

gy F

air

20

14

Page 10: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

HS

D T

ech

nolo

gy F

air

20

14

In a blank Excel worksheet, set up two columns, one with M&M colors, and one with a predicted number of each M&M color. Label the columns, number and color.

Page 11: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

HS

D T

ech

nolo

gy F

air

20

14

Next, click on the chart wizard, selectThe default clustered column.

Page 12: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

HS

D T

ech

nolo

gy F

air

20

14

Page 13: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

•Now let’s add a total to the number column, so we can make the comparison to the official color percentages from:• https://www.exeter.edu/document

s/mandm.pdf

HS

D T

ech

nolo

gy F

air

20

14

Page 14: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

HS

D T

ech

nolo

gy F

air

20

14

Click on cell B9

and select autosum.

You will hit the

enter key to get the

total number of

M&Ms in your bag.

Page 15: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

HS

D T

ech

nolo

gy F

air

20

14

Here is a screenshot of

the official values and

setup for the

calculation using the

percentage from the

M&M website.

Page 16: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

The number of each color in theory is

calculated by taking the actual total

number of M&M’s in your bag ($B$9) and

then multiplying by the official percent of

that color (D3) divided by 100 to get a

fraction. The total is from the SUM

calculation.

HS

D T

ech

nolo

gy F

air

20

14

Page 17: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

HS

D T

ech

nolo

gy F

air

20

14

• Add a new column.• Place the cursor in

the lower left hand box.

• This is the official comparison of your data to the M&M percentages.

Page 18: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

HS

D T

ech

nolo

gy F

air

20

14

Page 19: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

HS

D T

ech

nolo

gy F

air

20

14

Page 20: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

Now if you click on the check box it will

return “TRUE” when checked and “FALSE” when unchecked in cell F16.

Now go to cell C3 and change the formula by adding the yellow highlighted part

shown below:

=IF($F$16=TRUE,$B$9*D3/100,0)

Drag this formula down the column to C8.

HS

D T

ech

nolo

gy F

air

20

14

Page 21: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

Use this spreadsheet to test the following hypotheses:

How do different bags of the same size of M&M Milk Chocolate candies

compare?

HS

D T

ech

nolo

gy F

air

20

14

Page 22: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

Questions?

HS

D T

ech

nolo

gy F

air

20

14

Page 23: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

BootStrapComputer Programming for Students

HS

D T

ech

nolo

gy F

air

20

14

Page 24: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

BootStrap• Bootstrap teaches program design

skills, allowing students to transfer skills to other programming languages.

HS

D T

ech

nolo

gy F

air

20

14

Page 25: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

Why Programming?•Paradigm shift from “getting answers” to “describing functions.”

HS

D T

ech

nolo

gy F

air

20

14

Page 26: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

Why Programming?A defined curriculum that aligns with the Common Core Standards for Math and ISTE Standards for Technology.

HS

D T

ech

nolo

gy F

air

20

14

Page 27: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

How?Students use Order of operations, Pythagoream Theorem, function composition and definition to create and design a series of relevant programming problems.

HS

D T

ech

nolo

gy F

air

20

14

Page 28: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

Who?Created by Emmamuel Schanzer of Cornell University. Supported by: NSF, Apple, Google, Cisco etc.

HS

D T

ech

nolo

gy F

air

20

14

Page 29: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

Bootstrap Level 1:

Apply mathematical concepts and rigorous programming principles to create a simple video game.

HS

D T

ech

nolo

gy F

air

20

14

Page 30: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

Bootstrap Level 2

Build on concepts taught in Bootstrap 1

HS

D T

ech

nolo

gy F

air

20

14

Page 31: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

BootStrap

HS

D T

ech

nolo

gy F

air

20

14

Page 32: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

HS

D T

ech

nolo

gy F

air

20

14

This book is an introduction to designing programming.

Page 33: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

HS

D T

ech

nolo

gy F

air

20

14

The authors make a distinction between designing a program vs. designing functions.

Page 34: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

HS

D T

ech

nolo

gy F

air

20

14

This book by Peter Bloch is an introduction to computer programming.

Page 35: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

HS

D T

ech

nolo

gy F

air

20

14

Picturing Programs focus on pictures and animation as students explore recursion, lists, trees, and algorithms using the same language.

Page 36: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

HS

D T

ech

nolo

gy F

air

20

14

This is a more advanced book, however, the principles are relevant for middle and high school students.

Page 37: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

Tab

let T

ool K

itU

niq

ue M

ob

ile D

evice

Anim

atio

ns

Software

WeScheme is a cloud-based program. If you have a gmail account, you can use WeScheme.

Page 38: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

Tab

let T

ool K

itU

niq

ue M

ob

ile D

evice

Anim

atio

ns

Software

If you don’t want to use a gmail account, you can use DrRacket instead.

Page 39: A Beginner’s Guide to Creating Computer Simulations Chakita Jackson, Hazelwood West High School.

Thank You!Contact:Chakita JacksonHazelwood West High [email protected].