Total. Name: Signature: Circle section: MW 9-11 MW 11-1 MW 1-3 MW 6-8 TTh 1-3 TTh 6-8

Size: px
Start display at page:

Download "Total. Name: Signature: Circle section: MW 9-11 MW 11-1 MW 1-3 MW 6-8 TTh 1-3 TTh 6-8"

Transcription

1 Name: Signature: Circle section: MW 9- MW - MW - MW - TTh - TTh - Lehman College, CUNY CMP 0 Exam, Version, Fall 0. What is the output of the following: a = b = a// c = a% d = a/ a,b = b,c d = b**c 9 0 Total. Write Python code that prompts the user for the number of dollars and prints out the equivalent amount in euros. Useful formula: US dollar = 0. euros.. Write the following formulas in Python: (a) x +xy + y surfacearea (c) r = π (b) sin( π u) (d) effectiverate =(+ r n )n. (a) What is the output of the following: for count in range(): print(count, count+) for k in [0,-,,-,]: print(k, ": ", abs(k)). Draw what would be displayed in the graphics window when the following program is executed: from graphics import * def main(): win = GraphWin("What s displayed?") p = Point(0,00) p = Point(00,0) p = Point(90,00) p = Point(00,90) c = Circle(p,) c = Circle(p,) l = Line(p, p) l = Line(p, p) c.draw(win) c.draw(win) l.draw(win) l.draw(win) win.getmouse() win.close()

2 . Write Python code that will: (a) Add the even numbers from 000 to 000 inclusive. (b) Print the multiples of from 00 to 000 inclusive.. Write a program that will produce this shape in a graphics window:. (a) What is the output of the following: i = j = for num in range(,0): i = i + (num * ) print(i) i, j = j, i balance = 0 for i in range(,,): balance = balance + ( * i) print(balance) 9. Write a complete graphics-based program that requires the user to click on six points in its window. The program then draws a line hexagon (-sided polygon) with the six points for its corners. 0. Write a complete program that asks the user the number of items they ordered at a restaurant. Your program should then use a loop that asks for the price of cost of each item ordered and print out a running total of the cost of the meal (that is, after asking for each price, print out the amount spent so far). Graphics Reference: (from p 0- of the textbook) GraphWin Objects Graphics Objects GraphWin(title, width, height) setfill(color) plot(x,y,color) setoutline(color) plotpixel(x,y,color) setwidth(pixels) setbackground(color) draw(agraphwin) close() undraw() getmouse() move(dx,dy) checkmouse() clone() setcoords(xll,yll,xur,yur) Text Methods Text(anchorPoint, string) settext(string) gettext() getanchor() setface(family) setsize(point) setstyle(style) settextcolor(color) Point Methods Point(x,y) getx() gety() Line Methods Line(point, point) setarrow(string) Circle Methods Circle(centerPoint, radius) getradius() Rectangle Methods Rectangle(point,point) Oval Methods Oval(point, point) Polygon Methods Polygon(P, P, P,...) getpoints()

3 Name: Signature: Circle section: MW 9- MW - MW - MW - TTh - TTh - Lehman College, CUNY CMP 0 Exam, Version, Fall 0. What is the output of the following: a = b = a// c = a% d = a/ a,b = b,c d = abs(b-a) 9 0 Total. Write Python code that prompts the user for the number of euros and prints out the equivalent amount in dollars. Useful formula: euro =. US dollars.. Write the following formulas in Python: (a) a +ab + b (b) cos(u)+sin(u). (a) What is the output of the following: for count in range(): print(count-, count) (c) v = Πr (d) bondvalue = F (+r) t for k in [-,0,,-,]: print(k, ": ", k*). Draw what would be displayed in the graphics window when the following program is executed: from graphics import * def main(): win = GraphWin("What s displayed?") p = Point(0,0) p = Point(0,90) p = Point(90,0) p = Point(90,90) c = Circle(p, ) c = Circle(p, ) l = Line(p, p) l = Line(p, p) c.draw(win) c.draw(win) l.draw(win) l.draw(win) win.getmouse() win.close()

4 . Write Python code that will: (a) Add the odd numbers from 999 to 9999 inclusive. (b) Print the multiples of from to 000 inclusive.. Write a program that will produce this shape in a graphics window:. (a) What is the output of the following: i = j = for num in range(,): i = i + (num * ) print(i) i, j = j, i balance = 00 for i in range(,,): balance = balance + ( * i) print(balance) 9. Write a complete graphics-based program that requires the user to click on four points in its window. Your program should connect all the points with lines (to form a -sided polygon). Your program should also draw circles (of radius ) at all points clicked. 0. Write a complete program that asks the user the number of games they would like to purchase. Your program should then ask the price of each game and print out a running total of the amount spent (that is, after asking for each price, print out the amount spent so far). Graphics Reference: (from p 0- of the textbook) GraphWin Objects Graphics Objects GraphWin(title, width, height) setfill(color) plot(x,y,color) setoutline(color) plotpixel(x,y,color) setwidth(pixels) setbackground(color) draw(agraphwin) close() undraw() getmouse() move(dx,dy) checkmouse() clone() setcoords(xll,yll,xur,yur) Text Methods Text(anchorPoint, string) settext(string) gettext() getanchor() setface(family) setsize(point) setstyle(style) settextcolor(color) Point Methods Point(x,y) getx() gety() Line Methods Line(point, point) setarrow(string) Circle Methods Circle(centerPoint, radius) getradius() Rectangle Methods Rectangle(point,point) Oval Methods Oval(point, point) Polygon Methods Polygon(P, P, P,...) getpoints()

5 Name: Signature: Circle section: MW 9- MW - MW - MW - TTh - TTh - Lehman College, CUNY CMP 0 Exam, Version, Fall 0. What is the output of the following: a = b = a// c = a% d = a/ a,b = b,c d = b**c 9 0 Total. Write Python code that prompts the user for the number of dollars and prints out the equivalent amount in pesos. Useful formula: US dollar =.0 Mexican pesos.. Write the following formulas in Python: (a) x xy + y (b) sin( π u) (c) r = area π (d) compound = P ( + r n )n t. (a) What is the output of the following: for count in range(): print(*count) for k in [0,-,,-,]: print(k, ": ", abs(k)). Draw what would be displayed in the graphics window when the following program is executed: from graphics import * def main(): win = GraphWin("What s displayed?") p = Point(0,0) p = Point(00,90) p = Point(00,0) p = Point(90,90) r = Rectangle(p, p) r = Rectangle(p, p) l = Line(p, p) l = Line(p, p) r.draw(win) r.draw(win) l.draw(win) l.draw(win) win.getmouse() win.close()

6 . Write Python code that will: (a) Add the odd numbers from 0 to 000 inclusive. (b) Print the multiples of from to 00 inclusive.. Write a program that will produce this shape in a graphics window:. (a) What is the output of the following: i = j = for num in range(,): i = i + (num * ) print(i) i, j = j, i balance = 0 for i in range(,9,): balance = balance + ( * i) print(balance) 9. Write a complete graphics-based program that requires the user to click on six points in its window. The program then draws a line hexagon (-sided polygon) with the six points for its corners. 0. Write a complete program that asks the user the number of shoes they will be purchasing at the shoe store. Your program should then use a loop that asks for the cost of each shoe and print out a running total of the amount spent (that is, after asking for each price, print out the amount spent so far). Graphics Reference: (from p 0- of the textbook) GraphWin Objects Graphics Objects GraphWin(title, width, height) setfill(color) plot(x,y,color) setoutline(color) plotpixel(x,y,color) setwidth(pixels) setbackground(color) draw(agraphwin) close() undraw() getmouse() move(dx,dy) checkmouse() clone() setcoords(xll,yll,xur,yur) Text Methods Text(anchorPoint, string) settext(string) gettext() getanchor() setface(family) setsize(point) setstyle(style) settextcolor(color) Point Methods Point(x,y) getx() gety() Line Methods Line(point, point) setarrow(string) Circle Methods Circle(centerPoint, radius) getradius() Rectangle Methods Rectangle(point,point) Oval Methods Oval(point, point) Polygon Methods Polygon(P, P, P,...) getpoints()

7 Name: Signature: Circle section: MW 9- MW - MW - MW - TTh - TTh - Lehman College, CUNY CMP 0 Exam, Version, Fall 0. What is the output of the following: a = b = a// c = a% d = a/ a,b = b,c d = abs(b-a) 9 0 Total. Write Python code that prompts the user for the number of dollars and prints out the equivalent amount in krone. Useful formula: US dollar =.0 Danish krone.. Write the following formulas in Python: (a) y yz + z (b) tan( π ). (a) What is the output of the following: for count in range(): print(count-, count+) surfacearea (c) side = (d) numpayments = log( r FV PMT ) log(+r) for k in [-,,-,,0]: print(k, ": ", k*). Draw what would be displayed in the graphics window when the following program is executed: from graphics import * def main(): win = GraphWin("What s displayed?") p = Point(0,00) p = Point(00,0) p = Point(90,00) p = Point(00,90) c = Circle(p,) c = Circle(p,) l = Line(p, p) l = Line(p, p) c.draw(win) c.draw(win) l.draw(win) l.draw(win) win.getmouse() win.close()

8 . Write Python code that will: (a) Add the even numbers from 900 to 000 inclusive. (b) Print the multiples of from to 00 inclusive.. Write a program that will produce this shape in a graphics window:. (a) What is the output of the following: i = j = for num in range(,): i = i + (num * ) print(i) i, j = j, i balance = for i in range(,,): balance = balance + ( * i) print(balance) 9. Write a complete graphics-based program that requires the user to click on four points in its window. Your program should connect all the points with lines (to form a -sided polygon). Your program should also draw circles (of radius ) at all points clicked. 0. Write a complete program that asks the user the number stations they will be stopping at on their subway ride. Your program should then use a loop that asks for the distance between each station and print out a running total of the distance traveled (that is, after asking for each distance, print out the distance travelled so far). Graphics Reference: (from p 0- of the textbook) GraphWin Objects Graphics Objects GraphWin(title, width, height) setfill(color) plot(x,y,color) setoutline(color) plotpixel(x,y,color) setwidth(pixels) setbackground(color) draw(agraphwin) close() undraw() getmouse() move(dx,dy) checkmouse() clone() setcoords(xll,yll,xur,yur) Text Methods Text(anchorPoint, string) settext(string) gettext() getanchor() setface(family) setsize(point) setstyle(style) settextcolor(color) Point Methods Point(x,y) getx() gety() Line Methods Line(point, point) setarrow(string) Circle Methods Circle(centerPoint, radius) getradius() Rectangle Methods Rectangle(point,point) Oval Methods Oval(point, point) Polygon Methods Polygon(P, P, P,...) getpoints()

Lehman College, CUNY CMP 230 Exam 1, Version 1 Fall 2011

Lehman College, CUNY CMP 230 Exam 1, Version 1 Fall 2011 Lehman College, CUNY CMP 230 Exam 1, Version 1 Fall 2011 1. Write Python code that prompts the user for the side of an isoceles right triangle, and prints out the area of the triangle. Useful formula:

More information

Total. Name: Signature: Circle course section: MW 11-1 TTh 1-3 TTh 4-6 TTh 6-8

Total. Name:   Signature: Circle course section: MW 11-1 TTh 1-3 TTh 4-6 TTh 6-8 Name: Email: Signature: Circle course section: MW - TTh - TTh - TTh - Lehman College, CUNY CMP 0 Exam, Version, Spring 0. Write Python code that prompts the user for the radius, and prints out the volume

More information

Total. Name: Signature: Circle course section: TTh 11-1 MW 1-3 TTh 4-6 MW 6-8 MW 4-6 MW 11-1 MW 9-11

Total. Name:   Signature: Circle course section: TTh 11-1 MW 1-3 TTh 4-6 MW 6-8 MW 4-6 MW 11-1 MW 9-11 Name: Email: Signature: Circle course section: TTh 11-1 MW 1-3 TTh 4-6 MW 6-8 MW 4-6 MW 11-1 MW 9-11 Lehman College, CUNY CMP 230 Exam 1, Version 1, Spring 2013 1. What is the output of the following:

More information

Graphics Module Reference

Graphics Module Reference Graphics Module Reference John M. Zelle Version 4.1, Fall 2010 1 Overview The package graphics.py is a simple object oriented graphics library designed to make it very easy for novice programmers to experiment

More information

Graphics Module Reference

Graphics Module Reference Graphics Module Reference John M. Zelle Version 3.0, Winter 2005 1 Overview The package graphics.py is a simple object oriented graphics library designed to make it very easy for novice programmers to

More information

Graphics Module Reference

Graphics Module Reference Graphics Module Reference John M. Zelle Version 3.2, Spring 2005 1 Overview The package graphics.py is a simple object oriented graphics library designed to make it very easy for novice programmers to

More information

Total. Name: Signature: Circle course section: MW 11-1 TTh 1-3 TTh 4-6 TTh 6-8

Total. Name:   Signature: Circle course section: MW 11-1 TTh 1-3 TTh 4-6 TTh 6-8 Name: Email: Signature: Circle course section: MW 11-1 TTh 1-3 TTh 4-6 TTh 6-8 Lehman College, CUNY CMP 230 Final Exam, Version 1, Spring 2012 1. What will the following code print: hiddenmission = "AXpXoXlXlXoX

More information

Total. Name: Signature: Circle course section:

Total. Name:   Signature: Circle course section: Name: Email: Signature: Circle course section: MW 9-11 MW 11-1 MW 1-3 MW 6-8 TTh 1-3 TTh 6-8 Lehman College, CUNY CIS 166 & CMP 230 Final Exam, Version 1, Fall 2012 1. What will the following code print:

More information

Total. Name: Signature: Circle course section: TTh 11-1 MW 1-3 TTh 4-6 MW 6-8 MW 4-6 MW 11-1 MW 9-11

Total. Name:   Signature: Circle course section: TTh 11-1 MW 1-3 TTh 4-6 MW 6-8 MW 4-6 MW 11-1 MW 9-11 Name: Email: Signature: Circle course section: TTh 11-1 MW 1-3 TTh 4-6 MW 6-8 MW 4-6 MW 11-1 MW 9-11 Lehman College, CUNY CIS 166 & CMP 230 Final Exam, Version 1, Spring 2013 1. What will the following

More information

Graphics Reference (graphics.py v5)

Graphics Reference (graphics.py v5) Graphics Reference (graphics.py v5) 1 Overview The package graphics.py is a simple object oriented graphics library designed to make it very easy for novice programmers to experiment with computer graphics

More information

CS21: INTRODUCTION TO COMPUTER SCIENCE. Prof. Mathieson Fall 2018 Swarthmore College

CS21: INTRODUCTION TO COMPUTER SCIENCE. Prof. Mathieson Fall 2018 Swarthmore College CS21: INTRODUCTION TO COMPUTER SCIENCE Prof. Mathieson Fall 2018 Swarthmore College Outline Oct 8: Sit somewhere new! One more stack example Introduction to object-oriented programming Start graphics Random

More information

CS21: INTRODUCTION TO COMPUTER SCIENCE. Prof. Mathieson Fall 2018 Swarthmore College

CS21: INTRODUCTION TO COMPUTER SCIENCE. Prof. Mathieson Fall 2018 Swarthmore College CS21: INTRODUCTION TO COMPUTER SCIENCE Prof. Mathieson Fall 2018 Swarthmore College Informal quiz (discuss with a partner) 1) c is an of the Circle. 2) GraphWin(..), Point(..), and Circle(..) are all.

More information

ISE 101 Introduction to Information Systems. Lecture 7 Objectives: Dictionaries Graphical user interface (GUI)

ISE 101 Introduction to Information Systems. Lecture 7 Objectives: Dictionaries Graphical user interface (GUI) ISE 101 Introduction to Information Systems Lecture 7 Objectives: Dictionaries Graphical user interface (GUI) DICTIONARIES Nonsequential Data Collections Lists allows us to store and retrieve items from

More information

Comp 151. Using Objects (and the beginning of graphics)

Comp 151. Using Objects (and the beginning of graphics) Comp 151 Using Objects (and the beginning of graphics) Admin New project coming Assignment Read chapter 4 in the Zelle book The Object of Objects Basic idea view a complex system as the interaction of

More information

CS21: INTRODUCTION TO COMPUTER SCIENCE. Prof. Mathieson Fall 2017 Swarthmore College

CS21: INTRODUCTION TO COMPUTER SCIENCE. Prof. Mathieson Fall 2017 Swarthmore College CS21: INTRODUCTION TO COMPUTER SCIENCE Prof. Mathieson Fall 2017 Swarthmore College student_computer.py (find your computer - just this week!) Amaechi owl Sajal parrot Matt pelican Youssef pigeon David

More information

CS177 Recitation. Graphics. Python Programming, 2/e 1

CS177 Recitation. Graphics. Python Programming, 2/e 1 CS177 Recitation Graphics Python Programming, 2/e 1 Objectives To be familiar with the various graphic objects available in the graphics library. To understand the fundamental concepts of computer graphics,

More information

mith College Computer Science Lecture Notes CSC111 Week 7 Spring 2018 Dominique Thiébaut

mith College Computer Science Lecture Notes CSC111 Week 7 Spring 2018 Dominique Thiébaut mith College Computer Science Lecture Notes Week 7 Spring 2018 CSC111 Dominique Thiébaut dthiebaut@smith.edu Midterm Grades available later today (3/19/18) Outline A Second Look at Files Reading Files

More information

CITS 4406 Problem Solving & Programming. Lecture 03 Numeric Data Processing

CITS 4406 Problem Solving & Programming. Lecture 03 Numeric Data Processing CITS 4406 Problem Solving & Programming Tim French Lecture 03 Numeric Data Processing (These slides are based on John Zelle s powerpoint slides for lectures accompanied with the text book) Python Programming,

More information

mith College Computer Science Week 7 CSC111 Fall 2015 Dominique Thiébaut

mith College Computer Science Week 7 CSC111 Fall 2015 Dominique Thiébaut mith College Computer Science Week 7 CSC111 Fall 2015 Dominique Thiébaut dthiebaut@smith.edu Dynamic Web Page Example IF Statements & Boolean Expression An Application: Generating Dynamic Web Pages Introduction

More information

CSE 8B Programming Assignments Spring Programming: You will have 5 files all should be located in a dir. named PA3:

CSE 8B Programming Assignments Spring Programming: You will have 5 files all should be located in a dir. named PA3: PROGRAMMING ASSIGNMENT 3: Read Savitch: Chapter 7 Programming: You will have 5 files all should be located in a dir. named PA3: ShapeP3.java PointP3.java CircleP3.java RectangleP3.java TriangleP3.java

More information

Objects and Graphics Part II

Objects and Graphics Part II Objects and Graphics Part II Quizzes coming next week Graphing the interest calculator/ Choosing Coordinates Python Programming, 2/e 4 Graphing Future Value/ Choosing Coordinates Python Programming, 2/e

More information

Macroanalysis. futureoftech/data-mining-classics-makesbeautiful-science

Macroanalysis.  futureoftech/data-mining-classics-makesbeautiful-science Macroanalysis His system processed thousands of digital books from the 19th- and late 18th centuries a period chosen because the works are free, plentiful and subject to a wealth of theory already. The

More information

2/4/11. Python Programming: An Introduction to Computer Science. Scientific Workflow Systems. Announcements

2/4/11. Python Programming: An Introduction to Computer Science. Scientific Workflow Systems. Announcements 2/4/11 Announcements Scientific Workflow Systems Today: Star/ng on simple graphics (in Python) Next up: Data integra/on, analysis, scien/fic workflows, etc 1 Reading ECS 166 Reading ECS 166 ECS 166 Python

More information

Introduction to Computer Programming for Non-Majors

Introduction to Computer Programming for Non-Majors Introduction to Computer Programming for Non-Majors CSC 2301, Fall 2015 Chapter 4 Part 2 The Department of Computer Science Python file extension name Save your file as.pyw can also be recognized as python

More information

GCSE Mathematics. Higher Tier. Paper 4G (Calculator) Time: 1 hour and 45 minutes. For Edexcel. Name

GCSE Mathematics. Higher Tier. Paper 4G (Calculator) Time: 1 hour and 45 minutes. For Edexcel. Name For Edexcel Name GCSE Mathematics Paper 4G (Calculator) Higher Tier Time: 1 hour and 45 minutes Materials required Ruler, protractor, compasses, pen, pencil, eraser. Tracing paper may be used. Instructions

More information

Exam 1 Format, Concepts, What you should be able to do, and Sample Problems

Exam 1 Format, Concepts, What you should be able to do, and Sample Problems CSSE 120 Introduction to Software Development Exam 1 Format, Concepts, What you should be able to do, and Sample Problems Page 1 of 6 Format: The exam will have two sections: Part 1: Paper-and-Pencil o

More information

Comp 150 Exam 2 Overview.

Comp 150 Exam 2 Overview. Comp 150 Exam 2 Overview. Resources During the Exam The exam will be closed book, no calculators or computers. You may bring notes on two sides of 8.5x11 inch paper (either both sides of one sheet, or

More information

Name: Class: Date: 2. I have four vertices. I have four right angles and all my sides are the same length.

Name: Class: Date: 2. I have four vertices. I have four right angles and all my sides are the same length. 1. Circle the right triangles. Use the corner of a piece of paper to check. 2. I have four vertices. I have four right angles and all my sides are the same length. What am I? 3. I have four vertices. All

More information

Python Programming: An Introduction to Computer Science

Python Programming: An Introduction to Computer Science Python Programming: An Introduction to Computer Science Chapter 6 Defining Functions Python Programming, 2/e 1 Objectives To understand why programmers divide programs up into sets of cooperating functions.

More information

This is a medical robot, guided by a skilled surgeon and designed to get to places doctors are unable to reach without opening a pacent up.

This is a medical robot, guided by a skilled surgeon and designed to get to places doctors are unable to reach without opening a pacent up. BBC Headline: Slashdot Headline: Robots join the fight against cancer Robot Snakes To Fight Cancer Via Natural Orifice Surgery This is a medical robot, guided by a skilled surgeon and designed to get to

More information

2.6 Graphics SIMPLE DRAWINGS 9/9/16 74

2.6 Graphics SIMPLE DRAWINGS 9/9/16 74 2.6 Graphics SIMPLE DRAWINGS 9/9/16 74 Drawing Simple Graphics To help you create simple drawings, we have included a graphics module with the book that is a simplified version of Python s more complex

More information

Total. Name: Signature: Circle course section: MW 9-11 MW 11-1 MW 6-8 TTh 9-11 TTh 1-3

Total. Name:   Signature: Circle course section: MW 9-11 MW 11-1 MW 6-8 TTh 9-11 TTh 1-3 Name: Email: Signature: Circle course section: MW 9-11 MW 11-1 MW 6-8 TTh 9-11 TTh 1-3 Lehman College, CUNY CMP 167 Final Exam, Version 1, Spring 2015 1. What will the following code print: s = "Ada=>Lovelace=>Charles=>Babbage"

More information

A. 180 B. 108 C. 360 D. 540

A. 180 B. 108 C. 360 D. 540 Part I - Multiple Choice - Circle your answer: REVIEW FOR FINAL EXAM - GEOMETRY 2 1. Find the area of the shaded sector. Q O 8 P A. 2 π B. 4 π C. 8 π D. 16 π 2. An octagon has sides. A. five B. six C.

More information

UNIT 3 CIRCLES AND VOLUME Lesson 5: Explaining and Applying Area and Volume Formulas Instruction

UNIT 3 CIRCLES AND VOLUME Lesson 5: Explaining and Applying Area and Volume Formulas Instruction Prerequisite Skills This lesson requires the use of the following skills: using formulas for the surface areas of polygons and circles performing calculations with the angles in circles using the Pythagorean

More information

Formative Assessment Area Unit 5

Formative Assessment Area Unit 5 Area Unit 5 Administer the formative assessment and select contrasting student responses to create further opportunities for learning about area measure, especially the difference between units of length

More information

2011 James S. Rickards Fall Invitational Geometry Team Round QUESTION 1

2011 James S. Rickards Fall Invitational Geometry Team Round QUESTION 1 QUESTION 1 In the diagram above, 1 and 5 are supplementary and 2 = 6. If 1 = 34 and 2 = 55, find 3 + 4 + 5 + 6. QUESTION 2 A = The sum of the degrees of the interior angles of a regular pentagon B = The

More information

CSC 110 Lab 12 Graphics and Objects. Names:

CSC 110 Lab 12 Graphics and Objects. Names: CSC 110 Lab 12 Graphics and Objects Names: Introduction The purpose of this lab is to understand how to use object- oriented programming to create graphics objects to draw simple images in Python. Exercises

More information

Practice For use with pages

Practice For use with pages 11.1 For use with pages 74 754 Find the area of the polygon. 1. 6 2. 11 3. 9 16 14 4. 5. 15 6. 7 12 19 13 1 The lengths of the hypotenuse and one leg of a right triangle are given. Find the perimeter and

More information

Total. Name: Signature: Circle course section: MW 9-11 MW 11-1 MW 6-8 TTh 9-11 TTh 1-3

Total. Name:   Signature: Circle course section: MW 9-11 MW 11-1 MW 6-8 TTh 9-11 TTh 1-3 Name: Email: Signature: Circle course section: MW 9-11 MW 11-1 MW 6-8 TTh 9-11 TTh 1-3 Lehman College, CUNY CMP 167 Final Exam, Version 3, Spring 2015 1. What will the following code print: s = "haskell::curry::utrecht::glasgow"

More information

Vocabulary. Triangular pyramid Square pyramid Oblique square pyramid Pentagonal pyramid Hexagonal Pyramid

Vocabulary. Triangular pyramid Square pyramid Oblique square pyramid Pentagonal pyramid Hexagonal Pyramid CP1 Math 2 Unit 8: S.A., Volume, Trigonometry: Day 7 Name Surface Area Objectives: Define important vocabulary for 3-dimensional figures Find the surface area for various prisms Generalize a formula for

More information

Introduction to Computer Programming for Non-Majors

Introduction to Computer Programming for Non-Majors Introduction to Computer Programming for Non-Majors CSC 2301, Fall 2016 Mid-term Review Instructor: Long Ma The Department of Computer Science Basic Model of a Computer Input CPU Control Unit Arithmetic

More information

Chapter 1: Symmetry and Surface Area

Chapter 1: Symmetry and Surface Area Chapter 1: Symmetry and Surface Area Name: Section 1.1: Line Symmetry Line of symmetry(or reflection): divides a shape or design into two parts. Can be found using: A mirra Folding Counting on a grid Section

More information

MATHEMATICS FOR ENGINEERING TRIGONOMETRY

MATHEMATICS FOR ENGINEERING TRIGONOMETRY MATHEMATICS FOR ENGINEERING TRIGONOMETRY TUTORIAL SOME MORE RULES OF TRIGONOMETRY This is the one of a series of basic tutorials in mathematics aimed at beginners or anyone wanting to refresh themselves

More information

S P. Geometry Final Exam Review. Name R S P Q P S. Chapter 7 1. If you reflect the point (2, -6) in the x-axis, the coordinates of the image would be:

S P. Geometry Final Exam Review. Name R S P Q P S. Chapter 7 1. If you reflect the point (2, -6) in the x-axis, the coordinates of the image would be: Geometry Final Exam Review Chapter 7 1. If you reflect the point (2, -6) in the x-axis, the coordinates of the image would be: Name 6. Use the graph below to complete the sentence. 2. If you reflect the

More information

February Regional Geometry Team: Question #1

February Regional Geometry Team: Question #1 February Regional Geometry Team: Question #1 A = area of an equilateral triangle with a side length of 4. B = area of a square with a side length of 3. C = area of a regular hexagon with a side length

More information

MATH 104 First Midterm Exam - Fall (d) A solid has as its base the region in the xy-plane the region between the curve y = 1 x2

MATH 104 First Midterm Exam - Fall (d) A solid has as its base the region in the xy-plane the region between the curve y = 1 x2 MATH 14 First Midterm Exam - Fall 214 1. Find the area between the graphs of y = x 2 + x + 5 and y = 2x 2 x. 1. Find the area between the graphs of y = x 2 + 4x + 6 and y = 2x 2 x. 1. Find the area between

More information

4. Given Quadrilateral HIJG ~ Quadrilateral MNOL, find x and y. x =

4. Given Quadrilateral HIJG ~ Quadrilateral MNOL, find x and y. x = Name: DUE: HOUR: 2016 2017 Geometry Final Exam Review 1. Find x. Round to the nearest hundredth. x = 2. Find x. x = 3. Given STU ~ PQR, find x. x = 4. Given Quadrilateral HIJG ~ Quadrilateral MNOL, find

More information

Geometry 10 and 11 Notes

Geometry 10 and 11 Notes Geometry 10 and 11 Notes Area and Volume Name Per Date 10.1 Area is the amount of space inside of a two dimensional object. When working with irregular shapes, we can find its area by breaking it up into

More information

Lesson 10T ~ Three-Dimensional Figures

Lesson 10T ~ Three-Dimensional Figures Lesson 10T ~ Three-Dimensional Figures Name Period Date Use the table of names at the right to name each solid. 1. 2. Names of Solids 3. 4. 4 cm 4 cm Cone Cylinder Hexagonal prism Pentagonal pyramid Rectangular

More information

Surface Area and Volume

Surface Area and Volume Surface Area and Volume Day 1 - Surface Area of Prisms Surface Area = The total area of the surface of a three-dimensional object (Or think of it as the amount of paper you ll need to wrap the shape.)

More information

GCSE Mathematics Practice Tests: Set 6

GCSE Mathematics Practice Tests: Set 6 GCSE Mathematics Practice Tests: Set 6 Paper 2H (Calculator) Time: 1 hour 30 minutes You should have: Ruler graduated in centimetres and millimetres, protractor, pair of compasses, pen, HB pencil, eraser,

More information

Accelerating Information Technology Innovation

Accelerating Information Technology Innovation Accelerating Information Technology Innovation http://aiti.mit.edu Kenya Summer 2011 Lecture 06 Objects The History of Objects Objects weren't always supported by programming languages Idea first originated

More information

Computer Science Grade 10 Sample -Term 2 Date: February 2018 Time: TBC Duration: 45 minutes

Computer Science Grade 10 Sample -Term 2 Date: February 2018 Time: TBC Duration: 45 minutes STUDENT SECTION Name Class Student MOE number (SIS) School name School MOE Number STUDENT SIGNATURE Computer Science Grade 10 Sample -Term 2 Date: February 2018 Time: TBC Duration: 45 minutes FOR ADMIN

More information

Question 2. [5 points] Given the following symbolic constant definition

Question 2. [5 points] Given the following symbolic constant definition CS 101, Spring 2012 Mar 20th Exam 2 Name: Question 1. [5 points] Determine which of the following function calls are valid for a function with the prototype: void drawrect(int width, int height); Assume

More information

College Algebra Exam File - Fall Test #1

College Algebra Exam File - Fall Test #1 College Algebra Exam File - Fall 010 Test #1 1.) For each of the following graphs, indicate (/) whether it is the graph of a function and if so, whether it the graph of one-to one function. Circle your

More information

Computer Science 1000: Part #7. Programming in Python PROGRAMMING LANGUAGES: AN OVERVIEW THE PYTHON PROGRAMMING LANGUAGE IMPLEMENTING PROGRAMMING

Computer Science 1000: Part #7. Programming in Python PROGRAMMING LANGUAGES: AN OVERVIEW THE PYTHON PROGRAMMING LANGUAGE IMPLEMENTING PROGRAMMING Computer Science 1000: Part #7 Programming in Python PROGRAMMING LANGUAGES: AN OVERVIEW THE PYTHON PROGRAMMING LANGUAGE IMPLEMENTING PROGRAMMING Programming Languages: An Overview Disadvantages of assembly

More information

BETWEEN PAPERS PRACTICE (F&H)

BETWEEN PAPERS PRACTICE (F&H) BETWEEN PAPERS PRACTICE (F&H) Summer 2018 QUESTIONS Not A best Guess paper. Neither is it a prediction... only the examiners know what is going to come up! Fact! You also need to REMEMBER that just because

More information

Assignment Guide: Chapter 10 Geometry (L3)

Assignment Guide: Chapter 10 Geometry (L3) Assignment Guide: Chapter 10 Geometry (L3) (123) 10.1 Areas of Parallelograms and Triangles Page 619-621 #9-15 odd, 18-21, 24-30, 33, 35, 37, 41-43 (124) 10.2 Areas of Trapezoids, Rhombuses, and Kites

More information

DC2 File Format. 1. Header line 2. Entity line 3. Point line 4. String line

DC2 File Format. 1. Header line 2. Entity line 3. Point line 4. String line DC2 File Format The DesignCAD DC2 drawing file is an ASCII file, with the data present in character format. Each "record" in the file is actually a line in a text file. There are four types of records,

More information

CSc 110, Spring 2018 Lecture 9: Parameters, Graphics and Random. Adapted from slides by Marty Stepp and Stuart Reges

CSc 110, Spring 2018 Lecture 9: Parameters, Graphics and Random. Adapted from slides by Marty Stepp and Stuart Reges CSc 110, Spring 2018 Lecture 9: Parameters, Graphics and Random Adapted from slides by Marty Stepp and Stuart Reges Exercise: multiple parameters def main(): print_number(4, 9) print_number(17, 6) print_number(8,

More information

Total. Name: Signature: Circle course section: MW 9-11 MW 11-1 MW 6-8 TTh 9-11 TTh 1-3

Total. Name:   Signature: Circle course section: MW 9-11 MW 11-1 MW 6-8 TTh 9-11 TTh 1-3 Name: Email: Signature: Circle course section: MW 9-11 MW 11-1 MW 6-8 TTh 9-11 TTh 1-3 Lehman College, CUNY CMP 167 Final Exam, Version 2, Spring 2015 1. What will the following code print: s = "objcbjabjmbjl"

More information

A plane that is to the base of the figure will create a cross section that is the same shape as the base.

A plane that is to the base of the figure will create a cross section that is the same shape as the base. Objective: 9.1 3 Notes: Surface Area of Solids Name Cross Sections: A cuts through a solid figure to create a cross section. Depending on the way in which the plane cuts through the figure will determine

More information

MR. JIMENEZ FINAL EXAM REVIEW GEOMETRY 2011

MR. JIMENEZ FINAL EXAM REVIEW GEOMETRY 2011 PAGE 1 1. The area of a circle is 25.5 in. 2. Find the circumference of the circle. Round your answers to the nearest tenth. 2. The circumference of a circle is 13.1 in. Find the area of the circle. Round

More information

The designer should construct a can with the height of 2 centimeters and the radius of centimeters in order to minimize cost.

The designer should construct a can with the height of 2 centimeters and the radius of centimeters in order to minimize cost. 1. A 2 liter oil can is being designed in the shape of a right circular cylinder. What dimensions, in terms of centimeters, should the designer use in order to use the least amount of material? Hint: Recall

More information

Free Response. Test A. 1. What is the estimated area of the figure?

Free Response. Test A. 1. What is the estimated area of the figure? Test A 1. What is the estimated area of the 6. An 8.5 in. by 11 in. sheet of paper is enlarged to make a poster by doubling its length and width. What is the new perimeter? 7. How does the area of a square

More information

Exercise 1. Exercise 2. MAT 012 SS218 Worksheet 9 Sections Name: Consider the triangle drawn below. C. c a. A b

Exercise 1. Exercise 2. MAT 012 SS218 Worksheet 9 Sections Name: Consider the triangle drawn below. C. c a. A b Consider the triangle drawn below. C Exercise 1 c a A b B 1. Suppose a = 5 and b = 12. Find c, and then find sin( A), cos( A), tan( A), sec( A), csc( A), and cot( A). 2. Now suppose a = 10 and b = 24.

More information

GCSE Maths: Formulae you ll need to know not

GCSE Maths: Formulae you ll need to know not GCSE Maths: Formulae you ll need to know As provided by AQA, these are the formulae required for the new GCSE These will not be given in the exam, so you will need to recall as well as use these formulae.

More information

CARIBBEAN CORRESPONDENCE SCHOOL

CARIBBEAN CORRESPONDENCE SCHOOL Final Examination CARIBBEAN CORRESPONDENCE SCHOOL Module Name: Groups: Duration: MATHEMATICS Online 3 Hours INSTRUCTIONS TO CANDIDATES 1. This Paper consists of THREE sections. 2. There is one question

More information

G r a d e 1 0 I n t r o d u c t i o n t o A p p l i e d a n d P r e - C a l c u l u s M a t h e m a t i c s ( 2 0 S )

G r a d e 1 0 I n t r o d u c t i o n t o A p p l i e d a n d P r e - C a l c u l u s M a t h e m a t i c s ( 2 0 S ) G r a d e 0 I n t r o d u c t i o n t o A p p l i e d a n d P r e - C a l c u l u s M a t h e m a t i c s ( 0 S ) Midterm Practice Exam Answer Key G r a d e 0 I n t r o d u c t i o n t o A p p l i e d

More information

CS110 Introduction to Computing Fall 2006 Midterm Exam

CS110 Introduction to Computing Fall 2006 Midterm Exam CS110 Introduction to Computing Fall 2006 Midterm Exam Name: This is an open book/notes exam. Sharing of notes and books is not permitted. Answer all questions in the space provided. Continue on back of

More information

Shape, space and measures

Shape, space and measures Shape, space and measures Non-Calculator Exam Questions 1. Here is the plan and side elevation of a prism. The side elevation shows the cross section of the prism. On the grid below, draw the front elevation

More information

Unit 8 Syllabus: Surface Area & Volume

Unit 8 Syllabus: Surface Area & Volume Date Period Day Unit 8 Syllabus: Surface Area & Volume Topic 1 Space Figures and Cross Sections Surface Area and Volume of Spheres 3 Surface Area of Prisms and Cylinders Surface Area of Pyramids and Cones

More information

Volume by Slicing (Disks & Washers)

Volume by Slicing (Disks & Washers) Volume by Slicing (Disks & Washers) SUGGESTED REFERENCE MATERIAL: As you work through the problems listed below, you should reference Chapter 6.2 of the recommended textbook (or the equivalent chapter

More information

S8.6 Volume. Section 1. Surface area of cuboids: Q1. Work out the surface area of each cuboid shown below:

S8.6 Volume. Section 1. Surface area of cuboids: Q1. Work out the surface area of each cuboid shown below: Things to Learn (Key words, Notation & Formulae) Complete from your notes Radius- Diameter- Surface Area- Volume- Capacity- Prism- Cross-section- Surface area of a prism- Surface area of a cylinder- Volume

More information

Susan had $50 to spend at the carnival. She spent $12 on food and twice as much on rides. How many dollars did she have left to spend?

Susan had $50 to spend at the carnival. She spent $12 on food and twice as much on rides. How many dollars did she have left to spend? Susan had $50 to spend at the carnival. She spent $12 on food and twice as much on rides. How many dollars did she have left to spend? (A) 12 (B) 14 (C) 26 (D) 38 (E) 50 2008 AMC 8, Problem #1 Susan spent

More information

COS226 - Spring 2018 Class Meeting # 13 March 26, 2018 Inheritance & Polymorphism

COS226 - Spring 2018 Class Meeting # 13 March 26, 2018 Inheritance & Polymorphism COS226 - Spring 2018 Class Meeting # 13 March 26, 2018 Inheritance & Polymorphism Ibrahim Albluwi Composition A GuitarString has a RingBuffer. A MarkovModel has a Symbol Table. A Symbol Table has a Binary

More information

ST. CLARE COLLEGE SECONDARY SCHOOL - PEMBROKE HALF-YEARLY EXAMINATIONS FEBRUARY FORM 3 MATHEMATICS TIME: 1h 30min

ST. CLARE COLLEGE SECONDARY SCHOOL - PEMBROKE HALF-YEARLY EXAMINATIONS FEBRUARY FORM 3 MATHEMATICS TIME: 1h 30min ST. CLARE COLLEGE SECONDARY SCHOOL - PEMBROKE HALF-YEARLY EXAMINATIONS FEBRUARY 2014 FORM 3 MATHEMATICS TIME: 1h 30min MAIN PAPER Question 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Mark Total Main Non- Calculator

More information

Catholic Central High School

Catholic Central High School Catholic Central High School Algebra II Practice Examination I Instructions: 1. Show all work on the test copy itself for every problem where work is required. Points may be deducted if insufficient or

More information

Directions: Working with your group, cut out the shapes below and sort them into 3 groups based on similar characteristics.

Directions: Working with your group, cut out the shapes below and sort them into 3 groups based on similar characteristics. Directions: Working with your group, cut out the shapes below and sort them into 3 groups based on similar characteristics. 1) In the space below, explain how you grouped your triangles. Label your groups:

More information

Math-2 Lesson 6-3: Area of: Triangles, rectangles, circles and Surface Area of Pyramids

Math-2 Lesson 6-3: Area of: Triangles, rectangles, circles and Surface Area of Pyramids Math- Lesson 6-3: rea of: Triangles, rectangles, circles and Surface rea of Pyramids SM: Lesson 6-3 (rea) For the following geometric shapes, how would you answer the question; how big is it? Describe

More information

Mathematics Scope & Sequence Grade 7 Revised: June 3, 2016 First Six Weeks (24 Days)

Mathematics Scope & Sequence Grade 7 Revised: June 3, 2016 First Six Weeks (24 Days) Mathematics Scope & Sequence 2016-2017 Grade 7 Revised: June 3, 2016 First Six Weeks (24 ) 7.3B apply and extend previous understandings of operations to solve problems using addition, subtraction, multiplication,

More information

2009 Fall Startup Event Thursday, September 24th, 2009

2009 Fall Startup Event Thursday, September 24th, 2009 009 Fall Startup Event This test consists of 00 problems to be solved in 0 minutes. All answers must be exact, complete, and in simplest form. To ensure consistent grading, if you get a decimal, mixed

More information

Sheet1. S.No Prio. Story Test Example Notes. Lab 0 gives instructions on setting up a Scrapbook page.

Sheet1. S.No Prio. Story Test Example Notes. Lab 0 gives instructions on setting up a Scrapbook page. S.No Prio. Story Test Example Notes 1 1 Evaluate expressions in a Scrapbook page. 1. Declare an integer. 2. Set variable. 3. Declare an integer array 4. Write a loop to initialize array 5. Write a loop

More information

Geometry: Angle Relationships

Geometry: Angle Relationships Geometry: Angle Relationships I. Define the following angles (in degrees) and draw an example of each. 1. Acute 3. Right 2. Obtuse 4. Straight Complementary angles: Supplementary angles: a + b = c + d

More information

Unit 7 - Similarity 2. The perimeter of a rectangle is 156 cm. The ratio of the length to the width is 9:4. Find the width of the rectangle.

Unit 7 - Similarity 2. The perimeter of a rectangle is 156 cm. The ratio of the length to the width is 9:4. Find the width of the rectangle. Geometry B Final Exam Review Spring 2015 Name: 1. The ratio of the measures of the angles of a triangle is 4:5:6. What is the smallest angle s measure? Unit 7 - Similarity 2. The perimeter of a rectangle

More information

General Certificate of Secondary Education Higher Tier November Time allowed 1 hour 30 minutes

General Certificate of Secondary Education Higher Tier November Time allowed 1 hour 30 minutes Centre Number Surname Candidate Number For Examiner s Use Other Names Candidate Signature Examiner s Initials Pages Mark Mathematics General Certificate of Secondary Education Higher Tier November 2014

More information

Hustle Geometry SOLUTIONS MAΘ National Convention 2018 Answers:

Hustle Geometry SOLUTIONS MAΘ National Convention 2018 Answers: Hustle Geometry SOLUTIONS MAΘ National Convention 08 Answers:. 50.. 4. 8 4. 880 5. 6. 6 7 7. 800π 8. 6 9. 8 0. 58. 5.. 69 4. 0 5. 57 6. 66 7. 46 8. 6 9. 0.. 75. 00. 80 4. 8 5 5. 7 8 6+6 + or. Hustle Geometry

More information

Total. Name: Signature: Circle course section: MW 11-1 TTh 1-3 TTh 4-6 TTh 6-8

Total. Name:   Signature: Circle course section: MW 11-1 TTh 1-3 TTh 4-6 TTh 6-8 Name: Email: Signature: Circle course section: MW 11-1 TTh 1-3 TTh 4-6 TTh 6-8 Lehman College, CUNY CMP 230 Exam 2, Version 1, Spring 2012 1. What will the following code print: capitals = "Abuja+Freetown+Rabat+Cairo+Accra"

More information

Geometry B. The University of Texas at Austin Continuing & Innovative Education K 16 Education Center 1

Geometry B. The University of Texas at Austin Continuing & Innovative Education K 16 Education Center 1 Geometry B Credit By Exam This Credit By Exam can help you prepare for the exam by giving you an idea of what you need to study, review, and learn. To succeed, you should be thoroughly familiar with the

More information

Catholic Central High School

Catholic Central High School Catholic Central High School Algebra II Practice Examination II Instructions: 1. Show all work on the test copy itself for every problem where work is required. Points may be deducted if insufficient or

More information

The figures below are all prisms. The bases of these prisms are shaded, and the height (altitude) of each prism marked by a dashed line:

The figures below are all prisms. The bases of these prisms are shaded, and the height (altitude) of each prism marked by a dashed line: Prisms Most of the solids you ll see on the Math IIC test are prisms or variations on prisms. A prism is defined as a geometric solid with two congruent bases that lie in parallel planes. You can create

More information

Unit 10 Study Guide: Plane Figures

Unit 10 Study Guide: Plane Figures Unit 10 Study Guide: Plane Figures *Be sure to watch all videos within each lesson* You can find geometric shapes in art. Whether determining the amount of leading or the amount of glass needed for a piece

More information

Aptitude Volume and Surface Area. Theory

Aptitude Volume and Surface Area. Theory Aptitude Volume and Surface Area Theory Volume Volume is the amount of space inside a three-dimensional (length, width and height.) object, or its capacity. measured in cubic units. Surfce Area Total area

More information

Moore Catholic High School Math Department

Moore Catholic High School Math Department Moore Catholic High School Math Department Geometry Vocabulary The following is a list of terms and properties which are necessary for success in a Geometry class. You will be tested on these terms during

More information

Name: Target 12.2: Find and apply surface of Spheres and Composites 12.2a: Surface Area of Spheres 12.2b: Surface Area of Composites Solids

Name: Target 12.2: Find and apply surface of Spheres and Composites 12.2a: Surface Area of Spheres 12.2b: Surface Area of Composites Solids Unit 12: Surface Area and Volume of Solids Target 12.0: Euler s Formula and Introduction to Solids Target 12.1: Find and apply surface area of solids 12.1a: Surface Area of Prisms and Cylinders 12.1b:

More information

B.Stat / B.Math. Entrance Examination 2017

B.Stat / B.Math. Entrance Examination 2017 B.Stat / B.Math. Entrance Examination 017 BOOKLET NO. TEST CODE : UGA Forenoon Questions : 0 Time : hours Write your Name, Registration Number, Test Centre, Test Code and the Number of this Booklet in

More information

Geometry Semester 1 Model Problems (California Essential Standards) Short Answer

Geometry Semester 1 Model Problems (California Essential Standards) Short Answer Geometry Semester 1 Model Problems (California Essential Standards) Short Answer GE 1.0 1. List the undefined terms in Geometry. 2. Match each of the terms with the corresponding example a. A theorem.

More information

State if each pair of triangles is similar. If so, state how you know they are similar (AA, SAS, SSS) and complete the similarity statement.

State if each pair of triangles is similar. If so, state how you know they are similar (AA, SAS, SSS) and complete the similarity statement. Geometry 1-2 est #7 Review Name Date Period State if each pair of triangles is similar. If so, state how you know they are similar (AA, SAS, SSS) and complete the similarity statement. 1) Q R 2) V F H

More information

Unit 4 End-of-Unit Assessment Study Guide

Unit 4 End-of-Unit Assessment Study Guide Circles Unit 4 End-of-Unit Assessment Study Guide Definitions Radius (r) = distance from the center of a circle to the circle s edge Diameter (d) = distance across a circle, from edge to edge, through

More information

Outline. general information policies for the final exam

Outline. general information policies for the final exam Outline 1 final exam on Tuesday 5 May 2015, at 8AM, in BSB 337 general information policies for the final exam 2 some example questions strings, lists, dictionaries scope of variables in functions working

More information