Randomness Exploring Computer Science Lesson 4-10 – Part 2.

Slides:



Advertisements
Similar presentations
Probability What are your Chances?
Advertisements

How to make an educational Snakes and Ladders game in Scratch
EXAMPLE 1 Construct a probability distribution
Introduction to TouchDevelop
EXAMPLE 1 Construct a probability distribution Let X be a random variable that represents the sum when two six-sided dice are rolled. Make a table and.
Scratch Programming Session 6 of 10 If-then-else statements interactions Final projects specifications.
1 Starting to Program From Scratch scratch is a new programming language that lets you create your own interactive stories, animations, games, music, and.
E. Melvin Honeycutt Elementary School Teachers: Doris Spencer Ashley Wise Students: 55 Academically.
Timers Exploring Computer Science Lesson Objectives The students will be able to: Create a timer.
We will be creating a spaceship that simulates real movements in space. The spaceship will fire a laser beam that can destroy targets. The spaceship will.
Section 2 Variables National 4/5 Scratch Course. What you should know after this lesson What a variable is Where variables are stored How to get data.
Plotting Data Exploring Computer Science Lesson 5-7.
My Scratch Story Exploring Computer Science Lesson 4-7.
Learning the skills for programming Advanced Visual Programming.
Scratch Dialogues Exploring Computer Science – Lesson 4-3.
Approximately, 1/3 of our population CANNOT roll their tongue
1 x 2 Game 1: One Player Game If you select a number sentence, give the answer. If you select an answer give the number sentence that has that answer.
Exploring Computer Science – Lesson 1-8
Jo & Jo’s Probability Game By: Joslyn Kikila & Jomelle Pasamonte.
Bestpowerpointtemplates.com Points of View – Telling a Story with Data Exploring Computer Science – Lesson 1-5.
Exploring Computer Science – Lesson 2-5. Click to add text.
Variables and Random Numbers Computer App Session 4.
Web Site Evaluation Exploring Computer Science – Lesson 1-3.
Introduction to Computer Programming - Project 2 Intro to Digital Technology.
Computer Science I: Understand how to evaluate expressions with DIV and MOD Random Numbers Reading random code Writing random code Odds/evens/…
Fluency Happy Counting 9-25 (2min) Say Ten Counting 5-25 (4min) Ten Plus Number Sentence (4min)
Randomising the behaviour of Sprites Games Programming in Scratch.
Making a Flappy Birds Game PART 2 – MAKING THE BIRD FLAP AND FALL – AND DEVELOPING THE GAME FURTHER (ADDING ADDITIONAL CHARACTERS, GOODIES, ENEMIES AND.
Introduction to Programming with Scratch Exploring Computer Science – Lesson 4-1.
Objective of the lesson Use Blockly to make a dice for Snakes and Ladders All of you will: – Make an image which displays when you press a button Most.
Event Driven Programs Exploring Computer Science – Lesson 4-5.
Movement Game Design (Scratch).
Lego Mindstorm Robot Educator Tutorials
Recap: If, elif, else If <True condition>:
Exploring Computer Science Lesson 4-7
Exploring Computer Science – Lesson 4-5
Exploring Computer Science Lesson 5-2
Exploring Computer Science Lesson 4-13
Exploring Computer Science Lesson 4-14
Randomising the behaviour of Sprites
Exploring Computer Science Lesson 4-10 – Part 1
Exploring Computer Science Lesson 5-7
Exploring Computer Science Lesson 5-2
Strategies for Problem Solving
Strategies for Problem Solving
Probability What are your Chances?
اختر أي شخصية واجعلها تطير!
Module 5 Lesson 3 Extreme Scratch Cards
Exploring Computer Science Lesson 4-14
Lego Mindstorm Robot Educator Tutorials
Random Numbers In today’s lesson we will look at:
This is a simple and fun game to introduce probability to students
BBC Microbit.
And and or…and RANDOMNESS
Exploring Computer Science Lesson 4-11
Dry run Fix Random Numbers
Exploring Computer Science Lesson 4-13
Exploring Computer Science – Lesson 4-3
Conditionals Exploring Computer Science Lesson 4-9.
Exploring Computer Science Lesson 4-7
Exploring Computer Science Lesson 4-8
Game Over Module 4 Lesson 2.
Exploring Computer Science Lesson 4-12
Getting Started with Scratch
Exploring Computer Science Lesson 4-10 – Part 2
Exploring Computer Science Lesson 4-14
Exploring Computer Science Lesson 4-13
Exploring Computer Science Lesson 4-12
Exploring Computer Science Lesson 4-8
Exploring Computer Science Lesson 4-10 – Part 1
Presentation transcript:

Randomness Exploring Computer Science Lesson 4-10 – Part 2

Objectives The students will be able to: Use a random number generator to write a dice program.

Journal What does the word random mean in English? Write down the questions. Answer with complete thoughts and sentences or you will not receive full credit on your journal

Randomness if I roll a pair of dice, will the numbers come out in order (2, then 3, then 4 the next roll, etc.)

Randomness This unpredictability is called randomness. Randomness can make games more exciting. For example, how many spaces will I get to move this turn? Randomness is also used in computer science for simulations and in scientific/statistical experiments.

Getting a Random Number in Scratch pick random is under operations

Let’s Look at a Program… This is the start of a program… What do you think it does?

Finish the Program… Download dice.sb from the website. Finish the dice program so it works completely and then add a second die. You can duplicate the sprite but they need to work separately! See is you can figure out how to hide the variables from the screen.