LabVIEW Case and Loop Structures ABE 4423/6423 Dr. Filip To Ag and Bio Engineering, Mississippi State University

Size: px
Start display at page:

Download "LabVIEW Case and Loop Structures ABE 4423/6423 Dr. Filip To Ag and Bio Engineering, Mississippi State University"

Transcription

1 LabVIEW Case and Loop Structures ABE 4423/6423 Dr. Filip To Ag and Bio Engineering, Mississippi State University

2 Recap Previous Homework Following Instruction Create a Pressure Conversion VI that takes a value in PSI from the user and converts it to five other pressure units (Inch H2O, Inch Hg, Bar, Pascal, and mmhg). Use Gage Indicators (it looks like a round pressure gage) for displaying the results and make each indicator shows its digital value as well. Make the numeric objects to have SGL (single precision number) representation, and make the format to show 2 decimal points. Also make the block diagram objects be in small icons. Name your object logically, you may display captions instead of labels on the front panel in order to be more descriptive. Align the objects in the front panel and in the block diagram and tidy up the wires in the block diagram and space them equally. Other cosmetics of the objects are up to you. Put your name on the front panel, run your program so that your printout shows it. Follow the instructions in How To Print LabVIEW in PDF, include front panel and block diagram and all hidden frames if any, and submit the PDF printout in the designated Drop Box.

3 Purpose of Case and Loop Structures A Case Structure is used to do conditional execution of code segments (sub-diagrams) based on a selection criteria. A CASE structure works just like IF THEN ELSE constructs in traditional (text based) programming. A Loop structure is used to control the execution of program that requires repetition or iterations of a block of code. The number of repetitions is controlled by some conditions such as count or occurrence of a given condition. Case and Loop structures are LabVIEW objects in Structures category, they are used to control flow of execution of a VI

4 The Structure Category in Functions Pallet Structure functions are Block Diagram objects in the Functions Pallet. They have no Front Panel Representation.

5 Example Scenario Operating on Two Operands The scenario: We have two numeric inputs: Operand1 and Operand2, and we have one numeric output: Answer. We have a Text Ring that contains the following items: Add, Subtract, Multiply, Divide, Sum of Square, and Square of Sum We want to perform Answer = Operand1 Operand2 if Subtract is chosen in the Text Ring; We want to perform Answer = Operand1^2 + Operand2^2 if Sum of Square is chosen in the Text Ring, etc. We have to have six subsets of code that we want to execute conditionally based on the selection in the Text Ring. We will use a case structure in the program and we have six cases (conditions) to do.

6 Case Structure A CASE structure is a multi-layer frames of containers with a subdiagram in each frame. When there is no sub-diagram inside a frame it is a DO NOTHING case. Each layer of frame in the case structure is a CASE, it contains the code needed to execute when that case is selected (like the scenario presented previously, one case will contain the code to do Operand1-Operand2), and each of the other cases will have the code to do each of the other operations). A CASE structure has a Case Selector and a Case ID for each CASE. The Case Selector (the? icon at the frame border) is wired to data for selecting individual cases, and that data can be numeric, Boolean, or String. For the scenario presented previously the Case Selector should be connected to a numeric data (the output of the Text Ring) because we have six cases: 0, 1, 2, 3, 4, and 5. If the Case Selector is connected to a Boolean data then we have only two cases: TRUE, and FALSE.

7 Case Structure Regardless of the data type of a Case Selector, a case structure must have a DEFAULT case. Any case can be assigned to a default case by appending,default in the Case ID box. A case ID with only DEFAULT in it will execute when not of the other cases meets the condition specified by the Case Selector. A case structure can have only one DEFAULT case. Recommendation: Implement the scenario presented previously on your own before test#1

8 Case Structure Diagram Case Identification Case Structure Frame Case Selector. Case type: Boolean (Green) The code inside this frame is executed when the data of the Case Selector is TRUE otherwise the FALSE case is executed.

9 Different Case Selector Data Boolean Case; wire = Green; two case: True/False Type Case ID is Boolean String Case; Pink; case ID = string in quotes; one default case; number of cases unlimited Numeric Case; Blue (Integer); case ID = numeric; Can have many case as you like, one Default Case

10 In-class Example Boolean Case Write a program with RED and Green LED (Boolean) indicators and two Boolean controls (switches) so that when the first switch is TRUE, the RED led is active (ON/True) and Green is inactive (OFF/False) when the second switch is FALSE (off), and GREEN led is active (ON/True) while RED is inactive when that switch is in True position. Both LEDs are off when the first switch is FALSE (the first switch serves as an enabler). Why didn t I put the LED indicators inside the Case structure?

11 In-class Example: Numeric Case Write a VI with an integer numeric control and a String indicator. Make the string indicator shows NUMBER ONE if the value in the Numeric control is 1, NUMBER FIVE if the value in the Numeric control is 5, and DUNO THIS NUMBER if the value is anything else. How do I add, remove cases? How do I make the numeric input Blue or ORANGE? Is 0 needed in the default case?

12 In-class Example: String Case Write a VI that has one string control called Letter and three LEDs, red green and blue. If the data in Letter is a or A the green LED is on and the others are off; if z or Z the blue LED is on and others are off; if the letter is m or M the green and red LEDs are on and others are off; x or X all LEDs are off, and all other letters will cause all LEDs to turn on.

13 Common Knowledge about Case Can CASE structures be nested? Yes Can CASE structures be in parallel? Yes Structure How deep of a nested CASE structure is allowed? No limit How do you do a case that says execute this case if a value is between 1 and 19? 1 19 (one dot dot dot 19) How do you do a case that says execute this case if the value if greater than or equal to 6? Find this in HELP When a wire is connected to the frame of a case structure a square connector is created what s this? Tunnel Data sent into a case structure does not have to be wired in all the cases. Data sent out from a case structure MUST be wired in all cases (all cases must be fully defined). Not fully defined cases is indicated by the Output Tunnels (the tunnels that send data out of the case structure) look like squares that are not filled (white spot in the middle)

14 Select Function Select function is a block diagram object that is used to send data from one of two sources. Unlike Case structure it has only two input terminals and one Boolean selector Terminal. It only conveys data and it does not execute sub-diagram like a Case structure. Example:

15 Homework Create a VI that performs computation in a two-parameter area calculator with pictures of shapes. It calculates the area of a shape using the two input parameters (Numeric controls) and the shape chosen by the user. The shapes are: triangle (base and height), Cone (radius and height), and rectangle (width and length). Use a Text Ring object as the data source to select the shape to be computed, use String indicators with the labels hidden and position them on top of each input parameters. The contents of these indicators are to be changed programmatically. For example: They display Base and Height if a triangle is selected, they display Radius and Height if cone is selected, etc.) The two input parameters are numeric controls with their labels made hidden (because you are using the string indicators to overlay on top of them). In addition to the two numeric controls and two string indicators, your VI should also have one numeric indicator for displaying the computation result (the area), and a 2D Picture object (Graph -> Controls -> 2D Picture) for showing the shape. Your VI displays the picture of the shape being computed in addition to the result of computation. Make the size of the picture is 200 x 200 pixels. So, the user select a shape from the RING, click RUN, the area is computed, the input parameter texts show the appropriate strings and the picture of that shape is shown. You must read the context help and the detailed help of the 2D picture object in order to figure out how to draw shapes programmatically if you have never done it yet. Feel free to use your internet resources for this.

16 Hint: Drawing Shape Programmatically Front Panel: Graph ècontrols è2d Picture, adjust the properties so that you know its size (example: make it 200 x 200 pixels) Draw a Circle in the 2D Picture Box: Block Diagram: Graphics and Sound èpicture Functions è Draw Circle By Radius. Wire the New Picture to the 2D Picture object. Create a constant for Picture Center and make it 100,100 (rihgt-click on the Pixel Center terminal and choose CREATE CONSTANT); Create a constant for Radius and make it 50, run it and see what it looks like. You may have to draw multiple objects (like cone).

LabVIEW Basics. Based on LabVIEW 2011 Student Edition

LabVIEW Basics. Based on LabVIEW 2011 Student Edition LabVIEW Basics Based on LabVIEW 2011 Student Edition Virtual instruments LabVIEW works on a data flow model in which information within a LabVIEW program, called a virtual instrument (VI), flows from data

More information

Lesson 4 Implementing a VI

Lesson 4 Implementing a VI Lesson 4 Implementing a VI A. Front Panel Design B. LabVIEW Data Types C. Documenting Code D. While Loops E. For Loops F. Timing a VI G. Iterative Data Transfer H. Plotting Data I. Case Structures A. Front

More information

PHYC 500: Introduction to LabView. Exercise 1 (v 1.3) M.P. Hasselbeck, University of New Mexico

PHYC 500: Introduction to LabView. Exercise 1 (v 1.3) M.P. Hasselbeck, University of New Mexico PHYC 500: Introduction to LabView M.P. Hasselbeck, University of New Mexico Exercise 1 (v 1.3) Setup The user interface of LabView is highly customizable. How this is done is a personal preference. For

More information

TIMSS 2011 Fourth Grade Mathematics Item Descriptions developed during the TIMSS 2011 Benchmarking

TIMSS 2011 Fourth Grade Mathematics Item Descriptions developed during the TIMSS 2011 Benchmarking TIMSS 2011 Fourth Grade Mathematics Item Descriptions developed during the TIMSS 2011 Benchmarking Items at Low International Benchmark (400) M01_05 M05_01 M07_04 M08_01 M09_01 M13_01 Solves a word problem

More information

Summer Packet 7 th into 8 th grade. Name. Integer Operations = 2. (-7)(6)(-4) = = = = 6.

Summer Packet 7 th into 8 th grade. Name. Integer Operations = 2. (-7)(6)(-4) = = = = 6. Integer Operations Name Adding Integers If the signs are the same, add the numbers and keep the sign. 7 + 9 = 16 - + -6 = -8 If the signs are different, find the difference between the numbers and keep

More information

Part 1. Creating an Array of Controls or Indicators

Part 1. Creating an Array of Controls or Indicators NAME EET 2259 Lab 9 Arrays OBJECTIVES -Write LabVIEW programs using arrays. Part 1. Creating an Array of Controls or Indicators Here are the steps you follow to create an array of indicators or controls

More information

ASSIGNMENT 2. COMP-202A, Fall 2013, All Sections. Due: October 20 th, 2013 (23:59)

ASSIGNMENT 2. COMP-202A, Fall 2013, All Sections. Due: October 20 th, 2013 (23:59) ASSIGNMENT 2 COMP-202A, Fall 2013, All Sections Due: October 20 th, 2013 (23:59) Please read the entire PDF before starting. You must do this assignment individually and, unless otherwise specified, you

More information

A. Front Panel Design Lesson 4 Implementing a VI

A. Front Panel Design Lesson 4 Implementing a VI A. Front Panel Design Lesson 4 Implementing a VI Inputs and outputs lead to front panel design Retrieve the inputs by the following methods: TOPICS A. B. C. D. E. F. Front Panel Design LabVIEW Data Types

More information

Area. Domain 4 Lesson 25. Getting the Idea

Area. Domain 4 Lesson 25. Getting the Idea Domain 4 Lesson 5 Area Common Core Standard: 7.G.6 Getting the Idea The area of a figure is the number of square units inside the figure. Below are some formulas that can be used to find the areas of common

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

NI LabView READ THIS DOCUMENT CAREFULLY AND FOLLOW THE INSTRIUCTIONS IN THE EXERCISES

NI LabView READ THIS DOCUMENT CAREFULLY AND FOLLOW THE INSTRIUCTIONS IN THE EXERCISES NI LabView READ THIS DOCUMENT CAREFULLY AND FOLLOW THE Introduction INSTRIUCTIONS IN THE EXERCISES According to National Instruments description: LabVIEW is a graphical programming platform that helps

More information

Originally released in 1986, LabVIEW (short for Laboratory Virtual Instrumentation

Originally released in 1986, LabVIEW (short for Laboratory Virtual Instrumentation Introduction to LabVIEW 2011 by Michael Lekon & Janusz Zalewski Originally released in 1986, LabVIEW (short for Laboratory Virtual Instrumentation Engineering Workbench) is a visual programming environment

More information

CW Middle School. Math RtI 7 A. 4 Pro cient I can add and subtract positive fractions with unlike denominators and simplify the result.

CW Middle School. Math RtI 7 A. 4 Pro cient I can add and subtract positive fractions with unlike denominators and simplify the result. 1. Foundations (14.29%) 1.1 I can add and subtract positive fractions with unlike denominators and simplify the result. 4 Pro cient I can add and subtract positive fractions with unlike denominators and

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

The Cover Sheet - MS Word

The Cover Sheet - MS Word The Cover Sheet - MS Word You can create the Cover Sheet for your book using Microsoft Word. The Cover Sheet The Cover Sheet consists of four main components: The Back Cover The Front Cover The Spine Bleed

More information

Table 1. Inputs and Outputs

Table 1. Inputs and Outputs Goal Description Use a While Loop and an iteration terminal and pass data through a tunnel. Create a VI that continuously generates random numbers between 0 and 1000 until it generates a number that matches

More information

Dept. of Electrical, Computer and Biomedical Engineering. Data Acquisition Systems and the NI LabVIEW environment

Dept. of Electrical, Computer and Biomedical Engineering. Data Acquisition Systems and the NI LabVIEW environment Dept. of Electrical, Computer and Biomedical Engineering Data Acquisition Systems and the NI LabVIEW environment Data Acquisition (DAQ) Use of some data acquisition technique can be convenient, when not

More information

Introduction to LabVIEW

Introduction to LabVIEW Introduction to LabVIEW How to Succeed in EE 20 Lab Work as a group of 2 Read the lab guide thoroughly Use help function and help pages in LabVIEW Do the Pre-Lab before you come to the lab Don t do the

More information

Engineering Innovation Center LabVIEW Basics

Engineering Innovation Center LabVIEW Basics Engineering Innovation Center LabVIEW Basics LabVIEW LabVIEW (Laboratory Virtual Instrument Engineering Workbench) is a graphical programming language that uses icons instead of lines of text to create

More information

How to Do Word Problems. Study of Integers

How to Do Word Problems. Study of Integers Study of Integers In this chapter, we are are going to closely look at the number line system and study integers. -3-2 -1 0 1 2 3 4 5 6 An integer is simply a number like 0, 1, 2, 3, and 4, but unlike

More information

CLAD Sample Exam 03. C. A control that output a cluster of the controls / indicators on the tabs.

CLAD Sample Exam 03. C. A control that output a cluster of the controls / indicators on the tabs. Name: Date: CLAD Sample Exam 03 1. Where can a VI be documented so that the description appears in the Show Context Help popup window? A. In the VI Properties Documentation window B. Typing in the Show

More information

CISC 1600, Lab 3.1: Processing

CISC 1600, Lab 3.1: Processing CISC 1600, Lab 3.1: Processing Prof Michael Mandel 1 Getting set up For this lab, we will be using OpenProcessing, a site for building processing sketches online using processing.js. 1.1. Go to https://www.openprocessing.org/class/57767/

More information

With the help of Adobe and a dash of creativity, we can create all kinds of fun things just using the shapes found in our tool box.

With the help of Adobe and a dash of creativity, we can create all kinds of fun things just using the shapes found in our tool box. You Are the Bomb! digitalscrapper.com /blog/bomb/ You Are the Bomb! by Nannette Dalton With the help of Adobe and a dash of creativity, we can create all kinds of fun things just using the shapes found

More information

Unit 7: 3D Figures 10.1 & D formulas & Area of Regular Polygon

Unit 7: 3D Figures 10.1 & D formulas & Area of Regular Polygon Unit 7: 3D Figures 10.1 & 10.2 2D formulas & Area of Regular Polygon NAME Name the polygon with the given number of sides: 3-sided: 4-sided: 5-sided: 6-sided: 7-sided: 8-sided: 9-sided: 10-sided: Find

More information

Using Number Skills. Addition and Subtraction

Using Number Skills. Addition and Subtraction Numeracy Toolkit Using Number Skills Addition and Subtraction Ensure each digit is placed in the correct columns when setting out an addition or subtraction calculation. 534 + 2678 Place the digits in

More information

University of Pennsylvania. Department of Electrical and Systems Engineering. ESE Undergraduate Laboratory. Introduction to LabView

University of Pennsylvania. Department of Electrical and Systems Engineering. ESE Undergraduate Laboratory. Introduction to LabView University of Pennsylvania Department of Electrical and Systems Engineering ESE Undergraduate Laboratory Introduction to LabView PURPOSE The purpose of this lab is to get you familiarized with LabView.

More information

ECE 463 Lab 1: Introduction to LabVIEW

ECE 463 Lab 1: Introduction to LabVIEW ECE 463 Lab 1: Introduction to LabVIEW 1. Introduction The purpose of the lab session of ECE463 is to apply/practice the digital communication theory on software-defined radios (USRPs). USRP is coupled

More information

Band Editor User Guide Version 1.3 Last Updated 9/19/07

Band Editor User Guide Version 1.3 Last Updated 9/19/07 Version 1.3 Evisions, Inc. 14522 Myford Road Irvine, CA 92606 Phone: 949.833.1384 Fax: 714.730.2524 http://www.evisions.com/support Table of Contents 1 - Introduction... 4 2 - Report Design... 7 Select

More information

CIRCLES ON TAKS NAME CLASS PD DUE

CIRCLES ON TAKS NAME CLASS PD DUE CIRCLES ON TAKS NAME CLASS PD DUE 1. On the calculator: Let s say the radius is 2. Find the area. Now let s double the radius to 4 and find the area. How do these two numbers relate? 2. The formula for

More information

Chapter 1: Problem Solving Skills Introduction to Programming GENG 200

Chapter 1: Problem Solving Skills Introduction to Programming GENG 200 Chapter 1: Problem Solving Skills Introduction to Programming GENG 200 Spring 2014, Prepared by Ali Abu Odeh 1 Table of Contents Fundamentals of Flowcharts 2 3 Flowchart with Conditions Flowchart with

More information

3RD GRADE COMMON CORE VOCABULARY M-Z

3RD GRADE COMMON CORE VOCABULARY M-Z o o o 3RD GRADE COMMON CORE VOCABULARY M-Z mass mass mass The amount of matter in an object. Usually measured by comparing with an object of known mass. While gravity influences weight, it does not affect

More information

CISC 1600 Lecture 3.1 Introduction to Processing

CISC 1600 Lecture 3.1 Introduction to Processing CISC 1600 Lecture 3.1 Introduction to Processing Topics: Example sketches Drawing functions in Processing Colors in Processing General Processing syntax Processing is for sketching Designed to allow artists

More information

Geometry: Semester 2 Practice Final Unofficial Worked Out Solutions by Earl Whitney

Geometry: Semester 2 Practice Final Unofficial Worked Out Solutions by Earl Whitney Geometry: Semester 2 Practice Final Unofficial Worked Out Solutions by Earl Whitney 1. Wrapping a string around a trash can measures the circumference of the trash can. Assuming the trash can is circular,

More information

Unit #13 : Integration to Find Areas and Volumes, Volumes of Revolution

Unit #13 : Integration to Find Areas and Volumes, Volumes of Revolution Unit #13 : Integration to Find Areas and Volumes, Volumes of Revolution Goals: Beabletoapplyaslicingapproachtoconstructintegralsforareasandvolumes. Be able to visualize surfaces generated by rotating functions

More information

Part 1. Summary of For Loops and While Loops

Part 1. Summary of For Loops and While Loops NAME EET 2259 Lab 5 Loops OBJECTIVES -Understand when to use a For Loop and when to use a While Loop. -Write LabVIEW programs using each kind of loop. -Write LabVIEW programs with one loop inside another.

More information

February 07, Dimensional Geometry Notebook.notebook. Glossary & Standards. Prisms and Cylinders. Return to Table of Contents

February 07, Dimensional Geometry Notebook.notebook. Glossary & Standards. Prisms and Cylinders. Return to Table of Contents Prisms and Cylinders Glossary & Standards Return to Table of Contents 1 Polyhedrons 3-Dimensional Solids A 3-D figure whose faces are all polygons Sort the figures into the appropriate side. 2. Sides are

More information

SFPL Reference Manual

SFPL Reference Manual 1 SFPL Reference Manual By: Huang-Hsu Chen (hc2237) Xiao Song Lu(xl2144) Natasha Nezhdanova(nin2001) Ling Zhu(lz2153) 2 1. Lexical Conventions 1.1 Tokens There are six classes of tokes: identifiers, keywords,

More information

Shift Register: Exercise # 1: Shift Register Example VI. 1. Build the following front panel. Figure (8.1): Shift register exercise front panel

Shift Register: Exercise # 1: Shift Register Example VI. 1. Build the following front panel. Figure (8.1): Shift register exercise front panel Experiment # 8: Shift Register and arrays Shift Register: Use shift register on for loops and while loops to transfer values from one loop to the next, create a shift register by right clicking the left

More information

Introduction to LabVIEW Exercise-1

Introduction to LabVIEW Exercise-1 Introduction to LabVIEW Exercise-1 Objective In this Laboratory, you will write simple VIs to incorporate basic programming structures in LabVIEW. This section will teach you fundamentals of LabVIEW front

More information

LECTURE 5 Control Structures Part 2

LECTURE 5 Control Structures Part 2 LECTURE 5 Control Structures Part 2 REPETITION STATEMENTS Repetition statements are called loops, and are used to repeat the same code multiple times in succession. The number of repetitions is based on

More information

Contents. Jairo Pava COMS W4115 June 28, 2013 LEARN: Language Reference Manual

Contents. Jairo Pava COMS W4115 June 28, 2013 LEARN: Language Reference Manual Jairo Pava COMS W4115 June 28, 2013 LEARN: Language Reference Manual Contents 1 Introduction...2 2 Lexical Conventions...2 3 Types...3 4 Syntax...3 5 Expressions...4 6 Declarations...8 7 Statements...9

More information

Flying Start AS Computer Science. September 2015

Flying Start AS Computer Science. September 2015 Flying Start AS Computer Science September 2015 Name: To your first AS Computing lesson, you will need to bring: 1. A folder with dividers An A4 ring binder with labelled A4 dividers would be ideal. The

More information

Certified LabVIEW Associate Developer Examination

Certified LabVIEW Associate Developer Examination Certified LabVIEW Associate Developer Examination Examinee Date: Administrator Date: Note: The use of the computer or any reference materials is NOT allowed during the exam. Instructions: If you did not

More information

Introduction to Visual Basic and Visual C++ Arithmetic Expression. Arithmetic Expression. Using Arithmetic Expression. Lesson 4.

Introduction to Visual Basic and Visual C++ Arithmetic Expression. Arithmetic Expression. Using Arithmetic Expression. Lesson 4. Introduction to Visual Basic and Visual C++ Arithmetic Expression Lesson 4 Calculation I154-1-A A @ Peter Lo 2010 1 I154-1-A A @ Peter Lo 2010 2 Arithmetic Expression Using Arithmetic Expression Calculations

More information

SCHEME 8. 1 Introduction. 2 Primitives COMPUTER SCIENCE 61A. March 23, 2017

SCHEME 8. 1 Introduction. 2 Primitives COMPUTER SCIENCE 61A. March 23, 2017 SCHEME 8 COMPUTER SCIENCE 61A March 2, 2017 1 Introduction In the next part of the course, we will be working with the Scheme programming language. In addition to learning how to write Scheme programs,

More information

CISC 1600, Lab 2.1: Processing

CISC 1600, Lab 2.1: Processing CISC 1600, Lab 2.1: Processing Prof Michael Mandel 1 Getting set up For this lab, we will be using Sketchpad, a site for building processing sketches online using processing.js. 1.1. Go to http://cisc1600.sketchpad.cc

More information

SCHEME 7. 1 Introduction. 2 Primitives COMPUTER SCIENCE 61A. October 29, 2015

SCHEME 7. 1 Introduction. 2 Primitives COMPUTER SCIENCE 61A. October 29, 2015 SCHEME 7 COMPUTER SCIENCE 61A October 29, 2015 1 Introduction In the next part of the course, we will be working with the Scheme programming language. In addition to learning how to write Scheme programs,

More information

FRC LabVIEW Sub vi Example

FRC LabVIEW Sub vi Example FRC LabVIEW Sub vi Example Realizing you have a clever piece of code that would be useful in lots of places, or wanting to un clutter your program to make it more understandable, you decide to put some

More information

Spring 2018 Discussion 7: March 21, Introduction. 2 Primitives

Spring 2018 Discussion 7: March 21, Introduction. 2 Primitives CS 61A Scheme Spring 2018 Discussion 7: March 21, 2018 1 Introduction In the next part of the course, we will be working with the Scheme programming language. In addition to learning how to write Scheme

More information

Measurement 1 PYTHAGOREAN THEOREM. The area of the square on the hypotenuse of a right triangle is equal to the sum of the areas of

Measurement 1 PYTHAGOREAN THEOREM. The area of the square on the hypotenuse of a right triangle is equal to the sum of the areas of Measurement 1 PYTHAGOREAN THEOREM Remember the Pythagorean Theorem: The area of the square on the hypotenuse of a right triangle is equal to the sum of the areas of the squares on the other two sides.

More information

Certified LabVIEW Associate Developer Examination

Certified LabVIEW Associate Developer Examination Certified LabVIEW Associate Developer Examination Examinee Date: Administrator Date: Note: The use of the computer or any reference materials is NOT allowed during the exam. Instructions: If you did not

More information

Guided Problem Solving

Guided Problem Solving -1 Guided Problem Solving GPS Student Page 57, Exercises 1 1: Match each rule with the correct translation. A. (x, y) (x, y 1 ) I. P(, 1) P (3, ) B. (x, y) (x 1 3, y) II. Q(3, 0) Q (3, ) C. (x, y) (x 1,

More information

National 5 Mathematics Assessment Practice 5: The Theorem of Pythagoras and vectors (Topics 16-17)

National 5 Mathematics Assessment Practice 5: The Theorem of Pythagoras and vectors (Topics 16-17) SCHOLAR Study Guide National 5 Mathematics Assessment Practice 5: The Theorem of Pythagoras and vectors Topics 16-17 Authored by: Margaret Ferguson Heriot-Watt University Edinburgh EH14 4AS, United Kingdom.

More information

Year 6 Term 1 and

Year 6 Term 1 and Year 6 Term 1 and 2 2016 Points in italics are either where statements have been moved from other year groups or to support progression where no statement is given Oral and Mental calculation Read and

More information

Generating Vectors Overview

Generating Vectors Overview Generating Vectors Overview Vectors are mathematically defined shapes consisting of a series of points (nodes), which are connected by lines, arcs or curves (spans) to form the overall shape. Vectors can

More information

11.4 Volume of Prisms and Cylinders

11.4 Volume of Prisms and Cylinders 11.4 Volume of Prisms and Cylinders Learning Objectives Find the volume of a prism. Find the volume of a cylinder. Review Queue 1. Define volume in your own words. 2. What is the surface area of a cube

More information

Vocabulary. Term Page Definition Clarifying Example. cone. cube. cylinder. edge of a threedimensional. figure. face of a polyhedron.

Vocabulary. Term Page Definition Clarifying Example. cone. cube. cylinder. edge of a threedimensional. figure. face of a polyhedron. CHAPTER 10 Vocabulary The table contains important vocabulary terms from Chapter 10. As you work through the chapter, fill in the page number, definition, and a clarifying example. cone Term Page Definition

More information

3. Area and perimeter.notebook November 13, All rectangles with area 12cm 2 have the same perimeter. True or false?

3. Area and perimeter.notebook November 13, All rectangles with area 12cm 2 have the same perimeter. True or false? All rectangles with area 12cm 2 have the same perimeter. True or false? Find the perimeter of the shape: Draw another shape with area a smaller perimeter. but with x y Write an expression for the perimeter

More information

University of Manitoba Open Programming Contest September 22, General Instructions:

University of Manitoba Open Programming Contest September 22, General Instructions: University of Manitoba Open Programming Contest September 22, 2012 General Instructions: 1. Submit solutions using the PC^2 software. 2. The questions are not listed in order of difficulty. Some questions

More information

Measurement and Geometry: Area and Volume of Geometric Figures and Objects *

Measurement and Geometry: Area and Volume of Geometric Figures and Objects * OpenStax-CNX module: m35023 1 Measurement and Geometry: and Volume of Geometric Figures and Objects * Wade Ellis Denny Burzynski This work is produced by OpenStax-CNX and licensed under the Creative Commons

More information

Certified LabVIEW Associate Developer Exam. Test Booklet

Certified LabVIEW Associate Developer Exam. Test Booklet Certified LabVIEW Associate Developer Exam Test Booklet Note: The use of the computer or any reference materials is NOT allowed during the exam. Instructions: If you did not receive this exam in a sealed

More information

Fall 2017 Discussion 7: October 25, 2017 Solutions. 1 Introduction. 2 Primitives

Fall 2017 Discussion 7: October 25, 2017 Solutions. 1 Introduction. 2 Primitives CS 6A Scheme Fall 207 Discussion 7: October 25, 207 Solutions Introduction In the next part of the course, we will be working with the Scheme programming language. In addition to learning how to write

More information

Page 1 of 14 Version A Midterm Review 1. The sign means greater than. > =

More information

Lesson 24: Surface Area

Lesson 24: Surface Area Student Outcomes Students determine the surface area of three-dimensional figures, those that are composite figures and those that have missing sections. Lesson Notes This lesson is a continuation of Lesson

More information

DINO. Language Reference Manual. Author: Manu Jain

DINO. Language Reference Manual. Author: Manu Jain DINO Language Reference Manual Author: Manu Jain Table of Contents TABLE OF CONTENTS...2 1. INTRODUCTION...3 2. LEXICAL CONVENTIONS...3 2.1. TOKENS...3 2.2. COMMENTS...3 2.3. IDENTIFIERS...3 2.4. KEYWORDS...3

More information

5 th Grade MCA3 Standards, Benchmarks, Examples, Test Specifications & Sampler Questions

5 th Grade MCA3 Standards, Benchmarks, Examples, Test Specifications & Sampler Questions 5 th Grade 3 Standards, Benchmarks, Examples, Test Specifications & Sampler Questions Strand Standard No. Benchmark (5 th Grade) Sampler Item Number & Operation 18-22 11-14 Divide multidigit numbers; solve

More information

Plotting Points. By Francine Wolfe Professor Susan Rodger Duke University June 2010

Plotting Points. By Francine Wolfe Professor Susan Rodger Duke University June 2010 Plotting Points By Francine Wolfe Professor Susan Rodger Duke University June 2010 Description This tutorial will show you how to create a game where the player has to plot points on a graph. The method

More information

A Step-by-step guide to creating a Professional PowerPoint Presentation

A Step-by-step guide to creating a Professional PowerPoint Presentation Quick introduction to Microsoft PowerPoint A Step-by-step guide to creating a Professional PowerPoint Presentation Created by Cruse Control creative services Tel +44 (0) 1923 842 295 training@crusecontrol.com

More information

ABE Math TABE Modules 1-10

ABE Math TABE Modules 1-10 MODULE COMPETENCIES CW/HW Competencies M1 1. TABE Score Copy DAY 2. Data Form ONE PRETEST 3. First Exam (Pretest E/M/D/A) 4. Orientation M2 5. The Number System Whole Reviewing Place Value Naming Large

More information

Creating Icons for Leopard Buttons

Creating Icons for Leopard Buttons Creating Icons for Leopard Buttons Introduction Among the new features that C-Max 2.0 brings to the Ocelot and Leopard controllers, one of the more sophisticated ones allows the user to create icons that

More information

Relational & Logical Operators, Selection Statements

Relational & Logical Operators, Selection Statements Relational & Logical Operators, Selection Statements by Ahmet Sacan selection statements, branching statements, condition, relational expression, Boolean expression, logical expression, relational operators,

More information

Decimals. Chapter Five

Decimals. Chapter Five Chapter Five Decimals 5.1 Introductions to Decimals 5.2 Adding & Subtracting Decimals 5.3 Multiplying Decimals & Circumference of a Circle 5.4 Dividing Decimals 5.5 Fractions, Decimals, & Order of Operations

More information

WHOLE NUMBER AND DECIMAL OPERATIONS

WHOLE NUMBER AND DECIMAL OPERATIONS WHOLE NUMBER AND DECIMAL OPERATIONS Whole Number Place Value : 5,854,902 = Ten thousands thousands millions Hundred thousands Ten thousands Adding & Subtracting Decimals : Line up the decimals vertically.

More information

LabVIEW: Visual Programming Using a Dataflow Model Extended With Graphical Control Structures. Outline

LabVIEW: Visual Programming Using a Dataflow Model Extended With Graphical Control Structures. Outline LabVIEW: Visual Programming Using a Dataflow Model Extended With Graphical Control Structures. Brian K. Vogel Andrew Mihal {vogel, mihal}@eecs.berkeley.edu Outline Background on LabVIEW The "G" language

More information

Maths Key Stage 3 Scheme of Work Number and measures Place value Calculations Calculator Measures

Maths Key Stage 3 Scheme of Work Number and measures Place value Calculations Calculator Measures Maths Key Stage 3 Scheme of Work 2014 Year Autumn Spring Summer 7 Number Integers, order positive and negative numbers Low: Use the 4 operations, starting with addition and subtraction, positive numbers

More information

Advanced Reporting Tool

Advanced Reporting Tool Advanced Reporting Tool The Advanced Reporting tool is designed to allow users to quickly and easily create new reports or modify existing reports for use in the Rewards system. The tool utilizes the Active

More information

2 + (-2) = 0. Hinojosa 7 th. Math Vocabulary Words. Unit 1. Word Definition Picture. The opposite of a number. Additive Inverse

2 + (-2) = 0. Hinojosa 7 th. Math Vocabulary Words. Unit 1. Word Definition Picture. The opposite of a number. Additive Inverse Unit 1 Word Definition Picture Additive Inverse The opposite of a number 2 + (-2) = 0 Equal Amount The same in quantity = Fraction A number in the form a/b, where b 0. Half One of two equal parts of a

More information

12 m. 30 m. The Volume of a sphere is 36 cubic units. Find the length of the radius.

12 m. 30 m. The Volume of a sphere is 36 cubic units. Find the length of the radius. NAME DATE PER. REVIEW #18: SPHERES, COMPOSITE FIGURES, & CHANGING DIMENSIONS PART 1: SURFACE AREA & VOLUME OF SPHERES Find the measure(s) indicated. Answers to even numbered problems should be rounded

More information

Fill in the Blank Modeling and Prototypes. Name: Class: Date:

Fill in the Blank Modeling and Prototypes. Name: Class: Date: Fill in the Blank - 4.4.1 Modeling and Prototypes Name: Class: Date: Fill in the blanks in these sentences with the word that fits. 1. The Design process is a systematic, iterative problem solving methodwhich

More information

BE/EE189 Design and Construction of Biodevices Lecture 2. BE/EE189 Design and Construction of Biodevices - Caltech

BE/EE189 Design and Construction of Biodevices Lecture 2. BE/EE189 Design and Construction of Biodevices - Caltech BE/EE189 Design and Construction of Biodevices Lecture 2 LabVIEW Programming More Basics, Structures, Data Types, VI Case structure Debugging techniques Useful shortcuts Data types in labview Concept of

More information

Pick a number. Conditionals. Boolean Logic Relational Expressions Logical Operators Numerical Representation Binary. CS Conditionals 1

Pick a number. Conditionals. Boolean Logic Relational Expressions Logical Operators Numerical Representation Binary. CS Conditionals 1 Conditionals Boolean Logic Relational Expressions Logical Operators Numerical Representation Binary CS105 04 Conditionals 1 Pick a number CS105 04 Conditionals 2 Boolean Expressions An expression that

More information

UNIT 11 VOLUME AND THE PYTHAGOREAN THEOREM

UNIT 11 VOLUME AND THE PYTHAGOREAN THEOREM UNIT 11 VOLUME AND THE PYTHAGOREAN THEOREM INTRODUCTION In this Unit, we will use the idea of measuring volume that we studied to find the volume of various 3 dimensional figures. We will also learn about

More information

Area. Angle where two rays. Acute angle. Addend. a number to be added. an angle measuring less than 90 degrees. or line segments share an endpoint

Area. Angle where two rays. Acute angle. Addend. a number to be added. an angle measuring less than 90 degrees. or line segments share an endpoint Acute angle Addend an angle measuring less than 90 degrees a number to be added Angle where two rays or line segments share an endpoint Area the measure of space inside a figure. Area is measured in square

More information

3You can use the formula A = C G to find

3You can use the formula A = C G to find Using Formulas ORDER OF OPERATIONS In When Zombies Attack! on page 4, you learned how to solve problems using formulas. When solving an equation, you need to use the order of operations. Round all money

More information

Warm-Up 12 Solutions. Peter S. Simon. December 8, 2004

Warm-Up 12 Solutions. Peter S. Simon. December 8, 2004 Warm-Up 12 Solutions Peter S. Simon December 8, 2004 Problem 1 The lateral surface area of the frustum of a solid right cone is the product of the slant height L and the average t d circumference of the

More information

Selection Statements

Selection Statements Selection Statements by Ahmet Sacan selection statements, branching statements, condition, relational expression, Boolean expression, logical expression, relational operators, logical operators, truth

More information

CSCI 131, Midterm Exam 1 Review Questions This sheet is intended to help you prepare for the first exam in this course. The following topics have

CSCI 131, Midterm Exam 1 Review Questions This sheet is intended to help you prepare for the first exam in this course. The following topics have CSCI 131, Midterm Exam 1 Review Questions This sheet is intended to help you prepare for the first exam in this course. The following topics have been covered in the first 5 weeks of the course. The exam

More information

Table of Contents. Student Practice Pages. Number Lines and Operations Numbers. Inverse Operations and Checking Answers... 40

Table of Contents. Student Practice Pages. Number Lines and Operations Numbers. Inverse Operations and Checking Answers... 40 Table of Contents Introduction... Division by Tens... 38 Common Core State Standards Correlation... Division of -Digit Numbers... 39 Student Practice Pages Number Lines and Operations Numbers Inverse Operations

More information

Grade 7/8 Math Circles Fall Nov.4/5 The Pythagorean Theorem

Grade 7/8 Math Circles Fall Nov.4/5 The Pythagorean Theorem 1 Faculty of Mathematics Waterloo, Ontario Centre for Education in Mathematics and Computing Grade 7/8 Math Circles Fall 2014 - Nov.4/5 The Pythagorean Theorem Introduction A right triangle is any triangle

More information

Small rectangles (and sometimes squares like this

Small rectangles (and sometimes squares like this Lab exercise 1: Introduction to LabView LabView is software for the real time acquisition, processing and visualization of measured data. A LabView program is called a Virtual Instrument (VI) because it,

More information

Interactive Math Glossary Terms and Definitions

Interactive Math Glossary Terms and Definitions Terms and Definitions Absolute Value the magnitude of a number, or the distance from 0 on a real number line Addend any number or quantity being added addend + addend = sum Additive Property of Area the

More information

Date Lesson Text TOPIC Homework. SA of Prisms & Pyramids Pg. 441 # 1, 3, 5a, 7b, 11bc, 16. Surface Area of Cylinders WS 6.6

Date Lesson Text TOPIC Homework. SA of Prisms & Pyramids Pg. 441 # 1, 3, 5a, 7b, 11bc, 16. Surface Area of Cylinders WS 6.6 UNIT 6 MEASUREMENT Date Lesson Text TOPIC Homework May 6.1 8.1 May 4 6. 8. The Pythagorean Theorem Pg. 4 # 1ac, ac, ab, 4ac, 5, 7, 8, 10 Perimeter and Area (NO CIRCLES) Pg. 4 # 1acde, abdf,, 4, 11, 14,

More information

2012 Pascal Contest (Grade 9)

2012 Pascal Contest (Grade 9) The ENTRE for EUTION in MTHEMTIS and OMPUTING www.cemc.uwaterloo.ca 01 Pascal ontest (Grade 9) Thursday, February 3, 01 (in North merica and South merica) Friday, February 4, 01 (outside of North merica

More information

Summer 2017 Discussion 10: July 25, Introduction. 2 Primitives and Define

Summer 2017 Discussion 10: July 25, Introduction. 2 Primitives and Define CS 6A Scheme Summer 207 Discussion 0: July 25, 207 Introduction In the next part of the course, we will be working with the Scheme programming language. In addition to learning how to write Scheme programs,

More information

Intermediate Microsoft Word 2010

Intermediate Microsoft Word 2010 Intermediate Microsoft Word 2010 USING PICTURES... PAGE 02! Inserting Pictures/The Insert Tab! Picture Tools/Format Tab! Resizing Images! Using the Arrange Tools! Positioning! Wrapping Text! Using the

More information

Methods in Mathematics

Methods in Mathematics Write your name here Surname Other names Pearson Edexcel GCSE Centre Number Candidate Number Methods in Mathematics Unit 2: Methods 2 For Approved Pilot Centres ONLY Foundation Tier Wednesday 12 November

More information

Loops! Loops! Loops! Lecture 5 COP 3014 Fall September 25, 2017

Loops! Loops! Loops! Lecture 5 COP 3014 Fall September 25, 2017 Loops! Loops! Loops! Lecture 5 COP 3014 Fall 2017 September 25, 2017 Repetition Statements Repetition statements are called loops, and are used to repeat the same code mulitple times in succession. The

More information

Lab 1: Getting familiar with LabVIEW: Part I

Lab 1: Getting familiar with LabVIEW: Part I Lab 1: Getting familiar with LabVIEW: Part I The objective of this first lab is to provide an initial hands-on experience in building a VI. For detailed explanations of the LabVIEW features mentioned here,

More information

1. Complete these exercises to practice creating user functions in small sketches.

1. Complete these exercises to practice creating user functions in small sketches. Lab 6 Due: Fri, Nov 4, 9 AM Consult the Standard Lab Instructions on LEARN for explanations of Lab Days ( D1, D2, D3 ), the Processing Language and IDE, and Saving and Submitting. Rules: Do not use the

More information

STAAR Category 3 Grade 8 Mathematics TEKS 8.6A/8.6B/8.7A. Student Activity 1

STAAR Category 3 Grade 8 Mathematics TEKS 8.6A/8.6B/8.7A. Student Activity 1 Student Activity 1 Work with your partner to answer the following problems. Problem 1: The bases of a cylinder are two congruent that are to each other. The perpendicular distance between the two bases

More information