Problem Solving.

Slides:



Advertisements
Similar presentations
Def f(n): if (n == 0): return else: print(“*”) return f(n-1) f(3)
Advertisements

Do I need a robot today? You only need a robot if your team has not shown me your octagon and/or the octagon in a function.
Houston, We Have a Problem Two days after the liftoff of Apollo 13, James Lovell, John Swigert, and Fred Haise were enjoying a smooth ride, but they had.
Computer Programming and Basic Software Engineering 4. Basic Software Engineering 1 Writing a Good Program 4. Basic Software Engineering 3 October 2007.
Colorado Space Grant Consortium Gateway To Space ASEN / ASTR 2500 Class #23 Gateway To Space ASEN / ASTR 2500 Class #23.
How to Install Windows 7.
The graphing calculator can be a great checking tool or a fast way to answer a multiple choice question. Example – suppose you graphed the following and.
COULD WE LIVE ANYWHERE OTHER THAN EARTH ?
Science SPACE BASICS. Science SPACE BASICS The Basics of The Space Shuttle Learn about: 1.The history of Rocketry. 2.How the Shuttle gets into space.
More Looping Structures
Revision Revision Cooperative Lesson Revision.
By-Deshen Villa  James A. Lovell  John L. Swigert  Fred W. Haise.
DiceRoller DiceRoller (object class) and DiceRollerViewer client class: Write a DiceRoller class (similar to Yahtzee) to: Allow the person to initially.
Practice with Lists and Strings CS303E: Elements of Computers and Programming.
Simple Functions and Names Sec 9-4 Web Design. Objectives The student will: Know how to create a simple function in Python. Know how to call a function.
America will send a new generation of explorers to the moon aboard NASA’s Orion crew exploration vehicle. After that, on to MARS!!!
Remember…  Please do not…  Change the background.  Change the icons.  Change the font. Use Times New Roman (size 12 font).  Use color. We cannot print.
Computing Science 1P Large Group Tutorial: Lab Exam & Class Test Simon Gay Department of Computing Science University of Glasgow 2006/07.
Chapter 6 Test Prep 6-3 through 6-5: Solving Quadratic Equations 6-6: Graphing Quadratic Functions Application Problems Choose a section to work on. At.
Designing While Loops CSIS 1595: Fundamentals of Programming and Problem Solving 1.
Mediathek Mirabaud Media Centre 1 NoodleBib Create a Bibliography Introduction.
Spring  Problems:  Mandelbrot set  Time Travel Securities, Inc.  Pi from pie  Extra Credits:  Sequence Sums.
Formatting a Document in Microsoft Word. Once you have your lab response written, you’re ready to get started on formatting! The following presentation.
Simple Copying an Android project in Eclipse Reference: existing-project-with-a-new-name 1.
Think First, Code Second Understand the problem Work out step by step procedure for solving the problem (algorithm) top down design and stepwise refinement.
Photosynthesis & Cellular Respiration Your Name. Overview of Today’s Lesson You will be working your way through several modules today and taking a couple.
Option Sheets Presentation Course Selection. Input your course selections online Using any computer and internet browser go to: student.hwdsb.on.ca Click.
The Moon is a ball of rock that orbits the Earth. As the Earth turns, it moves slowly round the Sun. While the Earth is moving round the Sun, the Moon.
2010 The Medical Team Bambi, Cherokee,Gordy, and Kelsey.
Return to Home! Go To Next Slide! Return to Home! Go To Next Slide!
Algorithms IV Top-Down Design.
INTERMEDIATE PROGRAMMING Lesson
I’m glad that... Challenger Learning Center
Possible exam questions with Scenarios
INTERMEDIATE programming LESSON: debugging Techniques: DISPLAY, LIGHT, Sound, Button Press… By Droids Robotics © 2014, Droids Robotics, v. 1.0,
How to issue an Accounts Payable check in ISIS
Chapter One Unser Interface.
Please use the top of the slide. The area that will be printed is 4
CS1371 Introduction to Computing for Engineers
Fix yahoo error code 1032 Call Toll-free Number
What is a Polygon?.
Fundamentals of Programming I Managing the Namespace
We are Astronauts Learning Objectives: I can open Scratch
Chapter 16 Section 8 What is the space shuttle?
SPACE Mission Badge 9/17/2018.
Fix Bitdefender 2018 not Updating Error
Fix Bitdefender Error Code 82 Give a Ring on: Bitdefender Support Number.
Fix Bitdefender Internet Security Error 217 Bitdefender Support Number Give a Ring on:
Bellwork 12/12 If you could go to space to study something, what might you want to study? Explain your answer. Given the opportunity…would you travel.
GRAPHING CALCULATOR Part 1
Thursday 5/25/17 Notebook Entry:
Which earth cycle am I? Answer the questions to figure out what I am. Am I the Water Cycle Nitrogen Cycle Carbon Cycle Oxygen Cycle.
More Looping Structures
Reinforcement Learning
Program to find equivalence classes
Why we should or shouldn’t go to Mars
Option Sheets Presentation
Loops and Simple Functions
Spring 2018 EECS 110: Homework IV.
Do it now – PAGE 7 You will find your do it now task in your workbook – look for the start button! Sunday, 19 May 2019.
More Looping Structures
Conference Form Name: ____________ Teacher: ___________ Date/ Time: _____ What behavior stopped the learning of you or someone else? __________________________________________________________________________________________________________________________
John Glenn The man who dared!!.
Good programming practices
General Computer Science for Engineers CISC 106 Lecture 15
File Handling.
CS 1111 Introduction to Programming Spring 2019
Hexagons + Rotation Squares
Falkirk High School Tartan Competition
Presentation transcript:

Problem Solving

Houston, we have a problem

Problem: Get home Given: Oxygen scrubbers don’t fit Goal: Make them fit! Resources: Duct Tape! Expertise Constraints Time Vast emptiness of space Ownership Team of engineers at mission control

Problem solving strategies Get the Astronauts Home Fix Oxygen Problem Get back to Earth Get home Stop Oxygen Leak Fix up temporary engine Dump other modules Adapt CO2 Scrubbers Turn Spaceship Around Re-enter atmosphere Get back to Earth Orbit “Top Down”

Problem solving strategies Get the Astronauts Home Stop Oxygen Leak Fix up temporary engine Turn Spaceship Around Get back to Earth Orbit Adapt CO2 Scrubbers Dump other modules Re-enter atmosphere “Stepwise refinement”

Input This will work: result = input(“What should I do?:”) print “You told me to “,result But only if the input is a number, otherwise it gives an error. Why? How to fix it?

A basic menu def ShowMenu(): print “”” Please choose an option: 1 – Square 2 – Hexagon 3 – Octagon 4 – Quit --------------------------- “”” def GetResponse(): response = input(“Enter Option Number:”) return response