engr 1181 college of engineering engineering education innovation center mat – program design

23
ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

Upload: elinor-mccoy

Post on 12-Jan-2016

220 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

• ENGR 1181

College of EngineeringEngineering Education Innovation Center

MAT – Program Design

Page 2: ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

• ENGR 1181

MAT - Structured Problem Solving

Outline

• problem solving– the big picture

• structured problem solving– focus on the plan– decomposition/refinement– pseudo code/flowchart

• flowchart tools

• reminders

Rev: 20120726, PAC

Page 3: ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

• ENGR 1181

MAT - Structured Problem Solving

Problem Solving

Rev: 20120726, PAC

1. Define

2. Represent

3. Plan

4. Implement

5. Evaluate

Page 4: ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

• ENGR 1181

MAT - Structured Problem Solving

Structured Problem Solving

Rev: 20120726, PAC

3. Plan

Page 5: ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

• ENGR 1181

MAT - Structured Problem Solving

Structured Problem Solving

• tasks• decompose

– big– medium– small– smallest

• order

Rev: 20120726, PAC

3. Plan

Page 6: ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

• ENGR 1181

MAT - Structured Problem Solving

Structured Problem Solving

• top down step-wise refinement– start big– determine subtasks and order– continue until you can't get any smaller

• pseudo code– informal– programming "light"

Rev: 20120726, PAC

Page 7: ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

• ENGR 1181

MAT - Structured Problem Solving

Scrambled Eggs – Top Down Style

• assumptions– you know how to cook scrambled eggs

• givens– food: eggs, butter– equipment: frying pan, stove, plate, bowl, fork, spatula

Rev: 20120726, PAC

Page 8: ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

• ENGR 1181

MAT - Structured Problem Solving

Scrambled Eggs – Top Down Style

• level 1 make scrambled eggs

Rev: 20120726, PAC

Page 9: ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

• ENGR 1181

MAT - Structured Problem Solving

Scrambled Eggs – Top Down Style

• level 2

make scrambled eggscollect equipmentcollect ingredientsprepare equipmentprepare ingredientscook eggs

Rev: 20120726, PAC

Page 10: ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

• ENGR 1181

MAT - Structured Problem Solving

Scrambled Eggs – Top Down Style

• level 3

make scrambled eggscollect equipment

get frying panget forkget bowlget plateif all clean

(enough?), continue

otherwise,wash as

needed

Rev: 20120726, PAC

Page 11: ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

• ENGR 1181

MAT - Structured Problem Solving

Scrambled Eggs – Top Down Style

• level 3

make scrambled eggscollect ingredients

how hungry?get eggif more needed,

go toprevious

otherwise, go to

nextget butter

Rev: 20120726, PAC

Page 12: ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

• ENGR 1181

MAT - Structured Problem Solving

Scrambled Eggs – Top Down Style

• level 3

make scrambled eggsprepare equipment

place pan on burner

set burner tempbutter in pancheck pan tempif temp too low,

go to previous

otherwise,continue

Rev: 20120726, PAC

Page 13: ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

• ENGR 1181

MAT - Structured Problem Solving

Scrambled Eggs – Top Down Style

• level 3

make scrambled eggsprepare ingredients

crack egg into bowl

if uncracked eggs,

go to previous

otherwise,go to next

scramble egg with fork

Rev: 20120726, PAC

Page 14: ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

• ENGR 1181

MAT - Structured Problem Solving

Scrambled Eggs – Top Down Style

• level 3

make scrambled eggscook eggs

pour eggs into panmove eggs with

spatulaif eggs uncooked,

go to previous

otherwiseturn off

stove!scoop egg

onto plate

Rev: 20120726, PAC

Page 15: ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

• ENGR 1181

MAT - Computer Problem Solving

Peanut Butter Sandwich

• problem: to create an open faced peanut butter sandwich, ready to eat

• write an algorithm to create the sandwich

• work in pairs• list assumptions• steps in orderRev: 20120725, PAC

Page 16: ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

• ENGR 1181

MAT - Structured Problem Solving

Time to try it out

• One algorithm will be selected and demonstrated

Rev: 20120726, PAC

Page 17: ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

• ENGR 1181

MAT - Structured Problem Solving

How did it go?

• Computers are very literal

Rev: 20120726, PAC

Page 18: ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

• ENGR 1181

MAT - Structured Problem Solving

Structured Problem Solving

• flowcharts– develop not document – high level– executable only– coding guideline– specifics not included

• symbols

Rev: 20120726, PAC

Page 19: ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

• ENGR 1181

MAT - Structured Problem Solving

Structured Problem Solving

• algorithm– top down step-wise– pseudo code

• flowchart– higher level– verification

Rev: 20120726, PAC

Page 20: ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

• ENGR 1181

MAT - Structured Problem Solving

Structured Problem Solving

Rev: 20120726, PAC

algorithm + flowchart = easy code

Page 21: ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

• ENGR 1181

MAT - Structured Problem Solving

Flowchart Tools

• MS Word, Excel, PowerPoint– Insert/Shapes

• MS Excel flowchart symbols template– http://office.microsoft.com/en-us/templates/flowchart-simple-

layout-TC001018440.aspx

Rev: 20120726, PAC

Page 22: ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

• ENGR 1181

MAT - Structured Problem Solving

Flowchart Tools

• MS Visio or open source equivalent– Calligra Flow (Windows, OS X, Linux) – ArgoUML (Windows, OS X, Linux)– OpenOffice Draw 3.0 (Windows, OS X, Linux, Unix)

• Gliffy Online– http://www.gliffy.com/flowchart-software/

Rev: 20120726, PAC

Page 23: ENGR 1181 College of Engineering Engineering Education Innovation Center MAT – Program Design

• ENGR 1181

MAT - Structured Problem Solving

Reminders

• structured problem solving– top down step-wise– pseudo code– flowcharts

Rev: 20120726, PAC