Unit 5 Lesson 12: Loops and Simulations

Slides:



Advertisements
Similar presentations
6.1 Simulation Probability is the branch of math that describes the pattern of chance outcomes It is an idealization based on imagining what would happen.
Advertisements

Animal, Plant & Soil Science
Variables Conditionals Loops The concept of Iteration Two types of loops: While For When do we use them? Iteration in the context of computer graphics.
Uncertainty in Engineering The presence of uncertainty in engineering is unavoidable. Incomplete or insufficient data Design must rely on predictions or.
Mathematics in Today's World
Stressful Life Events and Its Effects on Educational Attainment: An Agent Based Simulation of the Process CS 460 December 8, 2005.
Probability theory and average-case complexity. Review of probability theory.
Programming Concept #2 Iteration. Is just a fancy way of saying that you would like something to repeat more than one time. It is used in any modern programming.
Requiem for Large Scale Models Douglass Lee, 1973.
Discrete Event Simulation How to generate RV according to a specified distribution? geometric Poisson etc. Example of a DEVS: repair problem.
CS 351 Overview Spring 2012 Modeling and Simulation Technologies Dr. Jim Holten.
Bug Session Four. Session description Objectives Session activities summary Resources Prior knowledge of sequencing instructions using Bug Bug website.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 10, Slide 1 Chapter 10 Understanding Randomness.
Understanding Randomness Chapter 11. Why Be Random? What is it about chance outcomes being random that makes random selection seem fair? Two things: –
An Examination of Science. What is Science Is a systematic approach for analyzing and organizing knowledge. Used by all scientists regardless of the field.
VIRTUAL WORLDS IN EDUCATIONAL RESEARCH © LOUIS COHEN, LAWRENCE MANION & KEITH MORRISON.
A Model for Computational Science Investigations Supercomputing Challenge
CROSS-CUTTING CONCEPTS IN SCIENCE Concepts that unify the study of science through their common application across the scientific fields They enhance core.
The Next Generation Science Standards: 4. Science and Engineering Practices Professor Michael Wysession Department of Earth and Planetary Sciences Washington.
Slide Understanding Randomness.  What is it about chance outcomes being random that makes random selection seem fair? Two things:  Nobody can.
Introduction to Earth Science Section 2 Section 2: Science as a Process Preview Key Ideas Behavior of Natural Systems Scientific Methods Scientific Measurements.
Surveys, Experiments, and Simulations Unit 3 Part 4 Simulations.
Chapter 10 Understanding Randomness. Why Be Random? What is it about chance outcomes being random that makes random selection seem fair? Two things: –
Csci 418/618 Simulation Models Dr. Ken Nygard, IACC 262B
Chapter 8: Probability: The Mathematics of Chance Probability Models and Rules 1 Probability Theory  The mathematical description of randomness.  Companies.
1 Chapter 11 Understanding Randomness. 2 Why Be Random? What is it about chance outcomes being random that makes random selection seem fair? Two things:
Stats3 Day 1 Chapter 11- using random # table. Do Now Read Handout
AP STATISTICS LESSON AP STATISTICS LESSON PROBABILITY MODELS.
Modeling and Simulation Module 1: Lesson 1 Introduction to Complex Adaptive Systems and Computer Modeling and Simulation.
Chapter 11 Understanding Randomness. What is the most important aspect of randomness? It must be fair. How is this possible? 1) Nobody can guess the outcome.
GKR 2113: INTRODUCTION TO DESIGN PROCESS
Canvas and Arrays in Apps
Vocabulary Prototype: A preliminary sketch of an idea or model for something new. It’s the original drawing from which something real might be built or.
What are some types of scientific investigations?
Unit 5 Lesson 3: Introduction to Arrays
Computational Reasoning in High School Science and Math
Section 2: Science as a Process
Vocabulary Big Data - “Big data is a broad term for datasets so large or complex that traditional data processing applications are inadequate.” Moore’s.
Vocabulary Big Data - “Big data is a broad term for datasets so large or complex that traditional data processing applications are inadequate.”
Understanding Randomness
Cross-cutting concepts in science
Chapter 16 – Programming your App’s Memory
While Loops BIS1523 – Lecture 12.
LESSON 12 - Loops and Simulations
LESSON 11 – WHILE LOOPS UNIT 5 – 1/10/17.
Learning to Program in Python
Understanding Randomness
Understanding Randomness
Learning to Program in Python
Lesson 17: Building an App: Canvas Painter
Lesson 16: Functions with Return Values
Cross Cutting Concepts (CCC)
UNIT 3 CHAPTER 1 LESSON 4 Using Simple Commands.
Looping and Random Numbers
Loops CIS 40 – Introduction to Programming in Python
What Inquiry Skills Do Scientists Use?
(Yes, taking notes is a good idea)
Understanding Randomness
ICT Programming Lesson 3:
ICT Programming Lesson 5:
UNDERSTAND THE CHALLENGE
Unit 1 Lesson 3 What Are Some Types of Investigations?
Understanding Randomness
Biological Science Applications in Agriculture
5th Grade Unit 1 Lesson 1.
U3L8 Creating Functions with Parameters
SIMULATION IN THE FINANCE INDUSTRY BY HARESH JANI
Understanding Randomness
U3L4 Using Simple Commands
Presentation transcript:

Unit 5 Lesson 12: Loops and Simulations CS Principles

Unit 5 Lesson 12: Loops and Simulations Students will be able to: Use a while loop in a program to repeatedly call a block of code. Use variables, iteration, and conditional logic within a loop to record the results of a repeated process. Identify instances where a simulation might be useful to learn more about real-world phenomena. Develop a simulation of a simple real-world phenomenon

Loops and Simulations The ability to model and simulate real-world phenomena on a computer has changed countless fields. Researchers use simulations to predict the weather, the stock market, or the next viral outbreak. Scientists from all disciplines increasingly rely on computer simulation, rather than real-life experiments, to rapidly test their hypotheses in simulated environments. Programmers might simulate users moving across their sites to ensure they can handle spikes in traffic, and of course videogame and virtual reality technology is built around the ability to simulate some aspects of the real world. The speed and scale at which simulations allow ideas to be tested and refined has had far-reaching impact, and it will only continue to grow in importance as computing power and computational models improve.

U5L12 Vocab Models and Simulations - a program which replicates or mimics key features of a real world event in order to investigate its behavior without the cost, time, or danger of running an experiment in real life.

U5L11 Prompt Prompt: "We’re going to run two simple experiments. Use your worksheets to keep track of your results (by writing “H” or “T” for each flip) but keep them a secret for now." Experiment 1: Groups will flip their coins as many times as it takes in order to get 5 heads total Experiment 2: Groups will flip their coins as many times as it takes to get 3 heads in a row

U5L11 Prompt (continued) Prompt: "Let’s have a little competition. You should have recorded your results for your two experiments. Based on your experiment, predict, among every group in the class the most and fewest flips needed to complete each of the experiments."

Transition to Code Studio Open U5L11 Flipping Coins Activity Guide on Code Studio You will be making a simulation of flipping coins. Make a prediction for the outcomes of the experiments they will run. Make sure you make this prediction before moving on. You should record their predictions in the space provided on their worksheets.