3. Design an algorithm in pseudocode to solve the problem. Make sure to include steps to get each input and to report each output.

Similar documents
Measurement: Converting Distances

Math. Rounding Decimals. Answers. 1) Round to the nearest tenth ) Round to the nearest whole number

Tallahassee Community College PERIMETER

DIMENSIONAL ANALYSIS #2

Converting Units of Measure Measurement

All I Ever Wanted to Know About Circles

Conversion Formulas and Tables

Perimeter, Area, and Volume

Imperial Length Measurements

MAIN IDEA The rectangle at the right has an area of 20 square units. The distance around the rectangle is , or 18 units.

ALGORITHMS AND FLOWCHARTS. By Miss Reham Tufail

Setup CMS 1500 (02/12) Claim Form

Lesson 11: Volume with Fractional Edge Lengths and Unit Cubes

Perimeter is the length of the boundary of a two dimensional figure.

Objective To introduce a formula to calculate the area. Family Letters. Assessment Management

VOLUME of Rectangular Prisms Volume is the measure of occupied by a solid region.

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

Square Roots and the Pythagorean Theorem

How do you compare numbers? On a number line, larger numbers are to the right and smaller numbers are to the left.

Show that when a circle is inscribed inside a square the diameter of the circle is the same length as the side of the square.

Area and Perimeter. Name: Class: Date: Short Answer

Unit Conversions. Ben Logan Feb 10, 2005

Measurement. Customary Units of Measure

Free Pre-Algebra Lesson 55! page 1

Metric Rules. Activity 7. In this activity you will: Introduction. The Problem. Math Concepts Measurement. Science Concepts Data collection

GEARING UP EXAMPLES. 4 to 3 4:3

One basic concept in math is that if we multiply a number by 1, the result is equal to the original number. For example,

hp calculators HP 33S Unit Conversions Metric units and Imperial units Conversion keys Practice working problems involving conversions

Grade 4 Mathematics Measurement: Lesson 1

Metric Prefixes Tera- T 10 2 centi- c 10 9 Giga- G 10 3 milli- m 10 6 Mega- M 10 6 micro- µ 10 3 kilo- k 10 9 nano- n

To Multiply Decimals

Area of a triangle: The area of a triangle can be found with the following formula: in

Progressing toward the standard

Conversions. 12 in. 1 ft = 1.

Dimensional Analysis and Exponential Models

Imperial and metric quiz

Dimensional Analysis; Exponential and Logarithmic Growth/Decay

Teacher Page Key. Geometry / Day # 13 Composite Figures 45 Min.

Area and Circumference

Activity 3.2 Unit Conversion

Ratios (pages )

Gas Line Sizing. Z Maximum gas demand shall be determined by adding all of the equipment Btu ratings from appliances connected on the system.

Pre-Algebra Lesson 6-1 to 6-3 Quiz

milli centi deci deci hecto kilo. Explain that the same procedure is used for all metric units (meters, grams, and liters).

10-3 Area of Parallelograms

MATH 110 Automotive Worksheet #4

Area of Parallelograms (pages )

Algorithm & Flowchart & Pseudo code. Staff Incharge: S.Sasirekha

Indicator 2: Use a variety of algebraic concepts and methods to solve equations and inequalities.

TABLE OF CONTENTS Click on a title to go directly to the handout. Handout 2: Estimating Challenge. Handout 3: Din-O-Rama Exploration

How To Solve The Pythagorean Triangle

Measurement/Volume and Surface Area Long-Term Memory Review Grade 7, Standard 3.0 Review 1

Teaching Pre-Algebra in PowerPoint

Appendix C: Conversions and Calculations

Assessment For The California Mathematics Standards Grade 3

FCAT FLORIDA COMPREHENSIVE ASSESSMENT TEST. Mathematics Reference Sheets. Copyright Statement for this Assessment and Evaluation Services Publication

QM0113 BASIC MATHEMATICS I (ADDITION, SUBTRACTION, MULTIPLICATION, AND DIVISION)

1. Which shape has the greatest area? Shape 1 Shape 2 Shape 3 Shape 4

Area of Parallelograms, Triangles, and Trapezoids (pages )

Measurement. Introduction... 3

2.2 Scientific Notation: Writing Large and Small Numbers

Multiplying Fractions

Rounding to the Nearest Inch

Math. Finding Perimeter and Area. Answers. Name: Solve the problems.

Lesson 1: Linear Measurement

A.2. Exponents and Radicals. Integer Exponents. What you should learn. Exponential Notation. Why you should learn it. Properties of Exponents

Quick Reference ebook

Lesson 18 Pythagorean Triples & Special Right Triangles

Prealgebra Textbook. Chapter 6 Odd Solutions

GRADE SIX-CONTENT STANDARD #4 EXTENDED LESSON A Permission Granted. Making a Scale Drawing A.25

YOU CAN COUNT ON NUMBER LINES

Sample Problems. 10 yards rushing = 1/48 (1/48 for each 10 yards rushing) 401 yards passing = 16/48 (1/48 for each 25 yards passing)

100 cm 1 m. = 614 cm m cm. 1 m 1 in. 1 m cm 1ft. 1 in = 242 in. 614 cm. 242 in 1 ft. 1 in. 100 cm = 123 m

MAT 2170: Laboratory 3

Student Outcomes. Lesson Notes. Classwork. Exercises 1 3 (4 minutes)

Circumference CHAPTER. 1

Sample only. Unit 4a Lesson 1: Pop game 50 minutes. Cross-curricular links. Overview. Learning objectives. Success Criteria. Key words. 1.

ALGORITHMS AND FLOWCHARTS

Chapter 3 Review Math 1030

Measuring with a Ruler

Making and Editing Screenshots in PowerPoint 2010

Area of a triangle: The area of a triangle can be found with the following formula: You can see why this works with the following diagrams:

Circumference of a Circle

Swarovski Optik Ballistic Reticle (BR Reticle)

Applications for Triangles

AGILITY LADDER IMPORTANT INFORMATION PLEASE READ AND KEEP DISCLAIMER

Characteristics of the Four Main Geometrical Figures

Using a Mil Based Scope - Easy Transition

UNIT 1 MASS AND LENGTH

Using WINK to create custom animated tutorials

Scales of the Universe

Estimating/ Rounding

Don t worry! There is no right or wrong answer.be honest so that I can figure out the best way to help you next year!

History of U.S. Measurement

Circuit diagrams and symbols (1)

Geometry Notes VOLUME AND SURFACE AREA

Task: Representing the National Debt 7 th grade

MCA Formula Review Packet

6.4 Factoring Polynomials

1. A plane passes through the apex (top point) of a cone and then through its base. What geometric figure will be formed from this intersection?

Transcription:

Programming Problem 2 Shirlee is working with a measurement tool that reports measurements in centimeters. Since Shirlee is unfamiliar with centimeters, she would like her centimeter measurements to be converted into yards, feet, and inches. She would also like the result to be properly rounded to the nearest inch. As an example, if the measurement is 312 centimeters, this should be converted to 3 yards, 1 foot, and 3 inches. 1. Identify the inputs and outputs of the problem. 2. Identify the processing needed to convert the inputs to the outputs. HINT: Convert centimeters to total number of inches first! (1 inch = 2.54 cm) 3. Design an algorithm in pseudocode to solve the problem. Make sure to include steps to get each input and to report each output. 4. Identify two test cases other than the example given above. For each of the two test cases show what inputs you will use and calculate what your expected outputs should be. 5. Write the program to implement your algorithm. Test your program using your test cases. Did your program produce the values predicted in your test cases? Explain. For each of the two programming problems, create a program using Visual C++.Net. Make sure to capture a sample of your program's output. The best way to do this is to click on the console window you want to capture and then press the Alt and PrintScreen keys at the same time. Then paste your captured screen image into a Word document. For each of the two programs, put the screen capture followed by a copy of your source code into your Word document. Your final programming document should contain in the following order: 1. Answers to all of the questions listed above. 2. Screen capture of the first program followed by source code. 3. Screen capture of the second program followed by source code.