[Video] and so on... Problems that require a function definition can be phrased as a word problem such as the following:

Size: px
Start display at page:

Download "[Video] and so on... Problems that require a function definition can be phrased as a word problem such as the following:"

Transcription

1 Defining Functions (Time 20 minutes) Defining a value is helpful when a program has lots of identical expressions. Sometimes, however, a program has expressions that aren t identical, but are just very similar. A program that has fifty solid, green triangles can be simplified by defining a single value, as long as they are all the same size. But what if a program has fifty green triangles of different sizes? [Video] Think about the Image functions you have already used, like star and circle. They take inputs and produce images. Similarly, we might want a green-triangle function that takes the size as an input and produces a green triangle. The programming language doesn t provide this function, but it does let you define your own functions. We want to define our own function (let s call it gt, for green triangle) that takes in a Number and produces a solid green triangle of whatever size we want. (gt 10) would be a shortcut for (triangle 10 "solid" "green") (gt 20) would be a shortcut for (triangle 20 "solid" "green") (gt 1980) would be a shortcut for (triangle 1980 "solid" "green") (gt 98) would be a shortcut for (triangle 98 "solid" "green") and so on... To make this more concrete, have a student "act" as gt. To call the function, another student says "gt ten!" (calling out both the name of the function and the input). The actor responds "triangle ten solid green", to signify the work that the function does when it receives an input. Problems that require a function definition can be phrased as a word problem such as the following: Define a function gt, which takes in a Number and produces a solid, green triangle of the given size. Luckily, we can follow specific steps to define functions from word problems. Let s work through the steps to define gt. Page 11 of 19

2 Step 1: Write the Contract The first step in defining a function is to write its Contract. Contracts summarize three pieces of essential information about a function: The Name of the function: in this case, the name is given, as gt The Domain of a function, which is the types of data that the function expects: in this case, just a single Number. The Range of this function, which is the type of data that the function produces: in this case an Image since it produces solid, green triangles Here s the gt Contract written as code. The line starts with a semicolon, followed by the name, a colon, the Domain, an arrow, then the Range: It is often a good idea to give students examples of different word problems, and have them pick out the contract for each one. Contracts are written as comments in Racket: whenever Racket sees a semicolon, it ignores the rest of the line after the semicolon. This means that you will never get an error message from Racket for a malformed comment. That also means that you have to check your students contracts more closely, because the computer will not check anything about them (format or contents). Word problems give several clues as to the name, Domain, and Range of a Be sure to read the problem carefully! Some word problems will describe functions that take multiple inputs in their Domain, or inputs of different types. Open your workbook to Page 9, where it says "fast functions", and write the Contract for the gt Page 12 of 19

3 Step 2: Give Examples It s always a good idea to think through a few examples before defining the Examples show the shortcut that a function is trying to provide. This programming language provides a special construct, called EXAMPLE, which helps you write down how the function is used and what it should compute. You can see two such examples here, written under the contract: (EXAMPLE (gt 100) (triangle 100 "solid" "green")) These examples tell the computer that writing (gt 50) should produce the same result as (triangle 50 "solid" "green"), and that (gt 100) is equivalent to (triangle 100 "solid" "green"). The word problem specifies that the examples must use the name gt, and must all produce solid, green triangles. In your workbook, write two examples of your own for this Be sure to point out that EXAMPLE is capitalized, and that all examples are written in the definitions area. Many students will follow along here without really understanding, simply by patternmatching. Be sure to ask them lots of questions, to have them justify each step: Why does the example have to start with gt? (Because it s the Name of the function, specified in the contract) How do we know gt requires only one number? (Because it s the Domain of the function, specified in the contract) How do we know to use triangle? (Because the word problem tells us what shape it has to produce) How do we know the triangle has to be solid and green? (Because the word problem tells us what shape it has to produce) How do we know the correct order for the inputs to triangle? (The contract for triangle tells us) One of the big ideas here is that each step informs the subsequent step. Make sure to explicitly connect them for students, pointing out that the Contract gives strong hints about how to write each part of the examples. Page 13 of 19

4 Programmers often write several examples for each Examples like these are a way for a programmer to think through their work. Examples also make it easy to look at what parts of the expression can change, or vary, depending on the inputs. Write the following examples on paper and circle the parts of the examples that are different: (EXAMPLE (gt 100) (triangle 100 "solid" "green")) Pay close attention to what students circle: they should circle something in each part of the Example (the function use on the left and the expression on the right); they should also use the same name for the same concept across the expressions. Their circles will correspond to the variables in their functions, so the variables should appear in both the left and the right sides of the Example. Once you know which parts of the expression change, label the circles with a name that describe their contents. For example, in our two gt examples, we have circled the size of the triangle. Your circled and labeled expressions should look like the following diagram: Step 3: Define the function After writing the Contract, two Examples, and the labeled circles, defining the function itself is relatively simple. Copy everything that stays the same (everything that wasn t circled) in one of your EXAMPLE lines (onto paper or into your editor) In place of each circle, write the label you gave to that circle Change EXAMPLE to define This can be a good opportunity to point out that the parts of the examples that were changeable (or vary-able) are what determines when we need to use the variable. (EXAMPLE (gt 100) (triangle 100 "solid" "green")) (define (gt size) (triangle size "solid" "green")) Page 14 of 19

5 On your paper, define the gt function, then type the Contract, Examples and Definition into the Definitions area. Click "Run", to have the computer read this definition. Use the function you ve defined, by typing (gt 100) in the Interactions area. Try using the function with different Numbers Your answer should look something like this.: gt : Number - > Image%0A %0A (EXAMPLE (gt 95) (triangle 95 "solid" "green"))%0a (define (gt size) (triangle size "solid" "green")) (EXAMPLE (gt 95) (triangle 95 "solid" "green")) (define (gt size) (triangle size "solid" "green")) ] Page 15 of 19

6 These steps are knows as the Design Recipe, which is a powerful tool for defining functions based on word problems. Practice: Write a function bc, which takes in a Number and produces a solid, blue circle of the given size. In your workbook (still on Page 9), fill out the Contract for this What is the function s Name? What is the function s Domain? What is the function s Range? Using the Contract you ve written, write two Examples for the What part of the Contract helps you fill in the left side of an Example? What part of the Contract tells you what the function needs as an input? How can the Range of a function help you write the Example? Looking at those two examples, circle the parts that are changeable, then label them with a good variable name. Is the variable name you chose the same as the one you chose for gt? Why or why not? Why is it helpful to choose a variable name before defining the function? Now write the function definition, using the Examples you ve written. You will want to explicitly connect each step in the Design Recipe to every other step. Ask students to justify each part of their Contract by referring back to the Word Problem, to justify each step of their Examples by referring back to the Word Problem and Contract, and finally to justify each step of the definition by referring to the Examples. The same variable name can be used in multiple functions, just as in math (where many functions use x as the variable name, for example) Thinking through the word problem step-by-step, we arrive at: ; bc : Number -> Image (EXAMPLE (bc 16) (circle 16 "solid" "blue")) (EXAMPLE (bc 421) (circle 421 "solid" "blue")) (define (bc radius) (circle radius "solid" "blue")) Page 16 of 19

7 Practice: Write a function dot, which takes in a Color and produces a solid circle of the given color, with a radius of 15. In your workbook (still on Page 9), fill out the Contract for this What is the function s Name? What is the function s Domain? What is the function s Range? Using the Contract you ve written, write two Examples for the function, then circle and label the variables. What part of the Contract helps you fill in the left side of an Example? What part of the Contract tells you what the function needs as input? How can the Range of a function help you write the Example? What is a good variable name for what changes between these Examples. Now write the function definition, using the Examples you ve written. Thinking through the word problem step-by-step, we arrive at: ; dot : String -> Image (EXAMPLE (dot "red") (circle 15 "solid" "red")) (EXAMPLE (dot "blue") (circle 15 "solid" "blue")) (define (dot color) (circle 15 "solid" color)) Page 17 of 19

Animations involving numbers

Animations involving numbers 136 Chapter 8 Animations involving numbers 8.1 Model and view The examples of Chapter 6 all compute the next picture in the animation from the previous picture. This turns out to be a rather restrictive

More information

Once you define a new command, you can try it out by entering the command in IDLE:

Once you define a new command, you can try it out by entering the command in IDLE: 1 DEFINING NEW COMMANDS In the last chapter, we explored one of the most useful features of the Python programming language: the use of the interpreter in interactive mode to do on-the-fly programming.

More information

Table of Laplace Transforms

Table of Laplace Transforms Table of Laplace Transforms 1 1 2 3 4, p > -1 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 Heaviside Function 27 28. Dirac Delta Function 29 30. 31 32. 1 33 34. 35 36. 37 Laplace Transforms

More information

Have the students look at the editor on their computers. Refer to overhead projector as necessary.

Have the students look at the editor on their computers. Refer to overhead projector as necessary. Intro to Programming (Time 15 minutes) Open the programming tool of your choice: If you ve installed, DrRacket, double-click the application to launch it. If you are using the online-tool, click here to

More information

Name: Bootstrap:2. Class:

Name: Bootstrap:2. Class: Name: Bootstrap:2 Class: Lesson 1 Racket Code (define AGE 14) (define A-NUMBER 0.6) (define SPEED -90) Pyret Code AGE = 14 A-NUMBER = 0.6 SPEED = -90 Numbers Two of your own: (define CLASS Bootstrap )

More information

Animations that make decisions

Animations that make decisions Chapter 17 Animations that make decisions 17.1 String decisions Worked Exercise 17.1.1 Develop an animation of a simple traffic light. It should initially show a green disk; after 5 seconds, it should

More information

Project 2: How Parentheses and the Order of Operations Impose Structure on Expressions

Project 2: How Parentheses and the Order of Operations Impose Structure on Expressions MAT 51 Wladis Project 2: How Parentheses and the Order of Operations Impose Structure on Expressions Parentheses show us how things should be grouped together. The sole purpose of parentheses in algebraic

More information

Chapter 1 Operations With Numbers

Chapter 1 Operations With Numbers Chapter 1 Operations With Numbers Part I Negative Numbers You may already know what negative numbers are, but even if you don t, then you have probably seen them several times over the past few days. If

More information

Logical Connectives. All kittens are cute. ; I like pizza. ; The sky is blue. ; Triangles have three sides.

Logical Connectives. All kittens are cute. ; I like pizza. ; The sky is blue. ; Triangles have three sides. Logical Connectives We have learned what a statement is. Recall that a statement is just a proposition that asserts something that is either true or false. For instance, these are propositions: All kittens

More information

Making a maze with Scratch

Making a maze with Scratch Making a maze with Scratch Can you make it to the end? Student guide An activity by the Australian Computing Academy Let s go! Step 0: Get started Go to www.scratch.mit.edu Sign in with the username and

More information

Name: Tutor s

Name: Tutor s Name: Tutor s Email: Bring a couple, just in case! Necessary Equipment: Black Pen Pencil Rubber Pencil Sharpener Scientific Calculator Ruler Protractor (Pair of) Compasses 018 AQA Exam Dates Paper 1 4

More information

Lecture 1: Overview

Lecture 1: Overview 15-150 Lecture 1: Overview Lecture by Stefan Muller May 21, 2018 Welcome to 15-150! Today s lecture was an overview that showed the highlights of everything you re learning this semester, which also meant

More information

Self-Teach Exercises: Getting Started Turtle Python

Self-Teach Exercises: Getting Started Turtle Python Self-Teach Exercises: Getting Started Turtle Python 0.1 Select Simple drawing with pauses Click on the Help menu, point to Examples 1 drawing, counting, and procedures, and select the first program on

More information

Boolean Expressions. Is Equal and Is Not Equal

Boolean Expressions. Is Equal and Is Not Equal 3 MAKING CHOICES Now that we ve covered how to create constants and variables, you re ready to learn how to tell your computer to make choices. This chapter is about controlling the flow of a computer

More information

Interactive Tourist Map

Interactive Tourist Map Adobe Edge Animate Tutorial Mouse Events Interactive Tourist Map Lesson 2 Make click events In the last lesson you learned how to set up you stage and get your project ready for some interactivity. You

More information

Create Turtles with Python

Create Turtles with Python Create Turtles with Python BY PATRICIA FOSTER / PROGRAMMING / OCTOBER 2017 ISSUE Create turtles with Python, the programming language. Turtles make great pets. They re small, slow, and clean. Plus, who

More information

Working with images and scenes

Working with images and scenes Working with images and scenes CS 5010 Program Design Paradigms Bootcamp Mitchell Wand, 2012-2014 This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License. 1 Lesson

More information

Tips and Guidance for Analyzing Data. Executive Summary

Tips and Guidance for Analyzing Data. Executive Summary Tips and Guidance for Analyzing Data Executive Summary This document has information and suggestions about three things: 1) how to quickly do a preliminary analysis of time-series data; 2) key things to

More information

Electrical Circuits and Random Walks: Challenge Problems

Electrical Circuits and Random Walks: Challenge Problems Electrical Circuits and Random Walks: Challenge Problems LA Math Circle, High School II December 9, 2018 1 Effective Resistance The most efficient way of calculating electrical properties of a circuit

More information

Grade 6 Math Circles November 6 & Relations, Functions, and Morphisms

Grade 6 Math Circles November 6 & Relations, Functions, and Morphisms Faculty of Mathematics Waterloo, Ontario N2L 3G1 Centre for Education in Mathematics and Computing Relations Let s talk about relations! Grade 6 Math Circles November 6 & 7 2018 Relations, Functions, and

More information

OrbBasic Lesson 1 Goto and Variables: Student Guide

OrbBasic Lesson 1 Goto and Variables: Student Guide OrbBasic Lesson 1 Goto and Variables: Student Guide Sphero MacroLab is a really cool app to give the Sphero commands, but it s limited in what it can do. You give it a list of commands and it starts at

More information

Textures and UV Mapping in Blender

Textures and UV Mapping in Blender Textures and UV Mapping in Blender Categories : Uncategorised Date : 21st November 2017 1 / 25 (See below for an introduction to UV maps and unwrapping) Jim s Notes regarding Blender objects, the UV Editor

More information

OrbBasic 1: Student Guide

OrbBasic 1: Student Guide OrbBasic 1: Student Guide Sphero MacroLab is a really cool app to give the Sphero commands, but it s limited in what it can do. You give it a list of commands and it starts at the top and goes to the bottom,

More information

Lab # 2. For today s lab:

Lab # 2. For today s lab: 1 ITI 1120 Lab # 2 Contributors: G. Arbez, M. Eid, D. Inkpen, A. Williams, D. Amyot 1 For today s lab: Go the course webpage Follow the links to the lab notes for Lab 2. Save all the java programs you

More information

1 Introduction to Matlab

1 Introduction to Matlab 1 Introduction to Matlab 1. What is Matlab? Matlab is a computer program designed to do mathematics. You might think of it as a super-calculator. That is, once Matlab has been started, you can enter computations,

More information

OrbBasic LESSON 1 Goto and Variables Student Guide

OrbBasic LESSON 1 Goto and Variables Student Guide OrbBasic LESSON 1 Goto and Variables Student Guide What is OrbBasic? OrbBasic is a programming language. A programming language is a list of instructions that tells a computer what to do. Although MacroLab

More information

Heuristic Evaluation of [ Quest ]

Heuristic Evaluation of [ Quest ] Heuristic Evaluation of [ Quest ] 1. Problem Quest is an app that allows you to stay involved in, participate in, and create local clubs and events happening in your community 2. Violations Found 1. [H10.

More information

SPRITES Moving Two At the Same Using Game State

SPRITES Moving Two At the Same Using Game State If you recall our collision detection lesson, you ll likely remember that you couldn t move both sprites at the same time unless you hit a movement key for each at exactly the same time. Why was that?

More information

1 Getting started with Processing

1 Getting started with Processing cis3.5, spring 2009, lab II.1 / prof sklar. 1 Getting started with Processing Processing is a sketch programming tool designed for use by non-technical people (e.g., artists, designers, musicians). For

More information

Homework: Simple functions and conditionals

Homework: Simple functions and conditionals Homework: Simple functions and conditionals COMP 50 Fall 2013 This homework is due at 11:59PM on Monday, September 16. If all goes well, you will download an extension to DrRacket that enables you to submit

More information

POSTER PROBLEMS LAUNCH POSE A PROBLEM WORKSHOP POST, SHARE, COMMENT STRATEGIC TEACHER-LED DISCUSSION FOCUS PROBLEM: SAME CONCEPT IN A NEW CONTEXT

POSTER PROBLEMS LAUNCH POSE A PROBLEM WORKSHOP POST, SHARE, COMMENT STRATEGIC TEACHER-LED DISCUSSION FOCUS PROBLEM: SAME CONCEPT IN A NEW CONTEXT POSTER PROLEMS Triangles To Order Seventh Grade Poster Problem Geometry In this poster problem, students try to build triangles to particular specifications (specs). The specs can include side lengths,

More information

CSCI 1100L: Topics in Computing Lab Lab 11: Programming with Scratch

CSCI 1100L: Topics in Computing Lab Lab 11: Programming with Scratch CSCI 1100L: Topics in Computing Lab Lab 11: Programming with Scratch Purpose: We will take a look at programming this week using a language called Scratch. Scratch is a programming language that was developed

More information

x 2 + 3, r 4(x) = x2 1

x 2 + 3, r 4(x) = x2 1 Math 121 (Lesieutre); 4.2: Rational functions; September 1, 2017 1. What is a rational function? It s a function of the form p(x), where p(x) and q(x) are both polynomials. In other words, q(x) something

More information

Intro to Python Programming

Intro to Python Programming Intro to Python Programming If you re using chromebooks at your school, you can use an online editor called Trinket to code in Python, and you ll have an online portfolio of your projects which you can

More information

Digitizer Leapfrogging

Digitizer Leapfrogging Digitizer Leapfrogging Leapfrogging lets you digitize objects that are larger than your digitizing arm. You start with one section of the object, then leapfrog around by creating leapfrog stations in both

More information

Adding content to your Blackboard 9.1 class

Adding content to your Blackboard 9.1 class Adding content to your Blackboard 9.1 class There are quite a few options listed when you click the Build Content button in your class, but you ll probably only use a couple of them most of the time. Note

More information

Direct Variations DIRECT AND INVERSE VARIATIONS 19. Name

Direct Variations DIRECT AND INVERSE VARIATIONS 19. Name DIRECT AND INVERSE VARIATIONS 19 Direct Variations Name Of the many relationships that two variables can have, one category is called a direct variation. Use the description and example of direct variation

More information

Depending on the computer you find yourself in front of, here s what you ll need to do to open SPSS.

Depending on the computer you find yourself in front of, here s what you ll need to do to open SPSS. 1 SPSS 13.0 for Windows Introductory Assignment Material covered: Creating a new SPSS data file, variable labels, value labels, saving data files, opening an existing SPSS data file, generating frequency

More information

Boolean Expressions. Is Equal and Is Not Equal

Boolean Expressions. Is Equal and Is Not Equal 3 MAKING CHOICES ow that we ve covered how to create constants and variables, you re ready to learn how to tell your computer to make choices. This chapter is about controlling the flow of a computer program

More information

Intro. Scheme Basics. scm> 5 5. scm>

Intro. Scheme Basics. scm> 5 5. scm> Intro Let s take some time to talk about LISP. It stands for LISt Processing a way of coding using only lists! It sounds pretty radical, and it is. There are lots of cool things to know about LISP; if

More information

APPM 2460 Matlab Basics

APPM 2460 Matlab Basics APPM 2460 Matlab Basics 1 Introduction In this lab we ll get acquainted with the basics of Matlab. This will be review if you ve done any sort of programming before; the goal here is to get everyone on

More information

Close Your File Template

Close Your File Template In every sale there is always a scenario where I can t get someone to respond. No matter what I do. I can t get an answer from them. When people stop responding I use the Permission To. This is one of

More information

[ the academy_of_code] Senior Beginners

[ the academy_of_code] Senior Beginners [ the academy_of_code] Senior Beginners 1 Drawing Circles First step open Processing Open Processing by clicking on the Processing icon (that s the white P on the blue background your teacher will tell

More information

Minerva. Quick Start Guide

Minerva. Quick Start Guide Minerva Quick Start Guide Welcome to IRR s new Minerva reporting system! Powered by SAS Visual Analytics, this tool is pretty user-friendly, but there are some basic orientation tips we d like to walk

More information

Lecture 8 Data Structures

Lecture 8 Data Structures Lecture 8 Data Structures 15-122: Principles of Imperative Computation (Spring 2018) Frank Pfenning, André Platzer, Rob Simmons, Iliano Cervesato In this lecture we introduce the idea of imperative data

More information

Interactive Tourist Map

Interactive Tourist Map Adobe Edge Animate Tutorial Mouse Events Interactive Tourist Map Lesson 1 Set up your project This lesson aims to teach you how to: Import images Set up the stage Place and size images Draw shapes Make

More information

Part II Composition of Functions

Part II Composition of Functions Part II Composition of Functions The big idea in this part of the book is deceptively simple. It s that we can take the value returned by one function and use it as an argument to another function. By

More information

Name: Student Workbook. Class:

Name: Student Workbook. Class: Name: Student Workbook Class: Workbook v0.9 Brought to you by the Bootstrap team: Emma Youndtsmith Emmanuel Schanzer Kathi Fisler Joe Politz Shriram Krishnamurthi Visual Design: Colleen Murphy Bootstrap

More information

NCMail: Microsoft Outlook User s Guide

NCMail: Microsoft Outlook User s Guide NCMail: Microsoft Outlook 2007 Email User s Guide Revision 1.1 3/9/2009 This document covers how to use Microsoft Outlook 2007 for accessing your email with the NCMail Exchange email system. The syntax

More information

Section 4.1: Introduction to Trigonometry

Section 4.1: Introduction to Trigonometry Section 4.1: Introduction to Trigonometry Review of Triangles Recall that the sum of all angles in any triangle is 180. Let s look at what this means for a right triangle: A right angle is an angle which

More information

Lesson 3.1. Midpoint and Dilations (5.1.1, 5.2.1, and 5.2.2) Pages 8-38 in Unit 5 Workbook

Lesson 3.1. Midpoint and Dilations (5.1.1, 5.2.1, and 5.2.2) Pages 8-38 in Unit 5 Workbook Lesson 3.1 Midpoint and Dilations (5.1.1, 5.2.1, and 5.2.2) Pages 8-38 in Unit 5 Workbook midpoint What is a midpoint? (page 8) A point that is exactly ½ the distance between 2 endpoints. Look at the graph

More information

Chapter One: Getting Started With IBM SPSS for Windows

Chapter One: Getting Started With IBM SPSS for Windows Chapter One: Getting Started With IBM SPSS for Windows Using Windows The Windows start-up screen should look something like Figure 1-1. Several standard desktop icons will always appear on start up. Note

More information

The first program: Little Crab

The first program: Little Crab Chapter 2 The first program: Little Crab topics: concepts: writing code: movement, turning, reacting to the screen edges source code, method call, parameter, sequence, if-statement In the previous chapter,

More information

Quick Guide. Choose It Maker 2. Overview/Introduction. ChooseIt!Maker2 is a motivating program at first because of the visual and musical

Quick Guide. Choose It Maker 2. Overview/Introduction. ChooseIt!Maker2 is a motivating program at first because of the visual and musical Choose It Maker 2 Quick Guide Created 09/06 Updated SM Overview/Introduction This is a simple to use piece of software that can be tailored for use by children as an alternative to a pencil and paper worksheet,

More information

Arduino IDE Friday, 26 October 2018

Arduino IDE Friday, 26 October 2018 Arduino IDE Friday, 26 October 2018 12:38 PM Looking Under The Hood Of The Arduino IDE FIND THE ARDUINO IDE DOWNLOAD First, jump on the internet with your favorite browser, and navigate to www.arduino.cc.

More information

EXCEL BASICS. Helen Mills META Solutions

EXCEL BASICS. Helen Mills META Solutions EXCEL BASICS Helen Mills META Solutions OUTLINE Introduction- Highlight Basic Components of Microsoft Excel Entering & Formatting Data, Numbers, & Tables Calculating Totals & Summaries Using Formulas Conditional

More information

BB4W. KS3 Programming Workbook INTRODUCTION TO. BBC BASIC for Windows. Name: Class:

BB4W. KS3 Programming Workbook INTRODUCTION TO. BBC BASIC for Windows. Name: Class: KS3 Programming Workbook INTRODUCTION TO BB4W BBC BASIC for Windows Name: Class: Resource created by Lin White www.coinlea.co.uk This resource may be photocopied for educational purposes Introducing BBC

More information

Open Book Format.docx. Headers and Footers. Microsoft Word Part 3 Office 2016

Open Book Format.docx. Headers and Footers. Microsoft Word Part 3 Office 2016 Microsoft Word Part 3 Office 2016 Open Book Format.docx Headers and Footers If your document has a page number, you already have a header or footer (and can double click on it to open it). If you did not

More information

Teach Yourself Microsoft Word Topic 12 - Multipage Document Features Part 1

Teach Yourself Microsoft Word Topic 12 - Multipage Document Features Part 1 http://www.gerrykruyer.com Teach Yourself Microsoft Word Topic 12 - Multipage Document Features Part 1 In this class and the next few you will find out how to use MS Word features that make it easier to

More information

Grade 2 I Can Math Statements

Grade 2 I Can Math Statements Grade 2 I Can Math Statements Operations and Algebraic Thinking 2.OA.1 I can solve one- and two-step addition and subtraction word problems within 100. Visualize Retell Think Share Your Strategies More

More information

NCMail: Microsoft Outlook User s Guide

NCMail: Microsoft Outlook User s Guide NCMail: Microsoft Outlook 2003 Email User s Guide Revision 1.0 11/10/2007 This document covers how to use Microsoft Outlook 2003 for accessing your email with the NCMail Exchange email system. The syntax

More information

Inspire Ten Minute Task #1

Inspire Ten Minute Task #1 Inspire Ten Minute Task #1 Pen Power Take advantage of virtual pens with their variety of colours, pen thicknesses and transparency levels, there is so much more they enable you to do. 1. Look on the toolbar

More information

Outlook Web Access. In the next step, enter your address and password to gain access to your Outlook Web Access account.

Outlook Web Access. In the next step, enter your  address and password to gain access to your Outlook Web Access account. Outlook Web Access To access your mail, open Internet Explorer and type in the address http://www.scs.sk.ca/exchange as seen below. (Other browsers will work but there is some loss of functionality) In

More information

AppleWorks Tips & Tricks

AppleWorks Tips & Tricks DEFAULT FONT Did you know you can set the font and size that AppleWorks will use when you open it on your computer? You can set the font and size that you want your students to use on your classroom computers.

More information

The name of our class will be Yo. Type that in where it says Class Name. Don t hit the OK button yet.

The name of our class will be Yo. Type that in where it says Class Name. Don t hit the OK button yet. Mr G s Java Jive #2: Yo! Our First Program With this handout you ll write your first program, which we ll call Yo. Programs, Classes, and Objects, Oh My! People regularly refer to Java as a language that

More information

Lesson 1 - Getting Started

Lesson 1 - Getting Started Expected Time: 45-60 minutes Lesson 1 - Getting Started Aspect of National Curriculum Programme of Study covered: KS2 objective a - Design, write and debug programs that accomplish specific goals, including

More information

SCRATCH MODULE 3: NUMBER CONVERSIONS

SCRATCH MODULE 3: NUMBER CONVERSIONS SCRATCH MODULE 3: NUMBER CONVERSIONS INTRODUCTION The purpose of this module is to experiment with user interactions, error checking input, and number conversion algorithms in Scratch. We will be exploring

More information

4. Write sets of directions for how to check for direct variation. How to check for direct variation by analyzing the graph :

4. Write sets of directions for how to check for direct variation. How to check for direct variation by analyzing the graph : Name Direct Variations There are many relationships that two variables can have. One of these relationships is called a direct variation. Use the description and example of direct variation to help you

More information

CSE/NEUBEH 528 Homework 0: Introduction to Matlab

CSE/NEUBEH 528 Homework 0: Introduction to Matlab CSE/NEUBEH 528 Homework 0: Introduction to Matlab (Practice only: Do not turn in) Okay, let s begin! Open Matlab by double-clicking the Matlab icon (on MS Windows systems) or typing matlab at the prompt

More information

A Document Created By Lisa Diner Table of Contents Western Quebec School Board October, 2007

A Document Created By Lisa Diner Table of Contents Western Quebec School Board October, 2007 Table of Contents A Document Created By Lisa Diner Western Quebec School Board October, 2007 Table of Contents Some Basics... 3 Login Instructions... 4 To change your password... 6 Options As You Login...

More information

The Anglemaker Program

The Anglemaker Program C h a p t e r 3 The Anglemaker Program In this chapter, you will learn the following to World Class standards: 1. Drawing and Labeling the Anglemaker Programming Sketch 2. Launching the Visual LISP Editor

More information

Name: Bootstrap:Reactive. Class:

Name: Bootstrap:Reactive. Class: Name: Bootstrap:Reactive Class: Workbook v0.9 Brought to you by the Bootstrap team: Emma Youndtsmith Emmanuel Schanzer Kathi Fisler Joe Politz Shriram Krishnamurthi Visual Design: Colleen Murphy Bootstrap

More information

(Refer Slide Time 6:48)

(Refer Slide Time 6:48) Digital Circuits and Systems Prof. S. Srinivasan Department of Electrical Engineering Indian Institute of Technology Madras Lecture - 8 Karnaugh Map Minimization using Maxterms We have been taking about

More information

Working with Windows Movie Maker

Working with Windows Movie Maker Working with Windows Movie Maker These are the work spaces in Movie Maker. Where can I get content? You can use still images, OR video clips in Movie Maker. If these are not images you created yourself,

More information

Matlab for FMRI Module 1: the basics Instructor: Luis Hernandez-Garcia

Matlab for FMRI Module 1: the basics Instructor: Luis Hernandez-Garcia Matlab for FMRI Module 1: the basics Instructor: Luis Hernandez-Garcia The goal for this tutorial is to make sure that you understand a few key concepts related to programming, and that you know the basics

More information

(6.6) Geometry and spatial reasoning. The student uses geometric vocabulary to describe angles, polygons, and circles.

(6.6) Geometry and spatial reasoning. The student uses geometric vocabulary to describe angles, polygons, and circles. (6.6) Geometry and spatial reasoning. The student uses geometric vocabulary to describe angles, polygons, and circles. (6.6.a) Geometry and spatial reasoning. The student uses geometric vocabulary to describe

More information

You just told Matlab to create two strings of letters 'I have no idea what I m doing' and to name those strings str1 and str2.

You just told Matlab to create two strings of letters 'I have no idea what I m doing' and to name those strings str1 and str2. Chapter 2: Strings and Vectors str1 = 'this is all new to me' str2='i have no clue what I am doing' str1 = this is all new to me str2 = I have no clue what I am doing You just told Matlab to create two

More information

AREA Judo Math Inc.

AREA Judo Math Inc. AREA 2013 Judo Math Inc. 6 th grade Problem Solving Discipline: Black Belt Training Order of Mastery: Area 1. Area of triangles by composition 2. Area of quadrilaterals by decomposing 3. Draw polygons

More information

PaintPot. Figure 2-1. The PaintPot app

PaintPot. Figure 2-1. The PaintPot app Chapter 2 PaintPot This tutorial introduces the Canvas component for creating simple, two-dimensional (2D) graphics. You ll build PaintPot, an app that lets the user draw on the screen in different colors,

More information

1: Introduction to Object (1)

1: Introduction to Object (1) 1: Introduction to Object (1) 김동원 2003.01.20 Overview (1) The progress of abstraction Smalltalk Class & Object Interface The hidden implementation Reusing the implementation Inheritance: Reusing the interface

More information

9 R1 Get another piece of paper. We re going to have fun keeping track of (inaudible). Um How much time do you have? Are you getting tired?

9 R1 Get another piece of paper. We re going to have fun keeping track of (inaudible). Um How much time do you have? Are you getting tired? Page: 1 of 14 1 R1 And this is tell me what this is? 2 Stephanie x times y plus x times y or hm? 3 R1 What are you thinking? 4 Stephanie I don t know. 5 R1 Tell me what you re thinking. 6 Stephanie Well.

More information

Adobe InDesign CC Tutorial Part 1. By Kelly Conley

Adobe InDesign CC Tutorial Part 1. By Kelly Conley Adobe InDesign CC Tutorial Part 1 By Kelly Conley 1 Table of Contents Overview Overview 3 Interface Overview 4 Documents 5 Creating and Setting a New Document 5 Text 6 Creating a Text Frame and Entering

More information

INVESTIGATE: PARAMETRIC AND CUSTOMIZABLE MODELS

INVESTIGATE: PARAMETRIC AND CUSTOMIZABLE MODELS LEARNING OBJECTIVES General Confidence writing basic code with simple parameters Understanding measurement and dimensions 3D Design (Parametric Modeling) Modifying parameters Basic OpenSCAD code Translation

More information

Introduction to Matlab

Introduction to Matlab What is Matlab? Introduction to Matlab Matlab is software written by a company called The Mathworks (mathworks.com), and was first created in 1984 to be a nice front end to the numerical routines created

More information

In this lesson you are going to create a drawing program similar to Windows Paint. 1. Start with a new project and remove the default cat sprite.

In this lesson you are going to create a drawing program similar to Windows Paint. 1. Start with a new project and remove the default cat sprite. Drawing Program In this lesson you are going to create a drawing program similar to Windows Paint. 1. Start with a new project and remove the default cat sprite. 2. Create a new sprite. 3. The new sprite

More information

Sorting and Filtering Data

Sorting and Filtering Data chapter 20 Sorting and Filtering Data IN THIS CHAPTER Sorting...................................................... page 332 Filtering..................................................... page 337 331

More information

FROM A RELATIONAL TO A MULTI-DIMENSIONAL DATA BASE

FROM A RELATIONAL TO A MULTI-DIMENSIONAL DATA BASE FROM A RELATIONAL TO A MULTI-DIMENSIONAL DATA BASE David C. Hay Essential Strategies, Inc In the buzzword sweepstakes of 1997, the clear winner has to be Data Warehouse. A host of technologies and techniques

More information

Touring the Mac. S e s s i o n 3 : U S E A N APPLICATION

Touring the Mac. S e s s i o n 3 : U S E A N APPLICATION Touring the Mac S e s s i o n 3 : U S E A N APPLICATION Touring_the_Mac_Session-3_Jan-25-2011 1 This session covers opening an application and typing a document using the TextEdit application which is

More information

Section 0.3 The Order of Operations

Section 0.3 The Order of Operations Section 0.3 The Contents: Evaluating an Expression Grouping Symbols OPERATIONS The Distributive Property Answers Focus Exercises Let s be reminded of those operations seen thus far in the course: Operation

More information

On the Web sun.com/aboutsun/comm_invest STAROFFICE 8 DRAW

On the Web sun.com/aboutsun/comm_invest STAROFFICE 8 DRAW STAROFFICE 8 DRAW Graphics They say a picture is worth a thousand words. Pictures are often used along with our words for good reason. They help communicate our thoughts. They give extra information that

More information

Section 2. Sending s

Section 2. Sending  s Start IT (itq) Using E-mail Section 2 Sending E-mails Topics contained within this section: Composing E-mail Using Addressing Using Spell Checking Sending Messages Understanding Guidelines Outlook 2007

More information

Grade 6 Math Circles October 16 & Non-Euclidean Geometry and the Globe

Grade 6 Math Circles October 16 & Non-Euclidean Geometry and the Globe Faculty of Mathematics Waterloo, Ontario N2L 3G1 Centre for Education in Mathematics and Computing Grade 6 Math Circles October 16 & 17 2018 Non-Euclidean Geometry and the Globe (Euclidean) Geometry Review:

More information

Enums. In this article from my free Java 8 course, I will talk about the enum. Enums are constant values that can never be changed.

Enums. In this article from my free Java 8 course, I will talk about the enum. Enums are constant values that can never be changed. Enums Introduction In this article from my free Java 8 course, I will talk about the enum. Enums are constant values that can never be changed. The Final Tag To display why this is useful, I m going to

More information

Basics. Mouse The mouse normally looks like a little arrow, but it can change depending on what you are doing

Basics. Mouse The mouse normally looks like a little arrow, but it can change depending on what you are doing Robert DiChiara 1 Basics Mouse The mouse normally looks like a little arrow, but it can change depending on what you are doing Red X Button It is found on the top right of every window, and if you press

More information

Programming Robots with ROS, Morgan Quigley, Brian Gerkey & William D. Smart

Programming Robots with ROS, Morgan Quigley, Brian Gerkey & William D. Smart Programming Robots with ROS, Morgan Quigley, Brian Gerkey & William D. Smart O Reilly December 2015 CHAPTER 23 Using C++ in ROS We chose to use Python for this book for a number of reasons. First, it s

More information

Working Data Magic with Calculations

Working Data Magic with Calculations GET THE SCOOP ON... Simple calculations and quick answers Cell references Writing formulas Moving and copying formulas Linking workbooks with formulas Cell names Editing formulas Auditing formulas Locating

More information

Lab #9: Introduction to Logisim CS 0447/COE 0147: Spring 2012

Lab #9: Introduction to Logisim CS 0447/COE 0147: Spring 2012 Lab #9: Introduction to Logisim CS 0447/COE 0147: Spring 2012 You have 2 weeks to do this lab, as always. Each of you should submit your own solution according to the instructions at your TA's website.

More information

Matlab Tutorial 1: Working with variables, arrays, and plotting

Matlab Tutorial 1: Working with variables, arrays, and plotting Matlab Tutorial 1: Working with variables, arrays, and plotting Setting up Matlab First of all, let's make sure we all have the same layout of the different windows in Matlab. Go to Home Layout Default.

More information

Lecture (01) Getting started. Dr. Ahmed ElShafee

Lecture (01) Getting started. Dr. Ahmed ElShafee Lecture (01) Getting started Dr. Ahmed ElShafee 1 Dr. Ahmed ElShafee, fundamentals of Programming I, Agenda Download and Installation Java How things work NetBeans Comments Structure of the program Writing

More information

Excel VBA. Microsoft Excel is an extremely powerful tool that you can use to manipulate, analyze, and present data.

Excel VBA. Microsoft Excel is an extremely powerful tool that you can use to manipulate, analyze, and present data. Excel VBA WHAT IS VBA AND WHY WE USE IT Microsoft Excel is an extremely powerful tool that you can use to manipulate, analyze, and present data. Sometimes though, despite the rich set of features in the

More information