Problems. Regional Competition - Juniors Croatia Problem SONG JANICA LETTERS TRAM. Executable file song.exe janica.exe letters.exe tram.

Size: px
Start display at page:

Download "Problems. Regional Competition - Juniors Croatia 2002. Problem SONG JANICA LETTERS TRAM. Executable file song.exe janica.exe letters.exe tram."

Transcription

1 Problems Problem SONG JANICA LETTERS TRAM Executable file song.exe janica.exe letters.exe tram.exe Source file song.pas song.c song.cpp janica.pas janica.c janica.cpp letters.pas letters.c letters.cpp tram.pas tram.c tram.cpp Input file song.in janica.in letters.in tram.in Output file song.out janica.out letters.out tram.out Time limit per test Number of tests Points per test Total points

2 SONG A song consists of one or more verses, and each verse consists of four lines. Each line consists of one or more words separated by single blank character, and finally, each word consists of one or more letters (a-z, A-Z). We define the last syllable of a word to be the sequence of letters from the last vowel (inclusively) to the end of the word. If a word has no vowel, then the last syllable is the word itself. We say that two lines rhyme if they have same last syllables (ignoring the letter case). Verse can have perfect rhyme, even rhyme, cross rhyme, shell rhyme or there can be no rhyme at all (free rhyme). Verse has a perfect rhyme if all lines in a verse mutually rhyme (a a a a). If verse does not have a perfect rhyme then we say that it has: even rhyme: if the first and second line rhyme and also third and fourth line rhyme (a a b b). cross rhyme: if the first and third line rhyme and also second and fourth line rhyme (a b a b). shell rhyme: if the first and fourth line rhyme and also second and third line rhyme (a b b a). Write a program that will determine the rhyme for each verse in a song. The first line of the input file contains an integer N, the number of verses in the song, N 5. The following 4N lines of the input file contain the lines of the song. Maximal length of each line is 50. Output file should have N lines. For each verse in a song there should a single line containing one of the words 'perfect', 'even', 'cross', 'shell' or 'free' describing the rhyme in that verse. song.in mi smo Super Edit Pjaf Ran gari geri kuper ej pazi na ekran song.out cross song.in 2 Tko je to to je Zlo nije Zlo to je Mo Gdje je Mu jel na putu Brijem da nije vidlo bi se song.out perfect even song.in 2 mirko me ozbiljno zanima e dok ovo pisem drhtim placem ali znam da i ja mogu racunati na to ma znate sram me sapce da i ja njega mamim song.out even free

3 JANICA Watching alpine skiing on TV can be really boring sometimes. Fortunately, it can happen that your TV operator doesn t show all the information about the race and then you have to do some computation to determine the winner yourself. Here are some details about a race: Each race consists of two rounds. In first round, N skiers numbered from to N, race starting in that order. When the first skier in the first round (numbered with ) finishes the race we are given the time he/she needed to complete the course. For every following skier we are given time difference between his/her time and the time of the skier currently leading the race. Only the best M skiers qualify for the second round and they start the second round ordered by time from the first round decreasingly (last skier qualified for the second round starts first and the leader after the first round start last). In the second round we are given the total time (first and second round added) of the first skier racing, and then for every following skier we are given the time difference between his/her total time and the total time of the skier currently leading the race. Write a program that will determine medal winners after the race has finished. You can assume that it can never happen that two skiers have same time (after the first round or after both rounds). Time for any race will be between 0 and 300. All times will be real numbers with at most two decimal digits. The first line of the input file contains two integers N and M, separated by a single blank character, 3 M N 00. The following line contains the time for the first skier in the first round, and the following N- lines contain the described time differences. The following line contains the time for the first skier in the second round, and the following M- lines contain the described time differences.

4 JANICA The first line of the output file should contain the number of the skier winning the gold medal, second line the number of skier winning the silver medal, and the third line the number of skier winning the bronze medal. janica.in janica.out 3 2 janica.in janica.out 4 3 janica.in janica.out 5 4

5 LETTERS A single-player game is played on a rectangular board divided in R rows and C columns. There is a single uppercase letter (A-Z) written in every position in the board. Before the begging of the game there is a figure in the upper-left corner of the board (first row, first column). In every move, a player can move the figure to the one of the adjacent positions (up, down, left or right). Only constraint is that a figure cannot visit a position marked with the same letter twice. The goal of the game is to play as many moves as possible. Write a program that will calculate the maximal number of positions in the board the figure can visit in a single game. The first line of the input file contains two integers R and C, separated by a single blank character, R, S 20. The following R lines contain S characters each. Each line represents one row in the board. The first and only line of the output file should contain the maximal number of position in the board the figure can visit. letters.in 2 4 CAAB ADCB letters.out 3 letters.in 3 6 HFDFFB AJHGDH DGAGEH letters.out 6 letters.in 5 5 IEFCJ FHFKC FFALF HFGCF HMCHH letters.out 0

6 TRAM Tram network in Zagreb consists of a number of intersections and rails connecting some of them. In every intersection there is a switch pointing to the one of the rails going out of the intersection. When the tram enters the intersection it can leave only in the direction the switch is pointing. If the driver wants to go some other way, he/she has to manually change the switch. When a driver has do drive from intersection A to the intersection B he/she tries to choose the route that will minimize the number of times he/she will have to change the switches manually. Write a program that will calculate the minimal number of switch changes necessary to travel from intersection A to intersection B. The first line of the input file contains integers N, A and B, separated by a single blank character, 2 N 00, A, B N, N is the number of intersections in the network, and intersections are numbered from to N. Each of the following N lines contain a sequence of integers separated by a single blank character. First number in the i-th line, K i (0 K i N-), represents the number of rails going out of the i-th intersection. Next K i numbers represents the intersections directly connected to the i-th intersection. Switch in the i-th intersection is initially pointing in the direction of the first intersection listed. The first and only line of the output file should contain the target minimal number. If there is no route from A to B the line should contain the integer -. tram.in tram.out 0 tram.in tram.out tram.in tram.out -

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

SCORESHEET INSTRUCTIONS. RALLY POINT SCORING (RPS 2 out of 3 sets)

SCORESHEET INSTRUCTIONS. RALLY POINT SCORING (RPS 2 out of 3 sets) RALLY POINT SCORING (RPS 2 out of 3 sets) 1. BEFORE THE MATCH a) On the upper part of the first page of the scoresheet 1.1 Name of the competition 1.2 Match number (from the daily schedule): 1.3 Site (city)

More information

SCORESHEET INSTRUCTIONS. RALLY POINT SCORING (RPS 2 out of 3 sets)

SCORESHEET INSTRUCTIONS. RALLY POINT SCORING (RPS 2 out of 3 sets) RALLY POINT SCORING (RPS 2 out of 3 sets) 1. BEFORE THE MATCH a) On the upper part of the first page of the scoresheet 1.1 Name of the competition 1.2 Match number (from the daily schedule): 1.3 Site (city)

More information

Activities for parents to support the learning of multiplication tables

Activities for parents to support the learning of multiplication tables Activities for parents to support the learning of multiplication tables There are many times table games available on line which will help children to recall times tables and division facts. You can also

More information

Spaceball7. Manual Outlet Version 1

Spaceball7. Manual Outlet Version 1 Spaceball7 Manual Outlet Version 1 Table of contents 1 Spaceball7 Main View...3 2 Bingo-Mode... 4 3 Spaceball7 special bets ("Super7")...5 4 Bet slip... 6 5 Spaceball7 draw...7 6 Display of past drawing

More information

How To Play The Math Game

How To Play The Math Game Game Information 1 Introduction Math is an activity that is perfect for reviewing key mathematics vocabulary in a unit of study. It can also be used to review any type of mathematics problem. Math provides

More information

MATHEMATICS Y6 Geometry 6750 Use co-ordinates and extend to 4 quadrants Equipment MathSphere www.mathsphere.co.uk

MATHEMATICS Y6 Geometry 6750 Use co-ordinates and extend to 4 quadrants Equipment MathSphere www.mathsphere.co.uk MATHEMATICS Y6 Geometry 675 Use co-ordinates and etend to quadrants Paper, pencil, ruler Equipment MathSphere 675 Use co-ordinates and etend to quadrants. Page Concepts Children should be familiar with

More information

Collection of Backyard Games and Activities

Collection of Backyard Games and Activities Collection of Backyard Games and Activities Dribbling Yard Dribble -Around your yard, scatter cones, tin cans, towels, etc throughout the yard. You will then dribble from cone-cone. Examples: a) Dribble

More information

family games Taking the kids swimming is a great way of making sure they re moving around and having fun. And to help you get them into

family games Taking the kids swimming is a great way of making sure they re moving around and having fun. And to help you get them into swim family games Taking the kids swimming is a great way of making sure they re moving around and having fun. And to help you get them into the pool, we ve come up with loads of great swimming games to

More information

Sport Timetabling. Outline DM87 SCHEDULING, TIMETABLING AND ROUTING. Outline. Lecture 15. 1. Problem Definitions

Sport Timetabling. Outline DM87 SCHEDULING, TIMETABLING AND ROUTING. Outline. Lecture 15. 1. Problem Definitions Outline DM87 SCHEDULING, TIMETABLING AND ROUTING Lecture 15 Sport Timetabling 1. Problem Definitions Marco Chiarandini DM87 Scheduling, Timetabling and Routing 2 Problems we treat: single and double round-robin

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

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

Hooray for the Hundreds Chart!!

Hooray for the Hundreds Chart!! Hooray for the Hundreds Chart!! The hundreds chart consists of a grid of numbers from 1 to 100, with each row containing a group of 10 numbers. As a result, children using this chart can count across rows

More information

Probability. Section 9. Probability. Probability of A = Number of outcomes for which A happens Total number of outcomes (sample space)

Probability. Section 9. Probability. Probability of A = Number of outcomes for which A happens Total number of outcomes (sample space) Probability Section 9 Probability Probability of A = Number of outcomes for which A happens Total number of outcomes (sample space) In this section we summarise the key issues in the basic probability

More information

1. Three-Color Light. Introduction to Three-Color Light. Chapter 1. Adding Color Pigments. Difference Between Pigments and Light. Adding Color Light

1. Three-Color Light. Introduction to Three-Color Light. Chapter 1. Adding Color Pigments. Difference Between Pigments and Light. Adding Color Light 1. Three-Color Light Chapter 1 Introduction to Three-Color Light Many of us were taught at a young age that the primary colors are red, yellow, and blue. Our early experiences with color mixing were blending

More information

Game 1 - The Elephant Builder. Game 2 - Elephant Bazar

Game 1 - The Elephant Builder. Game 2 - Elephant Bazar Game 1 - The Elephant Builder For one player of age 4 and older Have you built an elephant before? Now you may try. Just pour all 36 tiles out of the box and you will see that you can use them to build

More information

PERMUTATIONS and COMBINATIONS. If the order doesn't matter, it is a Combination. If the order does matter it is a Permutation.

PERMUTATIONS and COMBINATIONS. If the order doesn't matter, it is a Combination. If the order does matter it is a Permutation. Page 1 PERMUTATIONS and COMBINATIONS If the order doesn't matter, it is a Combination. If the order does matter it is a Permutation. PRACTICE! Determine whether each of the following situations is a Combination

More information

Lowercase Letters Capital Letters Picture Cards

Lowercase Letters Capital Letters Picture Cards Lowercase Letters Capital Letters Picture Cards Notes: You may want to cut out the flashcards and mount them on heavier paper for durability and ease of use. Rather than drilling through the cards (boring

More information

Decision Logic: if, if else, switch, Boolean conditions and variables

Decision Logic: if, if else, switch, Boolean conditions and variables CS 1044 roject 3 Fall 2009 Decision Logic: if, if else, switch, Boolean conditions and variables This programming assignment uses many of the ideas presented in sections 3 through 5 of the Dale/Weems text

More information

Greg Fletcher. Sharpshooter Roulette. Video Guide. Russell Hunter Publishing, Inc.

Greg Fletcher. Sharpshooter Roulette. Video Guide. Russell Hunter Publishing, Inc. Greg Fletcher Sharpshooter Roulette Video Guide Russell Hunter Publishing, Inc. Sharpshooter Roulette Video Guide 2015 Greg Fletcher and Russell Hunter Publishing. All Rights Reserved All rights reserved.

More information

RULE 2012 EUROPEAN CLIMBING COMPETITIONS. For the points which are not specified on this rule, the IFSC rules book will be the reference.

RULE 2012 EUROPEAN CLIMBING COMPETITIONS. For the points which are not specified on this rule, the IFSC rules book will be the reference. RULE 2012 EUROPEAN CLIMBING COMPETITIONS For the points which are not specified on this rule, the IFSC rules book will be the reference. European Council of Sport Climbing Rules 2012 1. European Championships...

More information

Paralympic Table Tennis

Paralympic Table Tennis ENGLISH FOR THE GAMES Paralympic Table Tennis When athletes come together from around the world to compete in the Olympic and Paralympic Games, they are fulfilling their dreams and competing at the highest

More information

Concepts of print are found to be effective when looking at comprehension strategies. These may include strategies such as:

Concepts of print are found to be effective when looking at comprehension strategies. These may include strategies such as: Appendix 1: Literacy Strategies Word Attack & Comprehension Strategies Word Attack Strategies These strategies, to which children should refer, can be displayed on a classroom wall and made into a bookmark

More information

101 IELTS Speaking Part Two Topic cards about sports, hobbies and free time A- Z

101 IELTS Speaking Part Two Topic cards about sports, hobbies and free time A- Z 101 IELTS Speaking Part Two Topic cards about sports, hobbies and free time A- Z As the topics of sports, hobbies and free time are easy ones that tie in with IELTS Speaking Part One and students like

More information

Mathematics Higher Level

Mathematics Higher Level Mathematics Higher Level for the IB Diploma Exam Preparation Guide Paul Fannon, Vesna Kadelburg, Ben Woolley, Stephen Ward INTRODUCTION ABOUT THIS BOOK If you are using this book, you re probably getting

More information

Math Board Games. For School or Home Education. by Teresa Evans. Copyright 2005 Teresa Evans. All rights reserved.

Math Board Games. For School or Home Education. by Teresa Evans. Copyright 2005 Teresa Evans. All rights reserved. Math Board Games For School or Home Education by Teresa Evans Copyright 2005 Teresa Evans. All rights reserved. Permission is given for the making of copies for use in the home or classroom of the purchaser

More information

One pile, two pile, three piles

One pile, two pile, three piles CHAPTER 4 One pile, two pile, three piles 1. One pile Rules: One pile is a two-player game. Place a small handful of stones in the middle. At every turn, the player decided whether to take one, two, or

More information

Game 9. Overview. Materials. Recommended Grades 3 5 Time Instruction: 30 45 minutes Independent Play: 20 30 minutes

Game 9. Overview. Materials. Recommended Grades 3 5 Time Instruction: 30 45 minutes Independent Play: 20 30 minutes Game 9 Cross Out Singles Recommended Grades 3 5 Time Instruction: 30 45 minutes Independent Play: 20 30 minutes Quiet Dice Rolling dice can create lots of noise. To lessen the noise, consider using foam

More information

HOW TO RUN A TENNIS ON CAMPUS SERIES TOURNAMENT

HOW TO RUN A TENNIS ON CAMPUS SERIES TOURNAMENT HOW TO RUN A TENNIS ON CAMPUS SERIES TOURNAMENT Before The Tournament Planning a tournament can be stressful at times, but with preparation the actual running of the tournament should be fairly easy. There

More information

Girl Scout Journey FAQs Frequently Asked Questions

Girl Scout Journey FAQs Frequently Asked Questions Girl Scout Journey FAQs Frequently Asked Questions 1. How do we pick which Girl Scout Journey to do? 2. How long does it take to complete a Girl Scout Journey? How long is a typical Girl Scout Journey

More information

Phonics. High Frequency Words P.008. Objective The student will read high frequency words.

Phonics. High Frequency Words P.008. Objective The student will read high frequency words. P.008 Jumping Words Objective The student will read high frequency words. Materials High frequency words (P.HFW.005 - P.HFW.064) Choose target words. Checkerboard and checkers (Activity Master P.008.AM1a

More information

Bus Rider Activities

Bus Rider Activities 1. To easily divide campers into two teams or groups, split down the middle of the bus, so that the campers on one side of the aisle are one team, and those on the other side are the second team. But if

More information

ALGEBRA. sequence, term, nth term, consecutive, rule, relationship, generate, predict, continue increase, decrease finite, infinite

ALGEBRA. sequence, term, nth term, consecutive, rule, relationship, generate, predict, continue increase, decrease finite, infinite ALGEBRA Pupils should be taught to: Generate and describe sequences As outcomes, Year 7 pupils should, for example: Use, read and write, spelling correctly: sequence, term, nth term, consecutive, rule,

More information

Chapter 11 Number Theory

Chapter 11 Number Theory Chapter 11 Number Theory Number theory is one of the oldest branches of mathematics. For many years people who studied number theory delighted in its pure nature because there were few practical applications

More information

2011-0920 UM Online Practice Programming Contest September 20, 2011

2011-0920 UM Online Practice Programming Contest September 20, 2011 2011-0920 UM Online Practice Programming Contest September 20, 2011 Sponsored by: University of Michigan Rules: 1. There are a few questions to be solved any time during the tryouts contest. 2. All questions

More information

Automatic Bet Tracker!

Automatic Bet Tracker! Russell Hunter Street Smart Roulette Automatic Bet Tracker! Russell Hunter Publishing, Inc. Street Smart Roulette Automatic Bet Tracker 2015 Russell Hunter and Russell Hunter Publishing, Inc. All Rights

More information

BSc in Artificial Intelligence and Computer Science ABDAL MOHAMED

BSc in Artificial Intelligence and Computer Science ABDAL MOHAMED ABDAL MOHAMED Sections 1. History of AI in Racing Games 2. Neural Networks in Games History Gran Trak 10 Single-player racing arcade game released by Atari in 1974 Did not have any AI Pole Position Single-

More information

THE WINNING ROULETTE SYSTEM by http://www.webgoldminer.com/

THE WINNING ROULETTE SYSTEM by http://www.webgoldminer.com/ THE WINNING ROULETTE SYSTEM by http://www.webgoldminer.com/ Is it possible to earn money from online gambling? Are there any 100% sure winning roulette systems? Are there actually people who make a living

More information

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

Lecture 28 Economics 181 International Trade

Lecture 28 Economics 181 International Trade Lecture 28 Economics 181 International Trade I. Introduction to Strategic Trade Policy If much of world trade is in differentiated products (ie manufactures) characterized by increasing returns to scale,

More information

Foundation 2 Games Booklet

Foundation 2 Games Booklet MCS Family Maths Night 27 th August 2014 Foundation 2 Games Booklet Stage Focus: Trusting the Count Place Value How are games used in a classroom context? Strategically selected games have become a fantastic

More information

LESSON 1. Opening Leads Against Notrump Contracts. General Concepts. General Introduction. Group Activities. Sample Deals

LESSON 1. Opening Leads Against Notrump Contracts. General Concepts. General Introduction. Group Activities. Sample Deals LESSON 1 Opening Leads Against Notrump Contracts General Concepts General Introduction Group Activities Sample Deals 8 Defense in the 21st Century GENERAL CONCEPTS Defense The opening lead against notrump

More information

Introduction to Python

Introduction to Python Caltech/LEAD Summer 2012 Computer Science Lecture 2: July 10, 2012 Introduction to Python The Python shell Outline Python as a calculator Arithmetic expressions Operator precedence Variables and assignment

More information

Pigeonhole Principle Solutions

Pigeonhole Principle Solutions Pigeonhole Principle Solutions 1. Show that if we take n + 1 numbers from the set {1, 2,..., 2n}, then some pair of numbers will have no factors in common. Solution: Note that consecutive numbers (such

More information

n 2 + 4n + 3. The answer in decimal form (for the Blitz): 0, 75. Solution. (n + 1)(n + 3) = n + 3 2 lim m 2 1

n 2 + 4n + 3. The answer in decimal form (for the Blitz): 0, 75. Solution. (n + 1)(n + 3) = n + 3 2 lim m 2 1 . Calculate the sum of the series Answer: 3 4. n 2 + 4n + 3. The answer in decimal form (for the Blitz):, 75. Solution. n 2 + 4n + 3 = (n + )(n + 3) = (n + 3) (n + ) = 2 (n + )(n + 3) ( 2 n + ) = m ( n

More information

Project 2: Bejeweled

Project 2: Bejeweled Project 2: Bejeweled Project Objective: Post: Tuesday March 26, 2013. Due: 11:59PM, Monday April 15, 2013 1. master the process of completing a programming project in UNIX. 2. get familiar with command

More information

An I Am poem is meant to help you express yourself as an individual. It is often used as an ice breaker activity or a first day of school Introduce

An I Am poem is meant to help you express yourself as an individual. It is often used as an ice breaker activity or a first day of school Introduce An I Am poem is meant to help you express yourself as an individual. It is often used as an ice breaker activity or a first day of school Introduce yourself activity. Formulaic Type Basically, a formulaic

More information

APPLYING BENFORD'S LAW This PDF contains step-by-step instructions on how to apply Benford's law using Microsoft Excel, which is commonly used by

APPLYING BENFORD'S LAW This PDF contains step-by-step instructions on how to apply Benford's law using Microsoft Excel, which is commonly used by APPLYING BENFORD'S LAW This PDF contains step-by-step instructions on how to apply Benford's law using Microsoft Excel, which is commonly used by internal auditors around the world in their day-to-day

More information

Algebra 2 C Chapter 12 Probability and Statistics

Algebra 2 C Chapter 12 Probability and Statistics Algebra 2 C Chapter 12 Probability and Statistics Section 3 Probability fraction Probability is the ratio that measures the chances of the event occurring For example a coin toss only has 2 equally likely

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

Cornerstones: Click, Clack, Moo Flash Card Games: Instructions

Cornerstones: Click, Clack, Moo Flash Card Games: Instructions Flash Card Games: Instructions The Secret Word Distribute a card to each student, and tell them to keep their word secret. One at a time, each student signs or says a series of clues a word that begins

More information

Random Fibonacci-type Sequences in Online Gambling

Random Fibonacci-type Sequences in Online Gambling Random Fibonacci-type Sequences in Online Gambling Adam Biello, CJ Cacciatore, Logan Thomas Department of Mathematics CSUMS Advisor: Alfa Heryudono Department of Mathematics University of Massachusetts

More information

Would You Like To Earn $1000 s With The Click Of A Button?

Would You Like To Earn $1000 s With The Click Of A Button? Would You Like To Earn $1000 s With The Click Of A Button? (Follow these easy step by step instructions and you will) This Version of the ebook is for all countries other than the USA. If you need the

More information

mclass: Reading 3D Reminders

mclass: Reading 3D Reminders mclass: Reading 3D By: Carlos Mattlock Vass Jonesville Elementary School mclass: Reading 3D By: Carlos Mattlock Vass Jonesville Elementary School Hold the device so the child cannot see it Say each word,

More information

USA Volleyball Scorer Test A

USA Volleyball Scorer Test A Exam Instructions and Information: Read each question thoroughly and answer each question on the attached answer sheet using current 2011-13 USA Volleyball Domestic Competition Regulations and the Scoring

More information

Decision Mathematics D1 Advanced/Advanced Subsidiary. Tuesday 5 June 2007 Afternoon Time: 1 hour 30 minutes

Decision Mathematics D1 Advanced/Advanced Subsidiary. Tuesday 5 June 2007 Afternoon Time: 1 hour 30 minutes Paper Reference(s) 6689/01 Edexcel GCE Decision Mathematics D1 Advanced/Advanced Subsidiary Tuesday 5 June 2007 Afternoon Time: 1 hour 30 minutes Materials required for examination Nil Items included with

More information

Dynamic Programming. Lecture 11. 11.1 Overview. 11.2 Introduction

Dynamic Programming. Lecture 11. 11.1 Overview. 11.2 Introduction Lecture 11 Dynamic Programming 11.1 Overview Dynamic Programming is a powerful technique that allows one to solve many different types of problems in time O(n 2 ) or O(n 3 ) for which a naive approach

More information

Introduction Solvability Rules Computer Solution Implementation. Connect Four. March 9, 2010. Connect Four

Introduction Solvability Rules Computer Solution Implementation. Connect Four. March 9, 2010. Connect Four March 9, 2010 is a tic-tac-toe like game in which two players drop discs into a 7x6 board. The first player to get four in a row (either vertically, horizontally, or diagonally) wins. The game was first

More information

Basics of Counting. The product rule. Product rule example. 22C:19, Chapter 6 Hantao Zhang. Sample question. Total is 18 * 325 = 5850

Basics of Counting. The product rule. Product rule example. 22C:19, Chapter 6 Hantao Zhang. Sample question. Total is 18 * 325 = 5850 Basics of Counting 22C:19, Chapter 6 Hantao Zhang 1 The product rule Also called the multiplication rule If there are n 1 ways to do task 1, and n 2 ways to do task 2 Then there are n 1 n 2 ways to do

More information

Past Tense Activities - Lesson 1

Past Tense Activities - Lesson 1 Lesson: General: Time: Objectives: Structures: Target Vocab: 40 mins - 1 hour Talking about yesterday using past tense verbs " Que hiciste ayer?" "Ayer,..." ayer, hoy, mañana, fantástico, gran, jugué con

More information

LAMC Beginners Circle: Parity of a Permutation Problems from Handout by Oleg Gleizer Solutions by James Newton

LAMC Beginners Circle: Parity of a Permutation Problems from Handout by Oleg Gleizer Solutions by James Newton LAMC Beginners Circle: Parity of a Permutation Problems from Handout by Oleg Gleizer Solutions by James Newton 1. Take a two-digit number and write it down three times to form a six-digit number. For example,

More information

By the end of this workbook I should... What is a Website?

By the end of this workbook I should... What is a Website? By the end of this workbook I should... 1) know how to design the structure of a website 2) understand the importance of organising the website s media 3) know how to create new, linked web pages 4) know

More information

Unit 19: Probability Models

Unit 19: Probability Models Unit 19: Probability Models Summary of Video Probability is the language of uncertainty. Using statistics, we can better predict the outcomes of random phenomena over the long term from the very complex,

More information

Third Grade Math Games

Third Grade Math Games Third Grade Math Games Unit 1 Lesson Less than You! 1.3 Addition Top-It 1.4 Name That Number 1.6 Beat the Calculator (Addition) 1.8 Buyer & Vendor Game 1.9 Tic-Tac-Toe Addition 1.11 Unit 2 What s My Rule?

More information

Unit Conversions. Ben Logan <ben.logan@gmail.com> Feb 10, 2005

Unit Conversions. Ben Logan <ben.logan@gmail.com> Feb 10, 2005 Unit Conversions Ben Logan Feb 0, 2005 Abstract Conversion between different units of measurement is one of the first concepts covered at the start of a course in chemistry or physics.

More information

Put Your Song to the Tests

Put Your Song to the Tests Put Your Song to the Tests By Pat & Pete Luboff We ve been listening to songs in a professional capacity for over 20 years, as songwriting consultants, workshop leaders, contest judges and Taxi screeners.

More information

ONLINE SAFETY TEACHER S GUIDE:

ONLINE SAFETY TEACHER S GUIDE: TEACHER S GUIDE: ONLINE SAFETY LEARNING OBJECTIVES Students will learn how to use the Internet safely and effectively. Students will understand that people online are not always who they say they are.

More information

v w is orthogonal to both v and w. the three vectors v, w and v w form a right-handed set of vectors.

v w is orthogonal to both v and w. the three vectors v, w and v w form a right-handed set of vectors. 3. Cross product Definition 3.1. Let v and w be two vectors in R 3. The cross product of v and w, denoted v w, is the vector defined as follows: the length of v w is the area of the parallelogram with

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

Instructions for Setup

Instructions for Setup Instructions for Setup Student Setup: 1. Give each student one BINGO problems sheet, one BINGO squares sheet, and one BINGO card. 2. During independent practice, have students solve all of the BINGO problems.

More information

The Roman s Road. 1 By Tamarie Tigh copyright 2011 http://biblelessons.weebly.com. Lesson Legend Prepare Say Do o Note

The Roman s Road. 1 By Tamarie Tigh copyright 2011 http://biblelessons.weebly.com. Lesson Legend Prepare Say Do o Note WELCOME STATION Student Arrival (5-10 minutes) Put on name tag. Say any verses memorized. Get one sticker for each verse quoted; five verses possible for the week. Get one sticker for attendance; five

More information

MAKING MATH MORE FUN BRINGS YOU FUN MATH GAME PRINTABLES FOR HOME OR SCHOOL

MAKING MATH MORE FUN BRINGS YOU FUN MATH GAME PRINTABLES FOR HOME OR SCHOOL MAKING MATH MORE FUN BRINGS YOU FUN MATH GAME PRINTABLES FOR HOME OR SCHOOL THESE FUN MATH GAME PRINTABLES are brought to you with compliments from Making Math More Fun at and Math Board Games at Copyright

More information

MATH 10034 Fundamental Mathematics IV

MATH 10034 Fundamental Mathematics IV MATH 0034 Fundamental Mathematics IV http://www.math.kent.edu/ebooks/0034/funmath4.pdf Department of Mathematical Sciences Kent State University January 2, 2009 ii Contents To the Instructor v Polynomials.

More information

Self-Acceptance. A Frog Thing by E. Drachman (2005) California: Kidwick Books LLC. ISBN 0-9703809-3-3. Grade Level: Third grade

Self-Acceptance. A Frog Thing by E. Drachman (2005) California: Kidwick Books LLC. ISBN 0-9703809-3-3. Grade Level: Third grade Self-Acceptance A Frog Thing by E. Drachman (2005) California: Kidwick Books LLC. ISBN 0-9703809-3-3 This Book Kit was planned by Lindsay N. Graham Grade Level: Third grade Characteristic Trait: Self Acceptance

More information

Please familiarise yourself with this document prior to the event

Please familiarise yourself with this document prior to the event Please familiarise yourself with this document prior to the event ... 3... 3... 4... 5... 5... 6 Welcome to the 2 nd annual Guardian Car Treasure Hunt! This event marks the culmination of our second year

More information

20-30 minutes, can be used within a longer activity

20-30 minutes, can be used within a longer activity Locked-in 1 Age group successfully used with: Abilities assumed: Time: Size of group: 11 adult None 20-30 minutes, can be used within a longer activity anything from 2 to hundreds Focus What is an algorithm?

More information

Storytime Crosswalk Connections: How the Six Skills and Five Practices Meet at the Library!

Storytime Crosswalk Connections: How the Six Skills and Five Practices Meet at the Library! Storytime Crosswalk Connections: How the Six Skills and Five Practices Meet at the Library! Cheilon Preston Chillicothe and Ross County Public Library Adapted from the chart The Five Practices And The

More information

MAKE YOUR FIRST A-MAZE-ING GAME IN GAME MAKER 7

MAKE YOUR FIRST A-MAZE-ING GAME IN GAME MAKER 7 MAKE YOUR FIRST A-MAZE-ING GAME IN GAME MAKER 7 In this tutorial, you will learn how to create your first game in Game Maker. The game you will create will be a simple maze game. The object of the game

More information

The fundamental question in economics is 2. Consumer Preferences

The fundamental question in economics is 2. Consumer Preferences A Theory of Consumer Behavior Preliminaries 1. Introduction The fundamental question in economics is 2. Consumer Preferences Given limited resources, how are goods and service allocated? 1 3. Indifference

More information

CPS122 Lecture: State and Activity Diagrams in UML

CPS122 Lecture: State and Activity Diagrams in UML CPS122 Lecture: State and Activity Diagrams in UML Objectives: last revised February 14, 2012 1. To show how to create and read State Diagrams 2. To introduce UML Activity Diagrams Materials: 1. Demonstration

More information

Converting from Fractions to Decimals

Converting from Fractions to Decimals .6 Converting from Fractions to Decimals.6 OBJECTIVES. Convert a common fraction to a decimal 2. Convert a common fraction to a repeating decimal. Convert a mixed number to a decimal Because a common fraction

More information

SECTION A OFFICIAL EVENTS

SECTION A OFFICIAL EVENTS 1 The Official Special Olympics Sports Rules for Football (Soccer) shall govern all Special Olympics competitions. As an international sports program, Special Olympics has created these rules based upon

More information

Chapter 2 Introduction to SPSS

Chapter 2 Introduction to SPSS Chapter 2 Introduction to SPSS Abstract This chapter introduces several basic SPSS procedures that are used in the analysis of a data set. The chapter explains the structure of SPSS data files, how to

More information

How to Play. Player vs. Dealer

How to Play. Player vs. Dealer How to Play You receive five cards to make your best four-card poker hand. A four-card Straight is a Straight, a four-card Flush is a Flush, etc. Player vs. Dealer Make equal bets on the Ante and Super

More information

Make maths fun!! Give your child lots of praise and encouragement!

Make maths fun!! Give your child lots of praise and encouragement! Make maths fun!! Give your child lots of praise and encouragement! Talk to your child about how you work things out. CALCULATION The maths work your child is doing at school may look very different to

More information

7 th Grade Integer Arithmetic 7-Day Unit Plan by Brian M. Fischer Lackawanna Middle/High School

7 th Grade Integer Arithmetic 7-Day Unit Plan by Brian M. Fischer Lackawanna Middle/High School 7 th Grade Integer Arithmetic 7-Day Unit Plan by Brian M. Fischer Lackawanna Middle/High School Page 1 of 20 Table of Contents Unit Objectives........ 3 NCTM Standards.... 3 NYS Standards....3 Resources

More information

How to open an account

How to open an account If you like a flutter on the horses or any other sport then I would strongly recommend Betfair to place those bets. I find it amazing the number of people still using high street bookmakers which offer

More information

BEGINNER S BRIDGE NOTES. Leigh Harding

BEGINNER S BRIDGE NOTES. Leigh Harding BEGINNER S BRIDGE NOTES Leigh Harding PLAYING THE CARDS IN TRUMP CONTRACTS Don t play a single card until you have planned how you will make your contract! The plan will influence decisions you will have

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

Integer Programming Formulation

Integer Programming Formulation Integer Programming Formulation 1 Integer Programming Introduction When we introduced linear programs in Chapter 1, we mentioned divisibility as one of the LP assumptions. Divisibility allowed us to consider

More information

Calculator Practice: Computation with Fractions

Calculator Practice: Computation with Fractions Calculator Practice: Computation with Fractions Objectives To provide practice adding fractions with unlike denominators and using a calculator to solve fraction problems. www.everydaymathonline.com epresentations

More information

The foreign King. Contents

The foreign King. Contents The foreign King Introduction Incited by the economic and political interests of the bourgeoisie a liberal regime of monarchy was constituted in Belgium on 1830 gaining the independence from the United

More information

Loteria Workshop is a great way to bring Mexican art and gaming tradition to your computer!

Loteria Workshop is a great way to bring Mexican art and gaming tradition to your computer! Loteria Workshop Loteria Workshop is a great way to bring Mexican art and gaming tradition to your computer! The Loteria game of chance - background Loteria is something like Bingo, using pictures instead

More information

Magic Word. Possible Answers: LOOSER WINNER LOTTOS TICKET. What is the magic word?

Magic Word. Possible Answers: LOOSER WINNER LOTTOS TICKET. What is the magic word? Magic Word A magic word is needed to open a box. A secret code assigns each letter of the alphabet to a unique number. The code for the magic word is written on the outside of the box. What is the magic

More information

Question 2: How do you solve a linear programming problem with a graph?

Question 2: How do you solve a linear programming problem with a graph? Question 2: How do you solve a linear programming problem with a graph? Now that we have several linear programming problems, let s look at how we can solve them using the graph of the system of inequalities.

More information

Excel basics. Before you begin. What you'll learn. Requirements. Estimated time to complete:

Excel basics. Before you begin. What you'll learn. Requirements. Estimated time to complete: Excel basics Excel is a powerful spreadsheet and data analysis application, but to use it most effectively, you first have to understand the basics. This tutorial introduces some of the tasks and features

More information

Lesson 5: School Bus Safety

Lesson 5: School Bus Safety Time: approximately 40 minutes Lesson 5: School Bus Safety LESSON PLAN: Lesson 5 This curriculum does not cover every possible scenario that a child may encounter as a pedestrian, but instead addresses

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

Board Games. With Monkey Friends. 15 Multiplication Board Games to practice multiplication up to 10 x 10

Board Games. With Monkey Friends. 15 Multiplication Board Games to practice multiplication up to 10 x 10 Board Games With Monkey Friends 15 Multiplication Board Games to practice multiplication up to 10 x 10 By TeachersPayTeachers.com Teresa Evans 2012 Contents Monkey Multiplication Maker - Create Multiplication

More information