Kemija. Write a program that decodes Luka s sentence. Input

Size: px
Start display at page:

Download "Kemija. Write a program that decodes Luka s sentence. Input"

Transcription

1 Kemija Luka is fooling around in chemistry class again! Instead of balancing equations he is writing coded sentences on a piece of paper. Luka modifies every word in a sentence by adding, after each vowel (letters a, e, i, o and u ), the letter p and then that same vowel again. For example, the word kemija becomes kepemipijapa and the word paprika becomes papapripikapa. The teacher took Luka s paper with the coded sentences and wants to decode them. Write a program that decodes Luka s sentence. The coded sentence will be given on a single line. The sentence consists only of lowercase letters of the English alphabet and spaces. The words will be separated by exactly one space and there will be no leading or trailing spaces. The total number of character will be at most 100. the decoded sentence on a single line. zepelepenapa papapripikapa Sample 1 zelena paprika Sample 2 bapas jepe doposapadnapa opovapa kepemipijapa Sample 2 bas je dosadna ova kemija Source: Croatian Open Competition in Informatics 2008/2009, contest #3. License: For educational use only

2 Dice game Gunnar and Emma play a lot of board games at home, so they own many dice that are not normal 6-sided dice. For example they own a die that has 10 sides with numbers 47,48,,56 on it. There has been a big storm in Stockholm, so Gunnar and Emma have been stuck at home without electricity for a couple of hours. They have finished playing all the games they have, so they came up with a new one. Each player has 2 dice which he or she rolls. The player with a bigger sum wins. If both sums are the same, the game ends in a tie. Task Given the description of Gunnar s and Emma s dice, which player has higher chances of winning? a, a + 1,, b a b b a + 1 All of their dice have the following property: each die contains numbers, where and are the lowest and highest numbers respectively on the die. Each number appears exactly on one side, so the die has sides. a 1, b 1, a 2, b 2 i The first line contains four integers that describe Gunnar s dice. Die number contains numbers a i, a i+1,, b i on its sides. You may assume that 1 a i b i 100. You can further assume that each die has at least four sides, so a i+3 b i. The second line contains the description of Emma s dice in the same format. the name of the player that has higher probability of winning. Tie if both players have same probability of winning Sample 1 Emma Sample Sample 2 Tie

3 Sample Sample 3 Gunnar Author: Lukáš Poláček. Source: Nordic Collegiate Programming Contest License: Creative Commons License (cc by-sa)

4 Ladder You are attempting to climb up the roof to fix some leaks, and have to go buy a ladder. The ladder needs to reach to the top of the wall, which is most v h centimeters high, and in order to be steady enough for you to climb it, the ladder can be at an angle of at degrees from the ground. How long does the ladder have to be? The input consists of a single line containing two integers 1 h v 89 and that. h v and, with meanings as described above. You may assume that Write a single line containing the minimum possible length of the ladder in centimeters, rounded up to the nearest integer Sample Sample Sample Author: Per Austrin. Source: Spotify Challenge License: Creative Commons License (cc by-sa)

5 Reversed binary numbers Yi has moved to Sweden and now goes to school here. The first years of schooling she got in China, and the curricula do not match completely in the two countries. Yi likes mathematics, but now The teacher explains the algorithm for subtraction on the board, and Yi is bored. Maybe it is possible to perform the same calculations on the numbers corresponding to the reversed binary representations of the numbers on the board? Yi dreams away and starts constructing a program that reverses the binary representation, in her mind. As soon as the lecture ends, she will go home and write it on her computer. Task Your task will be to write a program for reversing numbers in binary. For instance, the binary representation of 13 is 1101, and reversing it gives 1011, which corresponds to number 11. N 1 N The input contains a single line with an integer,. one line with one integer, the number we get by reversing the binary representation of. N 13 Sample 1 11 Sample 2 47 Sample 2 61 Author: Emma Enström. Source: KTH Challenge License: Creative Commons License (cc by-sa)

6 Friday 13th On the planet Htrae Friday the 13th is a lucky day. You are going there on the next space ship and want to calculate how many times it happens during a given year. Unfortunately they change their calendar every year. Every year starts on a Sunday, but other than that, they change everything. They have released a list of calendar specifications for the next few years. A calendar specification consists of the total number of days in the year, the number of months in the year, and the number of days in each of the months. Your task is to figure out how many times there will be Friday the 13th based on the calendar specifications. The first line of the input consists of a single integer, The first line of each of the test cases is a line with two space separated integers, and, the total number of days in the year and the number of months in the year respectively. The second line of each test case consists of integers, d i, the number of days in each month. 1 T 20 1 M D di 100 i d i = D T, the number of test cases. T D M M space separated For each test case, output the number of Friday the 13ths in the specified year Sample Author: Torbjørn Morland. Source: IDI-Open License: Creative Commons License (cc by-sa)

7 Riječi One day, little Mirko came across a funny looking machine! It consisted of a very very large screen and a single button. When he found the machine, the screen displayed only the letter A. After he pressed the button, the letter changed to B. The next few times he pressed the button, the word transformed from B to BA, then to BAB, then to BABBA When he saw this, Mirko realized that the machine alters the word in a way that all the letters B get transformed to BA and all the letters A get transformed to B. Amused by the machine, Mirko asked you a very difficult question! After K times of pressing the button, how many letters A and how much letters B will be displayed on the screen? K 1 K 45 The first line of input contains the integer ( ), the number of times Mirko pressed the button. The first and only line of output must contain two space-separated integers, the number of letters A and the number of letter B. 1 Sample Sample 2 4 Sample Sample 3 10 Sample

8 Author: Marin Tomić. Source: Croatian Open Competition in Informatics 2013/2014, contest #3. License: For educational use only

9 Artichokes Fatima Cynara is an analyst at Amalgamated Artichokes (AA). As with any company, AA has had some very good times as well as some bad ones. Fatima does trending analysis of the stock prices for AA, and she wants to determine the largest decline in stock prices over various time spans. For example, if over a span of time the stock prices were 19, 12, 13, 11, 20 and 14, then the largest decline would be 8 between the first and fourth price. If the last price had been 10 instead of 14, then the largest decline would have been 10 between the last two prices. Fatima has done some previous analyses and has found that the stock price over any period of time can be modelled reasonably accurately with the following equation: p, a, b, c d price(k) = p (sin(a k + b) + cos(c k + d) + 2) where and are constants. Fatima would like you to write a program to determine the largest price decline over a given sequence of prices. Figure 1 illustrates the price function for. You have to consider the prices only for integer values of k. Figure 1:. The largest decline occurs from the fourth to the seventh price. The input consists of a single line containing 6 integers ( ),,,, ( ) and ( 1 n 106. p 1 p 1000 a b c d 0 a, b, c, d 1000 ). The first 5 integers are described above. The sequence of stock prices to consider is price(1), price(2),, price(n) n Display the maximum decline in the stock prices. If there is no decline, display the number 0. Display your output in two decimal places

10 Sample Sample Sample Close Show Valid Sample 3 Bad domain: Bad domain: Sample Bad domain: Bad domain: Bad domain: Bad domain: Bad domain: Source: ACM-ICPC World Finals License: Restricted, used with permission Bad domain: Auto-validate on refresh

11 Numbers on a Tree Lovisa is at KTH listening to Stefan Nilsson lecturing about perfect binary trees. A perfect binary tree has a distinguished node called the root which is usually drawn at the top. Each node has two children except the nodes in the lowest layer, which we call leaves. Lovisa knows all this already, so she is a bit bored. Noticing this, Stefan comes up with a new challenge for Lovisa. First, we label the nodes of a perfect binary tree with numbers as follows. We start at the bottom right leaf which gets number 1 and then label nodes on the same level in increasing order from right to left. After finishing a level, we move to the rightmost node in the level above and label all the nodes on that level from right to left. We proceed in this fashion until we reach the root. When we want to describe a node in the tree, we can do it by describing a path starting at the root and going down toward the leaves. At each non-leaf node we can either go left ( L ) or right ( R ). Figure 1: Labeled binary tree of height 3 with two marked paths from the root. Path LR leads to label 11 while path RRL leads to 2. The root has number 15. Task Lovisa s task is to calculate the label of a node, given the height of the tree H and the description of the path from the root. The only line of input contains the height of the tree, and a string consisting of the letters L and R, denoting a path in the tree starting in the root. The letter L denotes choosing the left child, and the letter R choosing the right child. The description of the path may be empty and is at most H 1 H 30 H letters. one line containing the label of the node given by the path.

12 3 LR Sample 1 11 Sample 2 3 RRL Sample 2 2 Sample 3 2 Sample 3 7 Author: Lukáš Poláček. Source: KTH Challenge License: Creative Commons License (cc by-sa)

Ready, Set, Go! Math Games for Serious Minds

Ready, Set, Go! Math Games for Serious Minds Math Games with Cards and Dice presented at NAGC November, 2013 Ready, Set, Go! Math Games for Serious Minds Rande McCreight Lincoln Public Schools Lincoln, Nebraska Math Games with Cards Close to 20 -

More information

Arithmetic Coding: Introduction

Arithmetic Coding: Introduction Data Compression Arithmetic coding Arithmetic Coding: Introduction Allows using fractional parts of bits!! Used in PPM, JPEG/MPEG (as option), Bzip More time costly than Huffman, but integer implementation

More information

KTH Challenge 2013. Solutions. Further Information KTH Challenge 2013. April 21, 2013

KTH Challenge 2013. Solutions. Further Information KTH Challenge 2013. April 21, 2013 April 21, Jury Lukáš Poláček (, Spotify), head of jury Per Austrin () Oskar Werkelin Ahlin (Spotify) Ulf Lundström () Marc Vinyals () Erik Aas () Emma Enström () Andreas Lundblad () B Peragrams Only one

More information

That s Not Fair! ASSESSMENT #HSMA20. Benchmark Grades: 9-12

That s Not Fair! ASSESSMENT #HSMA20. Benchmark Grades: 9-12 That s Not Fair! ASSESSMENT # Benchmark Grades: 9-12 Summary: Students consider the difference between fair and unfair games, using probability to analyze games. The probability will be used to find ways

More information

Current California Math Standards Balanced Equations

Current California Math Standards Balanced Equations Balanced Equations Current California Math Standards Balanced Equations Grade Three Number Sense 1.0 Students understand the place value of whole numbers: 1.1 Count, read, and write whole numbers to 10,000.

More information

Full and Complete Binary Trees

Full and Complete Binary Trees Full and Complete Binary Trees Binary Tree Theorems 1 Here are two important types of binary trees. Note that the definitions, while similar, are logically independent. Definition: a binary tree T is full

More information

Played With Five Standard Six-Sided Dice. by Paul Hoemke

Played With Five Standard Six-Sided Dice. by Paul Hoemke Played With Five Standard Six-Sided Dice by Paul Hoemke 1 Copyright 2011 by Paul Hoemke. Five New 5-Dice Games by Paul Hoemke is licensed under a Creative Commons Attribution 3.0 Unported License. http://creativecommons.org/licenses/by/3.0/

More information

MATHS ACTIVITIES FOR REGISTRATION TIME

MATHS ACTIVITIES FOR REGISTRATION TIME MATHS ACTIVITIES FOR REGISTRATION TIME At the beginning of the year, pair children as partners. You could match different ability children for support. Target Number Write a target number on the board.

More information

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012

COMP 250 Fall 2012 lecture 2 binary representations Sept. 11, 2012 Binary numbers The reason humans represent numbers using decimal (the ten digits from 0,1,... 9) is that we have ten fingers. There is no other reason than that. There is nothing special otherwise about

More information

Ch5: Discrete Probability Distributions Section 5-1: Probability Distribution

Ch5: Discrete Probability Distributions Section 5-1: Probability Distribution Recall: Ch5: Discrete Probability Distributions Section 5-1: Probability Distribution A variable is a characteristic or attribute that can assume different values. o Various letters of the alphabet (e.g.

More information

RACE TO CLEAR THE MAT

RACE TO CLEAR THE MAT RACE TO CLEAR THE MAT NUMBER Place Value Counting Addition Subtraction Getting Ready What You ll Need Base Ten Blocks, 1 set per group Base Ten Blocks Place-Value Mat, 1 per child Number cubes marked 1

More information

Ch. 13.2: Mathematical Expectation

Ch. 13.2: Mathematical Expectation Ch. 13.2: Mathematical Expectation Random Variables Very often, we are interested in sample spaces in which the outcomes are distinct real numbers. For example, in the experiment of rolling two dice, we

More information

Mental Computation Activities

Mental Computation Activities Show Your Thinking Mental Computation Activities Tens rods and unit cubes from sets of base-ten blocks (or use other concrete models for tenths, such as fraction strips and fraction circles) Initially,

More information

Introduction to Fractions, Equivalent and Simplifying (1-2 days)

Introduction to Fractions, Equivalent and Simplifying (1-2 days) Introduction to Fractions, Equivalent and Simplifying (1-2 days) 1. Fraction 2. Numerator 3. Denominator 4. Equivalent 5. Simplest form Real World Examples: 1. Fractions in general, why and where we use

More information

A binary heap is a complete binary tree, where each node has a higher priority than its children. This is called heap-order property

A binary heap is a complete binary tree, where each node has a higher priority than its children. This is called heap-order property CmSc 250 Intro to Algorithms Chapter 6. Transform and Conquer Binary Heaps 1. Definition A binary heap is a complete binary tree, where each node has a higher priority than its children. This is called

More information

International Journal of Advanced Research in Computer Science and Software Engineering

International Journal of Advanced Research in Computer Science and Software Engineering Volume 3, Issue 7, July 23 ISSN: 2277 28X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Greedy Algorithm:

More information

EXAMPLES OF ASSIGNING DEPTH-OF-KNOWLEDGE LEVELS ALIGNMENT ANALYSIS CCSSO TILSA ALIGNMENT STUDY May 21-24, 2001 version 2.0

EXAMPLES OF ASSIGNING DEPTH-OF-KNOWLEDGE LEVELS ALIGNMENT ANALYSIS CCSSO TILSA ALIGNMENT STUDY May 21-24, 2001 version 2.0 EXAMPLES OF ASSIGNING DEPTH-OF-KNOWLEDGE LEVELS ALIGNMENT ANALYSIS CCSSO TILSA ALIGNMENT STUDY May 21-24, 2001 version 2.0 Level 1 Recall Recall of a fact, information or procedure Example 1:1 Grade 8

More information

Computer Science 281 Binary and Hexadecimal Review

Computer Science 281 Binary and Hexadecimal Review Computer Science 281 Binary and Hexadecimal Review 1 The Binary Number System Computers store everything, both instructions and data, by using many, many transistors, each of which can be in one of two

More information

Math 202-0 Quizzes Winter 2009

Math 202-0 Quizzes Winter 2009 Quiz : Basic Probability Ten Scrabble tiles are placed in a bag Four of the tiles have the letter printed on them, and there are two tiles each with the letters B, C and D on them (a) Suppose one tile

More information

Lab 11. Simulations. The Concept

Lab 11. Simulations. The Concept Lab 11 Simulations In this lab you ll learn how to create simulations to provide approximate answers to probability questions. We ll make use of a particular kind of structure, called a box model, that

More information

NF5-12 Flexibility with Equivalent Fractions and Pages 110 112

NF5-12 Flexibility with Equivalent Fractions and Pages 110 112 NF5- Flexibility with Equivalent Fractions and Pages 0 Lowest Terms STANDARDS preparation for 5.NF.A., 5.NF.A. Goals Students will equivalent fractions using division and reduce fractions to lowest terms.

More information

Problem of the Month: Fair Games

Problem of the Month: Fair Games Problem of the Month: The Problems of the Month (POM) are used in a variety of ways to promote problem solving and to foster the first standard of mathematical practice from the Common Core State Standards:

More information

Sue Fine Linn Maskell

Sue Fine Linn Maskell FUN + GAMES = MATHS Sue Fine Linn Maskell Teachers are often concerned that there isn t enough time to play games in maths classes. But actually there is time to play games and we need to make sure that

More information

Math Games For Skills and Concepts

Math Games For Skills and Concepts Math Games p.1 Math Games For Skills and Concepts Original material 2001-2006, John Golden, GVSU permission granted for educational use Other material copyright: Investigations in Number, Data and Space,

More information

Betting Best-Of Series

Betting Best-Of Series Betting Best-Of Series John Mount May 7, 8 Introduction We use the United States Major League Baseball World Series to demonstrate some of the arbitrage arguments used in mathematical finance. This problem

More information

Decimals and Percentages

Decimals and Percentages Decimals and Percentages Specimen Worksheets for Selected Aspects Paul Harling b recognise the number relationship between coordinates in the first quadrant of related points Key Stage 2 (AT2) on a line

More information

Algorithms and Data Structures

Algorithms and Data Structures Algorithms and Data Structures Part 2: Data Structures PD Dr. rer. nat. habil. Ralf-Peter Mundani Computation in Engineering (CiE) Summer Term 2016 Overview general linked lists stacks queues trees 2 2

More information

Chapter 4: Computer Codes

Chapter 4: Computer Codes Slide 1/30 Learning Objectives In this chapter you will learn about: Computer data Computer codes: representation of data in binary Most commonly used computer codes Collating sequence 36 Slide 2/30 Data

More information

Grade 4 - Module 5: Fraction Equivalence, Ordering, and Operations

Grade 4 - Module 5: Fraction Equivalence, Ordering, and Operations Grade 4 - Module 5: Fraction Equivalence, Ordering, and Operations Benchmark (standard or reference point by which something is measured) Common denominator (when two or more fractions have the same denominator)

More information

MATHEMATICS: REPEATING AND GROWING PATTERNS First Grade. Kelsey McMahan. Winter 2012 Creative Learning Experiences

MATHEMATICS: REPEATING AND GROWING PATTERNS First Grade. Kelsey McMahan. Winter 2012 Creative Learning Experiences MATHEMATICS: REPEATING AND GROWING PATTERNS Kelsey McMahan Winter 2012 Creative Learning Experiences Without the arts, education is ineffective. Students learn more and remember it longer when they are

More information

Unit 1 Number Sense. In this unit, students will study repeating decimals, percents, fractions, decimals, and proportions.

Unit 1 Number Sense. In this unit, students will study repeating decimals, percents, fractions, decimals, and proportions. Unit 1 Number Sense In this unit, students will study repeating decimals, percents, fractions, decimals, and proportions. BLM Three Types of Percent Problems (p L-34) is a summary BLM for the material

More information

POLYNOMIAL FUNCTIONS

POLYNOMIAL FUNCTIONS POLYNOMIAL FUNCTIONS Polynomial Division.. 314 The Rational Zero Test.....317 Descarte s Rule of Signs... 319 The Remainder Theorem.....31 Finding all Zeros of a Polynomial Function.......33 Writing a

More information

Session 7 Fractions and Decimals

Session 7 Fractions and Decimals Key Terms in This Session Session 7 Fractions and Decimals Previously Introduced prime number rational numbers New in This Session period repeating decimal terminating decimal Introduction In this session,

More information

Base Conversion written by Cathy Saxton

Base Conversion written by Cathy Saxton Base Conversion written by Cathy Saxton 1. Base 10 In base 10, the digits, from right to left, specify the 1 s, 10 s, 100 s, 1000 s, etc. These are powers of 10 (10 x ): 10 0 = 1, 10 1 = 10, 10 2 = 100,

More information

Maths Targets for pupils in Year 2

Maths Targets for pupils in Year 2 Maths Targets for pupils in Year 2 A booklet for parents Help your child with mathematics For additional information on the agreed calculation methods, please see the school website. ABOUT THE TARGETS

More information

MATHEMATICS GRADE 2 Extension Projects

MATHEMATICS GRADE 2 Extension Projects MATHEMATICS GRADE 2 Extension Projects WITH INVESTIGATIONS 2009 These projects are optional and are meant to be a springboard for ideas to enhance the Investigations curriculum. Use them to help your students

More information

FAQ Exodus Proxima Centauri 07/2013

FAQ Exodus Proxima Centauri 07/2013 Resources & Population Q: Do I pay tax for the resources I had before together with the new ones? A: No, it is a tax per income, not per fortune. You pay tax for what you get fresh that turn. Q: My stash

More information

6 3 4 9 = 6 10 + 3 10 + 4 10 + 9 10

6 3 4 9 = 6 10 + 3 10 + 4 10 + 9 10 Lesson The Binary Number System. Why Binary? The number system that you are familiar with, that you use every day, is the decimal number system, also commonly referred to as the base- system. When you

More information

Scheduling. Getting Started. Scheduling 79

Scheduling. Getting Started. Scheduling 79 Scheduling 9 Scheduling An event planner has to juggle many workers completing different tasks, some of which must be completed before others can begin. For example, the banquet tables would need to be

More information

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored? Inside the CPU how does the CPU work? what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored? some short, boring programs to illustrate the

More information

Square Roots and the Pythagorean Theorem

Square Roots and the Pythagorean Theorem 4.8 Square Roots and the Pythagorean Theorem 4.8 OBJECTIVES 1. Find the square root of a perfect square 2. Use the Pythagorean theorem to find the length of a missing side of a right triangle 3. Approximate

More information

Formal Languages and Automata Theory - Regular Expressions and Finite Automata -

Formal Languages and Automata Theory - Regular Expressions and Finite Automata - Formal Languages and Automata Theory - Regular Expressions and Finite Automata - Samarjit Chakraborty Computer Engineering and Networks Laboratory Swiss Federal Institute of Technology (ETH) Zürich March

More information

Comparing Fractions Objective To provide practice ordering sets of fractions.

Comparing Fractions Objective To provide practice ordering sets of fractions. Comparing Fractions Objective To provide practice ordering sets of fractions. www.everydaymathonline.com epresentations etoolkit Algorithms Practice EM Facts Workshop Game Family Letters Assessment Management

More information

6.3 Conditional Probability and Independence

6.3 Conditional Probability and Independence 222 CHAPTER 6. PROBABILITY 6.3 Conditional Probability and Independence Conditional Probability Two cubical dice each have a triangle painted on one side, a circle painted on two sides and a square painted

More information

Force and Motion: Ramp It Up

Force and Motion: Ramp It Up Force and Motion: Grade Level: 4-5 Time: 3 class periods By: Carrie D. Perry (Bedford County Public Schools) Overview After watching an engaging video on Olympic alpine skiers, students then participate

More information

(Refer Slide Time: 2:03)

(Refer Slide Time: 2:03) Control Engineering Prof. Madan Gopal Department of Electrical Engineering Indian Institute of Technology, Delhi Lecture - 11 Models of Industrial Control Devices and Systems (Contd.) Last time we were

More information

Reading 13 : Finite State Automata and Regular Expressions

Reading 13 : Finite State Automata and Regular Expressions CS/Math 24: Introduction to Discrete Mathematics Fall 25 Reading 3 : Finite State Automata and Regular Expressions Instructors: Beck Hasti, Gautam Prakriya In this reading we study a mathematical model

More information

Baseball Multiplication Objective To practice multiplication facts.

Baseball Multiplication Objective To practice multiplication facts. Baseball Multiplication Objective To practice multiplication facts. www.everydaymathonline.com epresentations etoolkit Algorithms Practice EM Facts Workshop Game Family Letters Assessment Management Common

More information

We can express this in decimal notation (in contrast to the underline notation we have been using) as follows: 9081 + 900b + 90c = 9001 + 100c + 10b

We can express this in decimal notation (in contrast to the underline notation we have been using) as follows: 9081 + 900b + 90c = 9001 + 100c + 10b In this session, we ll learn how to solve problems related to place value. This is one of the fundamental concepts in arithmetic, something every elementary and middle school mathematics teacher should

More information

Everyday Math Online Games (Grades 1 to 3)

Everyday Math Online Games (Grades 1 to 3) Everyday Math Online Games (Grades 1 to 3) FOR ALL GAMES At any time, click the Hint button to find out what to do next. Click the Skip Directions button to skip the directions and begin playing the game.

More information

25 Integers: Addition and Subtraction

25 Integers: Addition and Subtraction 25 Integers: Addition and Subtraction Whole numbers and their operations were developed as a direct result of people s need to count. But nowadays many quantitative needs aside from counting require numbers

More information

Objectives To review making ballpark estimates; and to review the counting-up and trade-first subtraction algorithms. materials. materials.

Objectives To review making ballpark estimates; and to review the counting-up and trade-first subtraction algorithms. materials. materials. Objectives To review making ballpark estimates; and to review the counting-up and trade-first subtraction algorithms. Teaching the Lesson materials Key Activities Children make ballpark estimates for -digit

More information

Decision Making under Uncertainty

Decision Making under Uncertainty 6.825 Techniques in Artificial Intelligence Decision Making under Uncertainty How to make one decision in the face of uncertainty Lecture 19 1 In the next two lectures, we ll look at the question of how

More information

The theory of the six stages of learning with integers (Published in Mathematics in Schools, Volume 29, Number 2, March 2000) Stage 1

The theory of the six stages of learning with integers (Published in Mathematics in Schools, Volume 29, Number 2, March 2000) Stage 1 The theory of the six stages of learning with integers (Published in Mathematics in Schools, Volume 29, Number 2, March 2000) Stage 1 Free interaction In the case of the study of integers, this first stage

More information

Network (Tree) Topology Inference Based on Prüfer Sequence

Network (Tree) Topology Inference Based on Prüfer Sequence Network (Tree) Topology Inference Based on Prüfer Sequence C. Vanniarajan and Kamala Krithivasan Department of Computer Science and Engineering Indian Institute of Technology Madras Chennai 600036 vanniarajanc@hcl.in,

More information

Lesson 26: Reflection & Mirror Diagrams

Lesson 26: Reflection & Mirror Diagrams Lesson 26: Reflection & Mirror Diagrams The Law of Reflection There is nothing really mysterious about reflection, but some people try to make it more difficult than it really is. All EMR will reflect

More information

Practice Problems for Homework #8. Markov Chains. Read Sections 7.1-7.3. Solve the practice problems below.

Practice Problems for Homework #8. Markov Chains. Read Sections 7.1-7.3. Solve the practice problems below. Practice Problems for Homework #8. Markov Chains. Read Sections 7.1-7.3 Solve the practice problems below. Open Homework Assignment #8 and solve the problems. 1. (10 marks) A computer system can operate

More information

Probability and Expected Value

Probability and Expected Value Probability and Expected Value This handout provides an introduction to probability and expected value. Some of you may already be familiar with some of these topics. Probability and expected value are

More information

Lesson 4 What Is a Plant s Life Cycle? The Seasons of a Tree

Lesson 4 What Is a Plant s Life Cycle? The Seasons of a Tree Lesson 4 What Is a Plant s Life Cycle? The Seasons of a Tree STUDENT SKILLS: predicting, communicating prior observations and knowledge, listening, cooperating, observing, sequencing, communicating, reasoning,

More information

Adding & Subtracting Integers

Adding & Subtracting Integers WARDEN AVE P.S. Adding & Subtracting Integers Number Sense & Numeration Unit #1 Grade 7 Math 2014-2015 School Year This mini-unit will run from September 15-26 and must be handed in on Friday Sept. 26th

More information

Welcome to Basic Math Skills!

Welcome to Basic Math Skills! Basic Math Skills Welcome to Basic Math Skills! Most students find the math sections to be the most difficult. Basic Math Skills was designed to give you a refresher on the basics of math. There are lots

More information

1000-Grid Banner Set. This Really Good Stuff product includes: 1000-Grid Banner Set This Really Good Stuff Activity Guide

1000-Grid Banner Set. This Really Good Stuff product includes: 1000-Grid Banner Set This Really Good Stuff Activity Guide 1000-Grid Banner Set This Really Good Stuff product includes: 1000-Grid Banner Set This Really Good Stuff Activity Guide Congratulations on your purchase of this Really Good Stuff 1000-Grid Banner Set

More information

Chapter 6. 1. What is the probability that a card chosen from an ordinary deck of 52 cards is an ace? Ans: 4/52.

Chapter 6. 1. What is the probability that a card chosen from an ordinary deck of 52 cards is an ace? Ans: 4/52. Chapter 6 1. What is the probability that a card chosen from an ordinary deck of 52 cards is an ace? 4/52. 2. What is the probability that a randomly selected integer chosen from the first 100 positive

More information

5 Mathematics Curriculum

5 Mathematics Curriculum New York State Common Core 5 Mathematics Curriculum G R A D E GRADE 5 MODULE 1 Topic C Place Value and Rounding Decimal Fractions 5.NBT.4 Focus Standard: 5.NBT.4 Use place value understanding to round

More information

20 CODE CHALLENGES. GCSE (9 1) Computer Science GCSE REFORM. February 2015

20 CODE CHALLENGES. GCSE (9 1) Computer Science GCSE REFORM. February 2015 February 2015 GCSE (9 1) Computer Science GCSE REFORM We will inform centres about any changes to the specification. We will also publish changes on our website. The latest version of our specification

More information

Question of the Day. Key Concepts. Vocabulary. Mathematical Ideas. QuestionofDay

Question of the Day. Key Concepts. Vocabulary. Mathematical Ideas. QuestionofDay QuestionofDay Question of the Day What is the probability that in a family with two children, both are boys? What is the probability that in a family with two children, both are boys, if we already know

More information

Analysis of Algorithms I: Binary Search Trees

Analysis of Algorithms I: Binary Search Trees Analysis of Algorithms I: Binary Search Trees Xi Chen Columbia University Hash table: A data structure that maintains a subset of keys from a universe set U = {0, 1,..., p 1} and supports all three dictionary

More information

1. Define: (a) Variable, (b) Constant, (c) Type, (d) Enumerated Type, (e) Identifier.

1. Define: (a) Variable, (b) Constant, (c) Type, (d) Enumerated Type, (e) Identifier. Study Group 1 Variables and Types 1. Define: (a) Variable, (b) Constant, (c) Type, (d) Enumerated Type, (e) Identifier. 2. What does the byte 00100110 represent? 3. What is the purpose of the declarations

More information

GOD S BIG STORY Week 1: Creation God Saw That It Was Good 1. LEADER PREPARATION

GOD S BIG STORY Week 1: Creation God Saw That It Was Good 1. LEADER PREPARATION This includes: 1. Leader Preparation 2. Lesson Guide GOD S BIG STORY Week 1: Creation God Saw That It Was Good 1. LEADER PREPARATION LESSON OVERVIEW Exploring the first two chapters of Genesis provides

More information

CSI 333 Lecture 1 Number Systems

CSI 333 Lecture 1 Number Systems CSI 333 Lecture 1 Number Systems 1 1 / 23 Basics of Number Systems Ref: Appendix C of Deitel & Deitel. Weighted Positional Notation: 192 = 2 10 0 + 9 10 1 + 1 10 2 General: Digit sequence : d n 1 d n 2...

More information

Change Number Stories Objective To guide children as they use change diagrams to help solve change number stories.

Change Number Stories Objective To guide children as they use change diagrams to help solve change number stories. Number Stories Objective To guide children as they use change diagrams to help solve change number stories. www.everydaymathonline.com epresentations etoolkit Algorithms Practice EM Facts Workshop Game

More information

California Treasures High-Frequency Words Scope and Sequence K-3

California Treasures High-Frequency Words Scope and Sequence K-3 California Treasures High-Frequency Words Scope and Sequence K-3 Words were selected using the following established frequency lists: (1) Dolch 220 (2) Fry 100 (3) American Heritage Top 150 Words in English

More information

Five daily lessons. Page 8 Page 8. Page 12. Year 2

Five daily lessons. Page 8 Page 8. Page 12. Year 2 Unit 2 Place value and ordering Year 1 Spring term Unit Objectives Year 1 Read and write numerals from 0 to at least 20. Begin to know what each digit in a two-digit number represents. Partition a 'teens'

More information

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 10

Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 10 CS 70 Discrete Mathematics and Probability Theory Fall 2009 Satish Rao, David Tse Note 10 Introduction to Discrete Probability Probability theory has its origins in gambling analyzing card games, dice,

More information

26 Integers: Multiplication, Division, and Order

26 Integers: Multiplication, Division, and Order 26 Integers: Multiplication, Division, and Order Integer multiplication and division are extensions of whole number multiplication and division. In multiplying and dividing integers, the one new issue

More information

Using games to support. Win-Win Math Games. by Marilyn Burns

Using games to support. Win-Win Math Games. by Marilyn Burns 4 Win-Win Math Games by Marilyn Burns photos: bob adler Games can motivate students, capture their interest, and are a great way to get in that paperand-pencil practice. Using games to support students

More information

Probabilistic Strategies: Solutions

Probabilistic Strategies: Solutions Probability Victor Xu Probabilistic Strategies: Solutions Western PA ARML Practice April 3, 2016 1 Problems 1. You roll two 6-sided dice. What s the probability of rolling at least one 6? There is a 1

More information

Using Proportions to Solve Percent Problems I

Using Proportions to Solve Percent Problems I RP7-1 Using Proportions to Solve Percent Problems I Pages 46 48 Standards: 7.RP.A. Goals: Students will write equivalent statements for proportions by keeping track of the part and the whole, and by solving

More information

Find-The-Number. 1 Find-The-Number With Comps

Find-The-Number. 1 Find-The-Number With Comps Find-The-Number 1 Find-The-Number With Comps Consider the following two-person game, which we call Find-The-Number with Comps. Player A (for answerer) has a number x between 1 and 1000. Player Q (for questioner)

More information

Five daily lessons. Pages 24, 28. Page 32. Page 60. Year 2

Five daily lessons. Pages 24, 28. Page 32. Page 60. Year 2 Unit 4 Addition and subtraction Five daily lessons Year 1 Autumn term Unit Objectives Understand the operation of ition and of subtraction (as take away, difference and how many more to make ), and use

More information

Alignment of the Hawaii Preschool Content Standards With HighScope s Preschool Child Observation Record (COR), 2nd edition

Alignment of the Hawaii Preschool Content Standards With HighScope s Preschool Child Observation Record (COR), 2nd edition Alignment of the Hawaii Preschool Content Standards With HighScope s Preschool Child Observation Record (COR), 2nd edition The following chart shows how items from the Hawaii Preschool Content Standards

More information

Converting a Number from Decimal to Binary

Converting a Number from Decimal to Binary Converting a Number from Decimal to Binary Convert nonnegative integer in decimal format (base 10) into equivalent binary number (base 2) Rightmost bit of x Remainder of x after division by two Recursive

More information

Class Notes CS 3137. 1 Creating and Using a Huffman Code. Ref: Weiss, page 433

Class Notes CS 3137. 1 Creating and Using a Huffman Code. Ref: Weiss, page 433 Class Notes CS 3137 1 Creating and Using a Huffman Code. Ref: Weiss, page 433 1. FIXED LENGTH CODES: Codes are used to transmit characters over data links. You are probably aware of the ASCII code, a fixed-length

More information

Grade 7 Mathematics. Unit 2. Integers. Estimated Time: 15 Hours

Grade 7 Mathematics. Unit 2. Integers. Estimated Time: 15 Hours Grade 7 Mathematics Integers Estimated Time: 15 Hours [C] Communication [CN] Connections [ME] Mental Mathematics and Estimation [PS] Problem Solving [R] Reasoning [T] Technology [V] Visualization Grade

More information

Paper Reference. Ruler graduated in centimetres and millimetres, protractor, compasses, pen, HB pencil, eraser, calculator. Tracing paper may be used.

Paper Reference. Ruler graduated in centimetres and millimetres, protractor, compasses, pen, HB pencil, eraser, calculator. Tracing paper may be used. Centre No. Candidate No. Paper Reference 1 3 8 0 2 F Paper Reference(s) 1380/2F Edexcel GCSE Mathematics (Linear) 1380 Paper 2 (Calculator) Foundation Tier Friday 12 November 2010 Morning Time: 1 hour

More information

Count the Dots Binary Numbers

Count the Dots Binary Numbers Activity 1 Count the Dots Binary Numbers Summary Data in computers is stored and transmitted as a series of zeros and ones. How can we represent words and numbers using just these two symbols? Curriculum

More information

TCM040 MSOM NEW:TCM040 MSOM 01/07/2009 12:13 Page 1. A book of games to play with children

TCM040 MSOM NEW:TCM040 MSOM 01/07/2009 12:13 Page 1. A book of games to play with children TCM040 MSOM NEW:TCM040 MSOM 01/07/2009 12:13 Page 1 A book of games to play with children TCM040 MSOM NEW:TCM040 MSOM 01/07/2009 12:13 Page 2 Contents About this book 3 Find the hidden money 4 Money box

More information

Responsible Gambling Model at Veikkaus

Responsible Gambling Model at Veikkaus Paper 10401-2016 Responsible Gambling Model at Veikkaus Tero Kallioniemi, Veikkaus Oy ABSTRACT Veikkaus is a state-owned gambling and lottery company in Finland that has a national legalized monopoly in

More information

The Taxman Game. Robert K. Moniot September 5, 2003

The Taxman Game. Robert K. Moniot September 5, 2003 The Taxman Game Robert K. Moniot September 5, 2003 1 Introduction Want to know how to beat the taxman? Legally, that is? Read on, and we will explore this cute little mathematical game. The taxman game

More information

4 Mathematics Curriculum

4 Mathematics Curriculum New York State Common Core 4 Mathematics Curriculum G R A D E GRADE 4 MODULE 1 Topic F Addition and Subtraction Word Problems 4.OA.3, 4.NBT.1, 4.NBT.2, 4.NBT.4 Focus Standard: 4.OA.3 Solve multistep word

More information

C H A P T E R Regular Expressions regular expression

C H A P T E R Regular Expressions regular expression 7 CHAPTER Regular Expressions Most programmers and other power-users of computer systems have used tools that match text patterns. You may have used a Web search engine with a pattern like travel cancun

More information

Pythagoras Theorem. Page I can... 1... identify and label right-angled triangles. 2... explain Pythagoras Theorem. 4... calculate the hypotenuse

Pythagoras Theorem. Page I can... 1... identify and label right-angled triangles. 2... explain Pythagoras Theorem. 4... calculate the hypotenuse Pythagoras Theorem Page I can... 1... identify and label right-angled triangles 2... eplain Pythagoras Theorem 4... calculate the hypotenuse 5... calculate a shorter side 6... determine whether a triangle

More information

6 Creating the Animation

6 Creating the Animation 6 Creating the Animation Now that the animation can be represented, stored, and played back, all that is left to do is understand how it is created. This is where we will use genetic algorithms, and this

More information

Information Theory and Coding Prof. S. N. Merchant Department of Electrical Engineering Indian Institute of Technology, Bombay

Information Theory and Coding Prof. S. N. Merchant Department of Electrical Engineering Indian Institute of Technology, Bombay Information Theory and Coding Prof. S. N. Merchant Department of Electrical Engineering Indian Institute of Technology, Bombay Lecture - 17 Shannon-Fano-Elias Coding and Introduction to Arithmetic Coding

More information

Zero-knowledge games. Christmas Lectures 2008

Zero-knowledge games. Christmas Lectures 2008 Security is very important on the internet. You often need to prove to another person that you know something but without letting them know what the information actually is (because they could just copy

More information

Assessment For The California Mathematics Standards Grade 6

Assessment For The California Mathematics Standards Grade 6 Introduction: Summary of Goals GRADE SIX By the end of grade six, students have mastered the four arithmetic operations with whole numbers, positive fractions, positive decimals, and positive and negative

More information

Digital System Design Prof. D Roychoudhry Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur

Digital System Design Prof. D Roychoudhry Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Digital System Design Prof. D Roychoudhry Department of Computer Science and Engineering Indian Institute of Technology, Kharagpur Lecture - 04 Digital Logic II May, I before starting the today s lecture

More information

Prerequisite knowledge Students should have a good understanding of how our decimal number system works as well as understand place value.

Prerequisite knowledge Students should have a good understanding of how our decimal number system works as well as understand place value. CSP Number Systems Mrs., GA Lesson Overview Learning Objectives and Evidence Statements 2.1.2 Explain how binary sequences are used to represent digital data. [P5] Prerequisite knowledge Students should

More information

8.3 Probability Applications of Counting Principles

8.3 Probability Applications of Counting Principles 8. Probability Applications of Counting Principles In this section, we will see how we can apply the counting principles from the previous two sections in solving probability problems. Many of the probability

More information