Problem Dice program

Save this PDF as:
 WORD  PNG  TXT  JPG

Size: px
Start display at page:

Download "Problem Dice program"

Transcription

1 Activity 1 Problem Dice program Aim: Based on the Maths 00 activity Problem Dice, Introduce the Program app to simulate 100 rolls of the dice. Creating a program automates a sequence of instructions we used in the previous activity. The following program takes the commands you used in the previous activity to randomly generate 100 rolls on a pair of dice and draw a histogram of the differences. Enter, save and run a program to simulate the differences game. Program app Open program app Create a new program Tap E Enter a name for the program Maximum of 8 characters Tap OK Enter the program Enter the text as shown Some of the text can be entered from menu [Misc Statistics(1) StatGraph] [Misc Statistics(1) Graph ] [I/O Draw ] randlist(100,1,6) a Simulate 100 rolls of a six-sided die and store as a abs(a b) list1 stores the difference between a and b in list1 StatGraph 1,On,,list1,1 Sets StatGraph 1 to On and to draw a using list1 draws the Run the program Tap { to save the program Tap ) to leave the program editor Tap } to run the program Hazeldene publishing 017 Year 9 Mathematics: ClassPad Activities

2 Do more: Create frequency table Tap P to edit the program Make the adjustments Modify the program to simulate 00 rolls. Record the frequency and draw the histogram. table 00 rolls Difference 0 1 Modify your program to simulate the sum of 00 rolls of a pair of 8-sided dice and record your results. table Difference Hazeldene publishing 017 Year 9 Mathematics: ClassPad Activities

3 Modify your program to simulate the sum of 00 rolls of a pair of 6-sided dice and record your results. table Sum 0 1 Modify your program to simulate the sum of 00 rolls of three 6-sided dice and record your results. Be patient! table Sum Hazeldene publishing 017 Year 9 Mathematics: ClassPad Activities

4 Learning notes Detailed instructions: View this video demo of process of creating the program Learning to program: Many people learn coding by modifying work others have done. You will learn more by taking these programs and then modifying than you will starting from scratch. There is a.vcp file on the website that you can download and access the programs using ClassPad Manager on your laptop. The program explained randlist(100,1,6) a randlist(100,1,6) b abs(a-b) list1 StatGraph 1,On,,list1,1 {0,1,,,,} list {0,0,0,0,0,0} list For 1 i To 100 list1[i]+1 d list[d]+1 list[d] DispListEditor Generate lists of 100 random numbers between 1 and 6 and store Calculate the difference between the two dice and store in list1 Set up the Statistics graph: Statgrpah1, set to a using list1 with a frequency of 1 Draw the graph Initialise lists and. List is the differences and list will store how many results have the matching difference This is a loop to go through the 100 rolls. Note the difference between the dice and save as d. Increment the count for that difference. The + 1 is because the differences started at 0 in the first element in the list. Display the Statistics window showing the frequency table Dice Difference Program modified to run with parameters Specify the number of rolls and the number of faces (max 1) on each die each time you run the program. Statistics app only displays 00 elements in a list. This program allows more trials, but on your handheld expect to be waiting a while! Code as shown in screenshot randlist(n,1,faces) a randlist(n,1,faces) b abs(a-b) list {0,1,,,,,6,7,8,9,10,11} list {0,0,0,0,0,0,0,0,0,0,0,0} list For 1 i To n list[i]+1 d list[d]+1 list[d] Hazeldene publishing 017 Year 9 Mathematics: ClassPad Activities

5 DispListEditor StatGraph 1,On,,list,list Running from main screen Another coding examples Select from a list without replacement The code works by inputting a list and the number of elements you want o select from that list. The code uses parameters and can be called by another program or in the Main screen. E.g. selectn({1,,,,8,1},) will select two elements and they are stored in variable pick. mylist wklist dim(wklist) l 'initialise list to hold selection seq(0,x,1,n,1) pick For 1 i To n 'Select element rand(1,l) p wklist[p] pick[i] 'Delete selected item from list For p+1 j To l wklist[j] wklist[j-1] 'sublist(wklist,1,p-1)+sublist(wklist,p+1,l) wklist Print pick l-1 l Print mylist Print pick Once it is working the Print statements can be deleted. Hazeldene publishing 017 Year 9 Mathematics: ClassPad Activities 6

6 Example of running program in Main screen Drawing cards Working in Main Draw a card form a regular deck of cards {,,, } suits {1,,,,,6,7,8,9,10,J,Q,K} kind {0,0} s rand(1,) c suits[mod(c,)+1] s[1] kind[mod(c,1)+1] s[] s The symbols for the card suits Writing a program to simulate dealing a random hand of cards {,,, } suits {1,,,,,6,7,8,9,10,J,Q,K} kind seq(x,x,1,,1) pack selectn(pack,) Pause ClrText For 1 i To Locate,1*i,suits[mod(pack[i],)+1] Locate 1,1*i,kind[mod(pack[i],1)+1] Code of first two versions of dice differences program DiceDiff randlist(100,1,6) a randlist(100,1,6) b abs(a-b) list1 StatGraph 1,On,,list1,1 DiceDif randlist(100,1,6) a randlist(100,1,6) b abs(a-b) list1 StatGraph 1,On,,list1,1 {0,1,,,,} list {0,0,0,0,0,0} list For 1 i To 100 list1[i]+1 d list[d]+1 list[d] DispListEditor Hazeldene publishing 017 Year 9 Mathematics: ClassPad Activities 7

Java Assignment 3: Loop Practice Ver 3.0 Last Updated: 12/1/2015 8:57 AM

Java Assignment 3: Loop Practice Ver 3.0 Last Updated: 12/1/2015 8:57 AM Java Assignment 3: Loop Practice Ver 3.0 Last Updated: 12/1/2015 8:57 AM Let s get some practice creating programs that repeat commands inside of a loop in order to accomplish a particular task. You may

More information

Section 3.1 Shapes of Distributions MDM4U Jensen

Section 3.1 Shapes of Distributions MDM4U Jensen Section 3.1 Shapes of Distributions MDM4U Jensen Part 1: Histogram Review Example 1: Earthquakes are measured on a scale known as the Richter Scale. There data are a sample of earthquake magnitudes in

More information

The Math Class. Using various math class methods. Formatting the values.

The Math Class. Using various math class methods. Formatting the values. The Math Class Using various math class methods. Formatting the values. The Math class is used for mathematical operations; in our case some of its functions will be used. In order to use the Math class,

More information

EXCODE. Code An App From Scratch

EXCODE. Code An App From Scratch 3 EXCODE Code An App From Scratch Course Overview Weeks 1-2 Learning Python Weeks 3-5 Creating your game Week 6 Presenting the games Get the course notes exeterentrepreneurs.com/excode-content exeterentrepreneurs.com/excode-content/

More information

Place Value. Objectives To develop place-value concepts and connect place value in money with place value in base-10 blocks. Assessment Management

Place Value. Objectives To develop place-value concepts and connect place value in money with place value in base-10 blocks. Assessment Management Place Value Objectives To develop place-value concepts and connect place value in money with place value in base-10 blocks. www.everydaymathonline.com epresentations etoolkit Algorithms Practice EM Facts

More information

The Hong Kong Polytechnic University

The Hong Kong Polytechnic University COMP1001-Problem Solving in IT Top-Down Design Objective: Upon completion of this lab, you will be able to: How to use top down design to design an Automatic teller machine (ATM) Structure of Top-Down

More information

The Math Class (Outsource: Math Class Supplement) Random Numbers. Lab 06 Math Class

The Math Class (Outsource: Math Class Supplement) Random Numbers. Lab 06 Math Class The (Outsource: Supplement) The includes a number of constants and methods you can use to perform common mathematical functions. A commonly used constant found in the Math class is Math.PI which is defined

More information

Functions in C++ Problem-Solving Procedure With Modular Design C ++ Function Definition: a single

Functions in C++ Problem-Solving Procedure With Modular Design C ++ Function Definition: a single Functions in C++ Problem-Solving Procedure With Modular Design: Program development steps: Analyze the problem Develop a solution Code the solution Test/Debug the program C ++ Function Definition: A module

More information

Chapter 1 Histograms, Scatterplots, and Graphs of Functions

Chapter 1 Histograms, Scatterplots, and Graphs of Functions Chapter 1 Histograms, Scatterplots, and Graphs of Functions 1.1 Using Lists for Data Entry To enter data into the calculator you use the statistics menu. You can store data into lists labeled L1 through

More information

BLOCK STRUCTURE. class block main method block do-while statement block if statement block. if statement block. Block Structure Page 1

BLOCK STRUCTURE. class block main method block do-while statement block if statement block. if statement block. Block Structure Page 1 BLOCK STRUCTURE A block is a bundle of statements in a computer program that can include declarations and executable statements. A programming language is block structured if it (1) allows blocks to be

More information

Java Outline (Upto Exam 2)

Java Outline (Upto Exam 2) Java Outline (Upto Exam 2) Part 4 IF s (Branches) and Loops Chapter 12/13 (The if Statement) Hand in Program Assignment#1 (12 marks): Create a program called Ifs that will do the following: 1. Ask the

More information

COMP 110 Programming Exercise: Simulation of the Game of Craps

COMP 110 Programming Exercise: Simulation of the Game of Craps COMP 110 Programming Exercise: Simulation of the Game of Craps Craps is a game of chance played by rolling two dice for a series of rolls and placing bets on the outcomes. The background on probability,

More information

static int min(int a, int b) Returns the smaller of two int values. static double pow(double a,

static int min(int a, int b) Returns the smaller of two int values. static double pow(double a, The (Outsource: Supplement) The includes a number of constants and methods you can use to perform common mathematical functions. A commonly used constant found in the Math class is Math.PI which is defined

More information

TI-84 GRAPHING CALCULATOR

TI-84 GRAPHING CALCULATOR TI-84 GRAPHING CALCULATOR Table of Contents Set Up & Troubleshooting... 3 TI-84: Resetting the Calculator... 4 TI-84: Mode Settings... 5 Entering Data... 7 TI-84: Entering & Editing Lists of Data... 8

More information

Fun with Fractals and Functions. CHAMP at University of Houston March 2, 2015 Houston, Texas

Fun with Fractals and Functions. CHAMP at University of Houston March 2, 2015 Houston, Texas Fun with Fractals and Functions CHAMP at University of Houston March 2, 2015 Houston, Texas Alice Fisher afisher@rice.edu Director of Technology Applications & Integration at Rice University School Mathematics

More information

Q5. What values are stored in the array at the comment in main? Note that the incrementall returns void, but does take an int[] parameter.

Q5. What values are stored in the array at the comment in main? Note that the incrementall returns void, but does take an int[] parameter. Q1. Which of the following choices is the correct syntax for declaring/initializing an array of integers? 1. int[] a = new int[10]; 2. int a[10] = new int[10]; 3. []int a = [10]int; 4. int a[10]; 5. int[10]

More information

Monte Carlo Techniques. Professor Stephen Sekula Guest Lecture PHY 4321/7305 Sep. 3, 2014

Monte Carlo Techniques. Professor Stephen Sekula Guest Lecture PHY 4321/7305 Sep. 3, 2014 Monte Carlo Techniques Professor Stephen Sekula Guest Lecture PHY 431/7305 Sep. 3, 014 What are Monte Carlo Techniques? Computational algorithms that rely on repeated random sampling in order to obtain

More information

This is a one-week excerpt from the Starfall Kindergarten Mathematics Teacher s Guide. If you have questions or comments, please contact us.

This is a one-week excerpt from the Starfall Kindergarten Mathematics Teacher s Guide. If you have questions or comments, please contact us. UNIT 6 WEEK 13 This is a one-week excerpt from the Starfall Kindergarten Mathematics Teacher s Guide. If you have questions or comments, please contact us. Email: helpdesk@starfall.com Phone: 1-888-857-8990

More information

CIS 194: Homework 11. Due Thursday, April 5. Risk. The Rand StdGen monad

CIS 194: Homework 11. Due Thursday, April 5. Risk. The Rand StdGen monad CIS 194: Homework 11 Due Thursday, April 5 Files you should submit: Risk.hs. You should take the version we have provided and add your solutions to it. Risk The game of Risk involves two or more players,

More information

Chapter 7: Single-Dimensional Arrays. Declaring Array Variables. Creating Arrays. Declaring and Creating in One Step.

Chapter 7: Single-Dimensional Arrays. Declaring Array Variables. Creating Arrays. Declaring and Creating in One Step. Chapter 7: Single-Dimensional Arrays Opening Problem Read one hundred numbers, compute their average, and find out how many numbers are above the average CS1: Java Programming Colorado State University

More information

CPSC 427: Object-Oriented Programming

CPSC 427: Object-Oriented Programming CPSC 427: Object-Oriented Programming Michael J. Fischer Lecture 18 November 7, 2016 CPSC 427, Lecture 18 1/19 Demo: Craps Game Polymorphic Derivation (continued) Name Visibility CPSC 427, Lecture 18 2/19

More information

Mat 2170 Week 9. Spring Mat 2170 Week 9. Objects and Classes. Week 9. Review. Random. Overloading. Craps. Clients. Packages. Randomness.

Mat 2170 Week 9. Spring Mat 2170 Week 9. Objects and Classes. Week 9. Review. Random. Overloading. Craps. Clients. Packages. Randomness. Spring 2014 Student Responsibilities Reading: Textbook, Sections 6.1 6.3 Attendance Recall: Writing Methods Decomposition: break a problem down into smaller subproblems Use methods whenever you can in

More information

USER GUIDE.

USER GUIDE. USER GUIDE www.wizteach.com Support Information Support Contact: Please contact your supplier or distributor for support. Alternatively email: support@wizteach.com Minimum System Requirements: Windows

More information

Chapter Four: Loops. Slides by Evan Gallagher. C++ for Everyone by Cay Horstmann Copyright 2012 by John Wiley & Sons. All rights reserved

Chapter Four: Loops. Slides by Evan Gallagher. C++ for Everyone by Cay Horstmann Copyright 2012 by John Wiley & Sons. All rights reserved Chapter Four: Loops Slides by Evan Gallagher The Three Loops in C++ C++ has these three looping statements: while for do The while Loop while (condition) { statements } The condition is some kind of test

More information

A Balanced Introduction to Computer Science, 3/E

A Balanced Introduction to Computer Science, 3/E A Balanced Introduction to Computer Science, 3/E David Reed, Creighton University 2011 Pearson Prentice Hall ISBN 978-0-13-216675-1 Chapter 7 Functions and Randomness 1 Predefined Functions recall: in

More information

A Balanced Introduction to Computer Science, 3/E David Reed, Creighton University 2011 Pearson Prentice Hall ISBN

A Balanced Introduction to Computer Science, 3/E David Reed, Creighton University 2011 Pearson Prentice Hall ISBN A Balanced Introduction to Computer Science, 3/E David Reed, Creighton University 2011 Pearson Prentice Hall ISBN 978-0-13-216675-1 Chapter 7 Functions and Randomness 1 Predefined Functions recall: in

More information

Calculating with a CASIO fx-9860g AU PLUS

Calculating with a CASIO fx-9860g AU PLUS Calculating with a CASIO fx-9860g AU PLUS First published in 2009. Questions about this publication should be directed to support@stepsinlogic.com Copyright 2009. StepsInLogic. ISBN 978-0-646-51473-4 All

More information

10 Minutes of Code TI-BASIC

10 Minutes of Code TI-BASIC Unit 5: Lists, Graphics, and Dynamic Programs In this Application, we will develop a project to play the Chaos Game that generates the Sierpinski Gasket, a famous fractal. Application: The Sierpinski Gasket

More information

Student Responsibilities. Mat 2170 Week 9. Notes About Using Methods. Recall: Writing Methods. Chapter Six: Objects and Classes

Student Responsibilities. Mat 2170 Week 9. Notes About Using Methods. Recall: Writing Methods. Chapter Six: Objects and Classes Student Responsibilities Mat 2170 Week 9 Objects and Classes Spring 2014 Reading: Textbook, Sections 6.1 6.3 Lab 9 Attendance 1 2 Recall: Writing Methods 3 Decomposition: break a problem down into smaller

More information

Equivalent fractions are

Equivalent fractions are MATHEMATICS 8 CHAPTER FRACTION OPERATIONS REVIEW: EQUIVALENT FRACTIONS AND IMPROPER FRACTIONS AND MIXED NUMBERS Date The numerator is The denominator is A proper fraction is An improper fraction is A mixed

More information

Discrete-Event Simulation:

Discrete-Event Simulation: Discrete-Event Simulation: A First Course Section 4.2: Section 4.2: Given a discrete-data sample multiset S = {x 1, x 2,...,x n } with possible values X, the relative frequency is ˆf (x) = the number of

More information

Chapter 3 - Functions

Chapter 3 - Functions Chapter 3 - Functions 1 Outline 3.1 Introduction 3.2 Program Components in C++ 3.3 Math Library Functions 3.4 Functions 3.5 Function Definitions 3.6 Function Prototypes 3.7 Header Files 3.8 Random Number

More information

Section 4.2: Discrete Data Histograms

Section 4.2: Discrete Data Histograms Section 4.2: Discrete Data Histograms Discrete-Event Simulation: A First Course c 2006 Pearson Ed., Inc. 0-13-142917-5 Discrete-Event Simulation: A First Course Section 4.2: Discrete Data Histograms 1/

More information

MFA Pilot Instructions

MFA Pilot Instructions MFA Pilot Instructions Getting Started You will need the following: Your smartphone, a computer, and Internet access. Before using MFA your computer will need to be running Office 2016. If you are still

More information

CS 1110, LAB 2: FUNCTIONS AND ASSIGNMENTS

CS 1110, LAB 2: FUNCTIONS AND ASSIGNMENTS CS 1110, LAB 2: FUNCTIONS AND ASSIGNMENTS http://www.cs.cornell.edu/courses/cs1110/2017fa/labs/lab2/ First Name: Last Name: NetID: The purpose of this lab is to get you comfortable with using assignment

More information

Graphics calculator instructions

Graphics calculator instructions Graphics calculator instructions Contents: A Basic calculations B Basic functions C Secondary function and alpha keys D Memory E Lists F Statistical graphs G Working with functions H Two variable analysis

More information

How to Create and Use a Skype Account

How to Create and Use a Skype Account How to Create and Use a Skype Account Step 1: Go to www.skype.com You will need an email address to create your Skype account Step 2: At the top, right corner, there will be a place to click Get Skype

More information

Lecture 13. For-Loops

Lecture 13. For-Loops Lecture 3 For-Loops Announcements for This Lecture Reading Today: Chapters 8, 0 Thursday: Chapter Prelim, Oct th 7:30-9:00 Material up to TODAY Study guide is posted Review next Wednesday Room/Time are

More information

Random Numbers; Object-Oriented Programming 11/14/2017

Random Numbers; Object-Oriented Programming 11/14/2017 Random Numbers; Object-Oriented Programming 11/14/2017 1 Announcements PS 5 is ready Today: Random Numbers; Object-Oriented Programming Reading: Chapter 7 of Conery Acknowledgement: Some of this lecture

More information

MATLAB Modul 4. Introduction

MATLAB Modul 4. Introduction MATLAB Modul 4 Introduction to Computational Science: Modeling and Simulation for the Sciences, 2 nd Edition Angela B. Shiflet and George W. Shiflet Wofford College 2014 by Princeton University Press Introduction

More information

Collaboration Tools. Student Guide. Copyright 2015 by Edmentum. All Rights Reserved.

Collaboration Tools. Student Guide. Copyright 2015 by Edmentum. All Rights Reserved. Collaboration Tools Student Guide Copyright 2015 by Edmentum. All Rights Reserved. Contents Introduction... 3 Viewing Collaborations... 3 Using the Whiteboard Tool... 4 Viewing a Video... 5 Viewing a Document...

More information

Chapter 4: Writing Classes

Chapter 4: Writing Classes Chapter 4: Writing Classes Java Software Solutions Foundations of Program Design Sixth Edition by Lewis & Loftus Writing Classes We've been using predefined classes. Now we will learn to write our own

More information

Triangle Inequality Theorem

Triangle Inequality Theorem Math Objectives Students will identify the conditions necessary to build triangles given the lengths of 3 segments. Students will use the Triangle Inequality Theorem to determine whether a triangle can

More information

Chapters and Appendix F are PDF documents posted online at the book s Companion Website (located at

Chapters and Appendix F are PDF documents posted online at the book s Companion Website (located at Contents Chapters 16 27 and Appendix F are PDF documents posted online at the book s Companion Website (located at www.pearsonhighered.com/deitel/). Preface Before You Begin xix xxix 1 Introduction to

More information

Minitab Lab #1 Math 120 Nguyen 1 of 7

Minitab Lab #1 Math 120 Nguyen 1 of 7 Minitab Lab #1 Math 120 Nguyen 1 of 7 Objectives: 1) Retrieve a MiniTab file 2) Generate a list of random integers 3) Draw a bar chart, pie chart, histogram, boxplot, stem-and-leaf diagram 4) Calculate

More information

Introduction to Matlab

Introduction to Matlab NDSU Introduction to Matlab pg 1 Becoming familiar with MATLAB The console The editor The graphics windows The help menu Saving your data (diary) Solving N equations with N unknowns Least Squares Curve

More information

The Size of the Cantor Set

The Size of the Cantor Set The Size of the Cantor Set Washington University Math Circle November 6, 2016 In mathematics, a set is a collection of things called elements. For example, {1, 2, 3, 4}, {a,b,c,...,z}, and {cat, dog, chicken}

More information

Using! to Teach Graph Theory

Using! to Teach Graph Theory !! Using! to Teach Graph Theory Todd Abel Mary Elizabeth Searcy Appalachian State University Why Graph Theory? Mathematical Thinking (Habits of Mind, Mathematical Practices) Accessible to students at a

More information

Interactive learning on a ClassPad 300

Interactive learning on a ClassPad 300 Interactive learning on a ClassPad 300 Barry Kissane School of Education Murdoch University http://wwwstaff.murdoch.edu.au/~kissane 1. Getting oriented Use the stylus to tap the Menu icon at the bottom

More information

What are different approaches of Computer Art? How can computation create art? 9/17/12. Human uses computer to modify digital images

What are different approaches of Computer Art? How can computation create art? 9/17/12. Human uses computer to modify digital images 9/17/12 What are different approaches of Computer Art? UNIVERSITY of WISCONSIN-MADISON Computer Sciences Department CS 202: Introduction to Computation Professor Andrea Arpaci-Dusseau How can computation

More information

Topic 3: Fractions. Topic 1 Integers. Topic 2 Decimals. Topic 3 Fractions. Topic 4 Ratios. Topic 5 Percentages. Topic 6 Algebra

Topic 3: Fractions. Topic 1 Integers. Topic 2 Decimals. Topic 3 Fractions. Topic 4 Ratios. Topic 5 Percentages. Topic 6 Algebra Topic : Fractions Topic Integers Topic Decimals Topic Fractions Topic Ratios Topic Percentages Duration / weeks Content Outline PART (/ week) Introduction Converting Fractions to Decimals Converting Decimals

More information

Bootstrap confidence intervals Class 24, Jeremy Orloff and Jonathan Bloom

Bootstrap confidence intervals Class 24, Jeremy Orloff and Jonathan Bloom 1 Learning Goals Bootstrap confidence intervals Class 24, 18.05 Jeremy Orloff and Jonathan Bloom 1. Be able to construct and sample from the empirical distribution of data. 2. Be able to explain the bootstrap

More information

Programming Practice (vs Principles)

Programming Practice (vs Principles) Programming Practice (vs Principles) Programming in any language involves syntax (with rules, parentheses, etc) as well as format (layout, spacing, style, etc). Syntax is usually very strict, and any small

More information

CPSC 427: Object-Oriented Programming

CPSC 427: Object-Oriented Programming CPSC 427: Object-Oriented Programming Michael J. Fischer Lecture 17 March 31, 2016 CPSC 427, Lecture 17 1/29 Name Visibility Demo: Craps Game CPSC 427, Lecture 17 2/29 Name Visibility CPSC 427, Lecture

More information

Getting Started with Osmo Masterpiece

Getting Started with Osmo Masterpiece Getting Started with Osmo Masterpiece Updated 6.23.2017 Version 2.1.24 Page 1 What s Included? (Creative Set) 1 x Osmo Creative Board 6 x Yoobi Erasable Markers 1 x Blue Fuzzy Pouch Osmo Creative Board

More information

An Introduction to Python for KS4!

An Introduction to Python for KS4! An Introduction to Python for KS4 Python is a modern, typed language - quick to create programs and easily scalable from small, simple programs to those as complex as GoogleApps. IDLE is the editor that

More information

Basics of Programming with Python

Basics of Programming with Python Basics of Programming with Python A gentle guide to writing simple programs Robert Montante 1 Topics Part 3 Obtaining Python Interactive use Variables Programs in files Data types Decision-making Functions

More information

PA101 Learning the Ropes

PA101 Learning the Ropes Synopsis PA101 Learning the Ropes This first PA is going to be rather unusual. In the upcoming week, you will generally have a single program to write for the whole assignment. This time we are going to

More information

Lesson 26: Volume of Composite Three-Dimensional Objects

Lesson 26: Volume of Composite Three-Dimensional Objects Lesson 26: Volume of Composite Three-Dimensional Objects Student Outcomes Students compute volumes of three-dimensional objects composed of right prisms by using the fact that volume is additive. Lesson

More information

LinReg 2.06 Manual. DePauw University: Physics Department 120 Physics I and 130 Physics II

LinReg 2.06 Manual. DePauw University: Physics Department 120 Physics I and 130 Physics II LinReg 2.06 Manual DePauw University: Physics Department 120 Physics I and 130 Physics II Updated March 23 rd, 2011 1 About LinReg: LinReg is a program used extensively in DePauw s physics laboratory classes.

More information

Step-by-Step Guide Updated Feb 1, 2017

Step-by-Step Guide Updated Feb 1, 2017 Step-by-Step Guide Updated Feb 1, 2017 Overview At Swivl, our mission is to lift school achievement by expanding the focus of observations to students. Typical classroom observations tools aren t observant

More information

C: How to Program. Week /Apr/23

C: How to Program. Week /Apr/23 C: How to Program Week 9 2007/Apr/23 1 Review of Chapters 1~5 Chapter 1: Basic Concepts on Computer and Programming Chapter 2: printf and scanf (Relational Operators) keywords Chapter 3: if (if else )

More information

For ClassPad 300. ClassPad Manager. (ProgramLink) Limited Version. User s Guide. RJA

For ClassPad 300. ClassPad Manager. (ProgramLink) Limited Version. User s Guide.  RJA For ClassPad 300 E ClassPad Manager (ProgramLink) Limited Version User s Guide RJA510188-4 http://world.casio.com/edu_e/ Note Display examples shown in this User s Guide are intended for illustrative purposes

More information

Circuit Playground D6 Dice

Circuit Playground D6 Dice Circuit Playground D6 Dice Created by Carter Nelson Last updated on 2018-01-23 07:39:35 PM UTC Guide Contents Guide Contents Overview Required Parts Before Starting Circuit Playground Classic Circuit Playground

More information

CHAPTER 2 EDITING IN TOUCHDEVELOP

CHAPTER 2 EDITING IN TOUCHDEVELOP VERSION 1 CHAPTER 2 In this chapter we describe how to set up TouchDevelop on your phone, how to enter scripts from scratch, and how to extend existing scripts. At the end of the chapter, you should be

More information

Fuzz Testing Projects in Massive Courses

Fuzz Testing Projects in Massive Courses Learning@Scale 2016 Fuzz Testing Projects in Massive Courses Sumukh Sridhara, Brian Hou, Jeffrey Lu and John DeNero UC Berkeley April 26th 2016 Edinburgh, UK www.bestppt.com Programming Projects in MOOCs

More information

MFA Instructions. Getting Started. 1. Go to Apps, select Play Store 2. Search for Microsoft Authenticator 3. Click Install

MFA Instructions. Getting Started. 1. Go to Apps, select Play Store 2. Search for Microsoft Authenticator 3. Click Install MFA Instructions Getting Started You will need the following: Your smartphone, a computer, and Internet access. Before using MFA your computer will need to be running Office 2016 if you use the full version

More information

ECET 264 C Programming Language with Applications

ECET 264 C Programming Language with Applications ECET 264 C Programming Language with Applications Lecture 10 C Standard Library Functions Paul I. Lin Professor of Electrical & Computer Engineering Technology http://www.etcs.ipfw.edu/~lin Lecture 10

More information

How to Secure SSH with Google Two-Factor Authentication

How to Secure SSH with Google Two-Factor Authentication How to Secure SSH with Google Two-Factor Authentication WELL, SINCE IT IS QUITE COMPLEX TO SET UP, WE VE DECIDED TO DEDICATE A WHOLE BLOG TO THAT PARTICULAR STEP! A few weeks ago we took a look at how

More information

Building Big Macs. Opening Explanation. Exploring. Student Hand-out

Building Big Macs. Opening Explanation. Exploring. Student Hand-out Student Hand-out Opening Explanation In this investigation we will explore the nature of a reaction from the POV (point of view) of the ingredients. When chemicals mix to form compounds they don t always

More information

GCSE GRADE D. Equivalent fractions, decimals & percentages. Percentage to decimal to fraction. Fraction to decimal to percentage

GCSE GRADE D. Equivalent fractions, decimals & percentages. Percentage to decimal to fraction. Fraction to decimal to percentage Equivalent fractions, decimals & percentages Percentage to decimal to fraction Fraction to decimal to percentage Decimal to percentage to fraction Increase/Decrease by a percentage Divide a quantity into

More information

HERO LAB ONLINE FOR STARFINDER

HERO LAB ONLINE FOR STARFINDER HERO LAB ONLINE FOR STARFINDER Open Beta BEFORE GETTING STARTED Open Beta Welcome to the Hero Lab Online Open Beta! We ask that you respect LWD by not sharing access or videos with anyone else. While we

More information

Asteroid Destroyer How it Works

Asteroid Destroyer How it Works Asteroid Destroyer How it Works This is a summary of some of the more advance coding associated with the Asteroid Destroyer Game. Many of the events with in the game are common sense other than the following

More information

Assessment Management. Math Boxes 8 2 Math Journal 2, p. 253 Students practice and maintain skills through Math Box problems.

Assessment Management. Math Boxes 8 2 Math Journal 2, p. 253 Students practice and maintain skills through Math Box problems. Objectives To develop addition concepts related to mixed numbers. www.everydaymathonline.com epresentations etoolkit Algorithms Practice EM Facts Workshop Game Family Letters Assessment Management Common

More information

Calculus Problem Solver (Problem Solvers Solution Guides) By Editors of REA;Calculus Study Guides READ ONLINE

Calculus Problem Solver (Problem Solvers Solution Guides) By Editors of REA;Calculus Study Guides READ ONLINE Calculus Problem Solver (Problem Solvers Solution Guides) By Editors of REA;Calculus Study Guides READ ONLINE If searched for the book Calculus Problem Solver (Problem Solvers Solution Guides) by Editors

More information

Label Printer QL-810W/820NWB. Quick Setup Guide (English)

Label Printer QL-810W/820NWB. Quick Setup Guide (English) Label Printer QL-810W/820NWB Quick Setup Guide (English) Label Printer QL-810W/820NWB Printed in China D00RPG001 Quick Setup Guide (English) Available Manuals Product Safety Guide This guide provides safety

More information

Use of Technology. Perform statistical computations on stored data or entered statistics.

Use of Technology. Perform statistical computations on stored data or entered statistics. Chapter 1 Introduction Use of Technology Statistics is a field that deals with sets of data. After the data is collected, it needs to be organized and interpreted. There is a limit to how much of the work

More information

Virginia - Mathematics Standards of Learning (2009): 3.9d, 5.8a,

Virginia - Mathematics Standards of Learning (2009): 3.9d, 5.8a, 1 Lesson Plan Area and Perimeter (Meters) Age group: 4 t h Grade Virginia - Mathematics Standards of Learning (2009): 3.9d, 5.8a, 6.10c Virginia - Mathematics Standards of Learning (2016): 3.8.b, 4.7 Fairfax

More information

Volume Profile Indicator Pro Version

Volume Profile Indicator Pro Version Volume Profile Indicator Pro Version Introduction... 2 Getting Started... 3 Choose your chart history... 3 Selecting Volume Profile and Volume Profile Filter in Chart Indicator window... 3 Overview of

More information

How to Do Word Problems. Building the Foundation

How to Do Word Problems. Building the Foundation Building the Foundation The notion that Mathematics is a language, is held by many mathematicians and is being expressed on frequent occasions. Mathematics is the language of science. It is unique among

More information

All Blocks of Scratch

All Blocks of Scratch All Blocks of Scratch Scratch has over 100 coding blocks, and each one has a unique use. They are all colour-coded into 9 different categories as seen below: You can also create your own block under More

More information

Tracks The HMG Strata Log uses the track system to display information. Each track is used to display a particular type of data.

Tracks The HMG Strata Log uses the track system to display information. Each track is used to display a particular type of data. Chapter 1 Introduction, Tracks and the Text Editor Introduction The HMG Strata Log program is a log drafting program designed for the well-site geologists. With specially designed advanced features, this

More information

static String usersname; public static int numberofplayers; private static double velocity, time;

static String usersname; public static int numberofplayers; private static double velocity, time; A class can include other things besides subroutines. In particular, it can also include variable declarations. Of course, you can declare variables inside subroutines. Those are called local variables.

More information

Assignment Checklist. Prelab Activities. Lab Exercises. Labs Provided by Instructor. Postlab Activities. Section:

Assignment Checklist. Prelab Activities. Lab Exercises. Labs Provided by Instructor. Postlab Activities. Section: 7 Arrays Now go, write it before them in a table, and note it in a book. Isaiah 30:8 To go beyond is as wrong as to fall short. Confucius Begin at the beginning, and go on till you come to the end: then

More information

Locate a Hotspot and Optimize It

Locate a Hotspot and Optimize It Locate a Hotspot and Optimize It 1 Can Recompiling Just One File Make a Difference? Yes, in many cases it can! Often, you can get a major performance boost by recompiling a single file with the optimizing

More information

Chapter Goals. Contents LOOPS

Chapter Goals. Contents LOOPS CHAPTER 4 LOOPS Slides by Donald W. Smith TechNeTrain.com Final Draft Oct 30, 2011 Chapter Goals To implement while, for, and do loops To hand-trace the execution of a program To become familiar with common

More information

Date Performed: Marks Obtained: /10. Group Members (ID):. Experiment # 04. Boolean Expression Simplification and Implementation

Date Performed: Marks Obtained: /10. Group Members (ID):. Experiment # 04. Boolean Expression Simplification and Implementation Name: Instructor: Engr. Date Performed: Marks Obtained: /10 Group Members (ID):. Checked By: Date: Experiment # 04 Boolean Expression Simplification and Implementation OBJECTIVES: To understand the utilization

More information

Loops. Repeat after me

Loops. Repeat after me Loops Repeat after me 1 Loops A loop is a control structure in which a statement or set of statements execute repeatedly How many times the statements repeat is determined by the value of a control variable,

More information

RANDOM NUMBER GAME PROJECT

RANDOM NUMBER GAME PROJECT Random Number Game RANDOM NUMBER GAME - Now it is time to put all your new knowledge to the test. You are going to build a random number game. - The game needs to generate a random number between 1 and

More information

MOBILE ENROLLMENT APPLICATION TRAINING GUIDE

MOBILE ENROLLMENT APPLICATION TRAINING GUIDE MOBILE ENROLLMENT APPLICATION TRAINING GUIDE The Team Beachbody mobile application allows you to build your business on the go. If you have an IPhone or Android you can pre-enroll* customers and Coaches

More information

Chapter 3 - Functions

Chapter 3 - Functions Chapter 3 - Functions 1 3.1 Introduction 3.2 Program Components in C++ 3.3 Math Library Functions 3.4 Functions 3.5 Function Definitions 3.6 Function Prototypes 3.7 Header Files 3.8 Random Number Generation

More information

Algorithmic Complexity

Algorithmic Complexity Algorithmic Complexity Algorithmic Complexity "Algorithmic Complexity", also called "Running Time" or "Order of Growth", refers to the number of steps a program takes as a function of the size of its inputs.

More information

Building a Learning Experience: The Exploros Authoring Tool

Building a Learning Experience: The Exploros Authoring Tool Building a Learning Experience: The Exploros Authoring Tool Version 8.0, September 2016 release Copyright 2014 Exploros Inc. All rights reserved. Table of Contents Overview... 2 Editing and making masters...

More information

Last Time: Rolling a Weighted Die

Last Time: Rolling a Weighted Die Last Time: Rolling a Weighted Die import math/rand func DieRoll() int { return rand.intn(6) + 1 Multiple Rolls When we run this program 100 times, we get the same outcome! func main() int { fmt.println(dieroll())

More information

University of Stirling Computing Science Telecommunications Systems and Services CSCU9YH: Android Practical 1 Hello World

University of Stirling Computing Science Telecommunications Systems and Services CSCU9YH: Android Practical 1 Hello World University of Stirling Computing Science Telecommunications Systems and Services CSCU9YH: Android Practical 1 Hello World Before you do anything read all of the following red paragraph! For this lab you

More information

Common Linux and Ubuntu symbols. Tux the Penguin Tux is the popular Penguin icon for Linux.

Common Linux and Ubuntu symbols. Tux the Penguin Tux is the popular Penguin icon for Linux. Welcome to the world of Linux computing at Computer Reach. This Quick Guide provides screenshots and brief descriptions of our own build of Edubuntu 14.04 LTS ( Long Term Support ) with the Xubuntu Desktop

More information

Chapter 3 - Functions. Chapter 3 - Functions. 3.1 Introduction. 3.2 Program Components in C++

Chapter 3 - Functions. Chapter 3 - Functions. 3.1 Introduction. 3.2 Program Components in C++ Chapter 3 - Functions 1 Chapter 3 - Functions 2 3.1 Introduction 3.2 Program Components in C++ 3.3 Math Library Functions 3. Functions 3.5 Function Definitions 3.6 Function Prototypes 3. Header Files 3.8

More information

Grade 6 Math Proficiency Scale Quarter 1

Grade 6 Math Proficiency Scale Quarter 1 Number Systems Geometry Grade 6 Math Proficiency Scale Quarter 1 1 = Novice 2 = Partially Proficient partial proficient the partially proficient(2) standard partial proficient start the Computes quotients

More information

Add in a new balloon sprite, and a suitable stage backdrop.

Add in a new balloon sprite, and a suitable stage backdrop. Balloons Introduction You are going to make a balloon-popping game! Step 1: Animating a balloon Activity Checklist Start a new Scratch project, and delete the cat sprite so that your project is empty.

More information

Getting to Know Windows 10. Handout

Getting to Know Windows 10. Handout Handout Handout Session Overview We re excited to share the exciting new features of Windows 10 and look forward to answering any questions in real time as we learn more about this updated platform together.

More information