Informatics 121 Software Design I

26
Department of Informatics, UC Irvine SDCL Collaboration Laboratory Software Design and sdcl.ics.uci.edu 1 Informatics 121 Software Design I Lecture 2 Duplication of course material for any commercial purpose without the explicit written permission of the professor is prohibited.

description

Informatics 121 Software Design I. Lecture 2 Duplication of course material for any commercial purpose without the explicit written permission of the professor is prohibited. Today’s lecture. One design exercise Reflection Second assignment Note: there will be a discussion Friday. - PowerPoint PPT Presentation

Transcript of Informatics 121 Software Design I

Page 1: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 1

Informatics 121Software Design I

Lecture 2

Duplication of course material for any commercial purpose without the explicit written permission of the professor is prohibited.

Page 2: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 2

Today’s lecture

• One design exercise

• Reflection

• Second assignment

• Note: there will be a discussion Friday

Page 3: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 3

Your third design exercise

• Design and build a structure that spans two bases…

• …such that the distance between the two bases is maximized…

• …out of Play-Doh, wire, paper, and dowels…

• …in 1 hour.

• (We will take some pictures)

Page 4: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 4

Available materials

• 8 dowels• 3 feet of wire• 10 sheets of paper• 3 large cans of Play-Doh

Page 5: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 5

Process

• Design, phase 1 20 minuteshand in 3 different candidate designs

• Build, phase 1 15 minutes

• Design, phase 2 15 minuteshand in 1 final design

• Build, phase 2 10 minutes

Page 6: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 6

Constraints

• The structure must be able to suspend, for a minimum of 15 seconds, one large, full can of Play-Doh– in the middle of the structure– in one other place of your choosing

• not overlapping with a base• not overlapping with the middle

• The dowels and paper must remain in tact

• The structure as built should reflect the design you specified

• During design, you have no access to materials

Page 7: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 7

Prize

• Each member of the winning team receives a $25 Amazon.com gift card

• The longest span wins– as long as it reflects the design you specified

Page 8: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 8

Reflection

• How much could you draw upon your existing knowledge of bridges?

Page 9: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 9

Reflection

• How did you know what would and would not work?

Page 10: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 10

Reflection

• How useful was it to create three designs in phase 1?

Page 11: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 11

Reflection

• Did you attempt to build all three designs in phase 1?

Page 12: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 12

Reflection

• What did you learn during the first build phase?

Page 13: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 13

Reflection

• What did your second design phase focus on?

Page 14: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 14

Reflection

• Could you faithfully build your final design?

Page 15: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 15

Reflection

• Did you faithfully build your final design?

Page 16: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 16

Reflection

• Did you feel constrained by your design when you were building in phase 2?

Page 17: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 17

Reflection

• What was the most valuable phase, and why?

Page 18: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 18

Reflection

• Would you rather have had a single, 1 hour long, build phase?

Page 19: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 19

Reflection

• Did you want more time to experiment (i.e., build phase 1)?

Page 20: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 20

Reflection

• Did you want more time to design?

Page 21: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 21

Reflection

• What is the key idea underlying your final design?

Page 22: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 22

Reflection

• What influence did the constraints have?– limited materials– supporting a can of Play-Doh in two places– nature of the bases– limited build time– …

Page 23: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 23

Reflection

• How did you negotiate these constraints?

Page 24: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 24

Reflection

• Which representation(s) did you use while designing?

Page 25: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 25

Some past examples

Page 26: Informatics 121 Software Design I

Department of Informatics, UC IrvineSDCL Collaboration LaboratorySoftware Design and

sdcl.ics.uci.edu 26

Second assignment

• Read “Chapter 1” by Alex Baker, Marian Petre, and André van der Hoek– available on the class web site

• Provide a 1 page summary highlighting…1. …five major lessons to learn from this text2. …how these lessons relate to the design exercises we performed in

class today

• Due Thursday