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

Size: px
Start display at page:

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

Transcription

1 Name: 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 of a sphere. Useful formula: volume = πr.. What is the output of the following: 9 0 Total a = b = a** c = b % d = b // a,b = b,c a = b % c = b = a. Write the following formulas in Python: (a) (cos(a b) cos(a + b)) (b) r = surfacearea π. (a) What is the output of the following: for i in [0,-,,-,]: print(i, ":", i**) step = - n = 0 for j in range(,0,step): n = n + j print(n) print("done"). Write a program that will produce this shape in a graphics window:. Write Python code that will: (a) Add the odd numbers from to 99 inclusive (b) Print the multiples of from to 000 inclusive

2 . 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?") win.setcoords(0.0, 0.0, 0.0, 0.0) p = Point(,) p = Point(,) c = Circle(p, ) c = Circle(p, ) l = Line(p,p) c.draw(win) c.draw(win) l.draw(win) win.getmouse() win.close(). (a) What is the output of the following: a = b = for i in range(,): sum = a + b print(sum) a = b b = sum total = for i in range(,): total = total + ((-)**i)*i print(total) 9. Write a complete graphics-based program that requires the user to click on three points in its window. Your program should draw a circle (of radius ) around each point as well as lines connecting the points ( lines in total) 0. Write a complete program that asks the user the number of apps they would like to purchase. Your program should then ask the price of each app 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 GraphWin(title, width, height) plot(x,y,color) plotpixel(x,y,color) setbackground(color) close() getmouse() checkmouse() setcoords(xll,yll,xur,yur) Graphics Objects setfill(color) setoutline(color) setwidth(pixels) draw(agraphwin) undraw() move(dx,dy) clone() 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 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 surface area of a sphere. Useful formula: surfacearea =πr.. What is the output of the following: 9 0 Total x = y = x** w = y % z = y // x,w = w,z x = y % w = y = x. Write the following formulas in Python: (a) sin(x y) tan(x+y) (b) dist = (x x ) +(y y ). (a) What is the output of the following: for i in [-,-,-,-,-]: print(i) print("zero") step = ans = 0 for j in range(,0,step): ans = ans + j print(j) print(ans). Write a program that will produce this shape in a graphics window:. Write Python code that will: (a) Add the even numbers from 00 to 0 inclusive (b) Print the multiples of from to inclusive

4 . 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?") win.setcoords(0.0, 0.0, 0.0, 0.0) p = Point(,) p = Point(,) p = Point(,) r = Rectangle(p, p) r = Rectangle(p, p) l = Line(p,p) r.draw(win) r.draw(win) l.draw(win) win.getmouse() win.close(). (a) What is the output of the following: old = 0 older = for i in range(,0): n = old - older print(old) older = old old = n total = s = for i in range(,): s = -s total = total + s*i print(total) 9. Write a complete graphics-based program that requires the user to click on a point in its window. The program then draws circles centered at that point of radius, 0,, 0, and, respectively. 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 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 of a isoceles right cone. Useful formula: volume = πr.. What is the output of the following: 9 0 Total a = b = a % c = b** d = c // a,b = b,c a = b / c = b = a. Write the following formulas in Python: (a) sin(t u) + cos(t) (b) la = πr r + h. (a) What is the output of the following: for z in [,,,,9]: print(z, z+) step = - ans = 0 for j in range(,0,step): ans = ans + j print(j) print(ans). Write a program that will produce this shape in a graphics window:. Write Python code that will: (a) Add the odd numbers from to inclusive (b) Print the multiples of from to 00 inclusive

6 . 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?") win.setcoords(0.0, 0.0, 0.0, 0.0) p = Point(,9) p = Point(9,) p = Point(,) r = Rectangle(p, p) r = Rectangle(p, p) l = Line(p,p) r.draw(win) r.draw(win) l.draw(win) win.getmouse() win.close(). (a) What is the output of the following: l = 0 k = for i in range(,0): n = l - k print(l) l = k k = n total = for i in range(,): total = total + ((-)**i)*i print(total) 9. Write a complete graphics-based program that requires the user to click on four points in its window. The program then draws two rectangles, the first using the first two points clicked as its bounding points, and the second using between last two points clicked as its bounding points. 0. Write a complete program that asks the user the number of items they plan to purchase at the grocery store. Your program should then ask the price of each item 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 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 surface area of an isoceles right cone. Useful formula: surfacearea =(+ )πr.. What is the output of the following: 9 0 Total x = y = x % w = y** z = w // x,y = y,w x = y / w = y = x. Write the following formulas in Python: (a) tan(a)+sin(a). (a) What is the output of the following: for i in [,,,,0]: print(i, i+) (b) v = πr h end = 0 ans = 0 for j in range(0,end,-): ans = ans + j print(j) print(ans). Write a program that will produce this shape in a graphics window:. Write Python code that will: (a) Add the even numbers from 9 to 0 inclusive (b) Print the multiples of from to 0 inclusive

8 . 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?") win.setcoords(0.0, 0.0, 0.0, 0.0) p = Point(,) p = Point(,) p = Point(,) o = Oval(p,p) c = Circle(p,) l = Line(p,p) o.draw(win) c.draw(win) l.draw(win) win.getmouse() win.close(). (a) What is the output of the following: l = 0 k = for i in range(0,): n = l - k print(l) l = k k = n total = s = - for i in range(,): s = -s total = total + s*i print(total) 9. Write a complete graphics-based program that requires the user to click on two points in its window. The program then draws the axis aligned oval for which those two points are in opposing corners, along with circles (of radius ) at both points clicked. 0. Write a complete program that asks the user the number of items they plan to purchase at the bookstore. Your program should then ask the price of each book 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()

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 section: MW 9-11 MW 11-1 MW 1-3 MW 6-8 TTh 1-3 TTh 6-8

Total. Name:   Signature: Circle section: MW 9-11 MW 11-1 MW 1-3 MW 6-8 TTh 1-3 TTh 6-8 Name: Email: 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Volume of Cylinders. Volume of Cones. Example Find the volume of the cylinder. Round to the nearest tenth.

Volume of Cylinders. Volume of Cones. Example Find the volume of the cylinder. Round to the nearest tenth. Volume of Cylinders As with prisms, the area of the base of a cylinder tells the number of cubic units in one layer. The height tells how many layers there are in the cylinder. The volume V of a cylinder

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

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

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

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

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

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

Geometry - Additional Questions: Sheet 1

Geometry - Additional Questions: Sheet 1 Geometry - Additional Questions: Sheet 1 Parallel Lines Eercises (G3E) e g f h L1 L1 L2 1.) How many angles do you need to know in order to replace the letters in the diagram to the left? b c a d L2 2.)

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

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

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

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

SP about Rectangular Blocks

SP about Rectangular Blocks 1 3D Measure Outcomes Recognise and draw the nets of prisms, cylinders, and cones. Solve problems about the surface area and volume of rectangular blocks, cylinders, right cones, prisms, spheres, and solids

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

Sect Volume. 3 ft. 2 ft. 5 ft

Sect Volume. 3 ft. 2 ft. 5 ft 199 Sect 8.5 - Volume Objective a & b: Understanding Volume of Various Solids The Volume is the amount of space a three dimensional object occupies. Volume is measured in cubic units such as in or cm.

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

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

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

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

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

Example: The following is an example of a polyhedron. Fill the blanks with the appropriate answer. Vertices:

Example: The following is an example of a polyhedron. Fill the blanks with the appropriate answer. Vertices: 11.1: Space Figures and Cross Sections Polyhedron: solid that is bounded by polygons Faces: polygons that enclose a polyhedron Edge: line segment that faces meet and form Vertex: point or corner where

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

CHAPTER 2 REVIEW COORDINATE GEOMETRY MATH Warm-Up: See Solved Homework questions. 2.2 Cartesian coordinate system

CHAPTER 2 REVIEW COORDINATE GEOMETRY MATH Warm-Up: See Solved Homework questions. 2.2 Cartesian coordinate system CHAPTER 2 REVIEW COORDINATE GEOMETRY MATH6 2.1 Warm-Up: See Solved Homework questions 2.2 Cartesian coordinate system Coordinate axes: Two perpendicular lines that intersect at the origin O on each line.

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

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

PRACTICE FINAL - MATH 1210, Spring 2012 CHAPTER 1

PRACTICE FINAL - MATH 1210, Spring 2012 CHAPTER 1 PRACTICE FINAL - MATH 2, Spring 22 The Final will have more material from Chapter 4 than other chapters. To study for chapters -3 you should review the old practice eams IN ADDITION TO what appears here.

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

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

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

Applications of Integration. Copyright Cengage Learning. All rights reserved.

Applications of Integration. Copyright Cengage Learning. All rights reserved. Applications of Integration Copyright Cengage Learning. All rights reserved. Volume: The Disk Method Copyright Cengage Learning. All rights reserved. Objectives Find the volume of a solid of revolution

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

3-D Shapes and volume

3-D Shapes and volume 3-D Shapes and Volume Question Paper 1 Level IGCSE Subject Maths Exam Board Edexcel Topic Shape, Space and Measures Sub Topic 3-D Shapes and volume Booklet Question Paper 1 Time Allowed: 57 minutes Score:

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

Practice problems from old exams for math 233

Practice problems from old exams for math 233 Practice problems from old exams for math 233 William H. Meeks III October 26, 2012 Disclaimer: Your instructor covers far more materials that we can possibly fit into a four/five questions exams. These

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

Further Volume and Surface Area

Further Volume and Surface Area 1 Further Volume and Surface Area Objectives * To find the volume and surface area of spheres, cones, pyramids and cylinders. * To solve problems involving volume and surface area of spheres, cones, pyramids

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

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

Log1 Contest Round 2 Theta Circles, Parabolas and Polygons. 4 points each

Log1 Contest Round 2 Theta Circles, Parabolas and Polygons. 4 points each Name: Units do not have to be included. 016 017 Log1 Contest Round Theta Circles, Parabolas and Polygons 4 points each 1 Find the value of x given that 8 x 30 Find the area of a triangle given that it

More information

Notice that the height of each rectangle is and the width of each rectangle is.

Notice that the height of each rectangle is and the width of each rectangle is. Math 1410 Worksheet #40: Section 6.3 Name: In some cases, computing the volume of a solid of revolution with cross-sections can be difficult or even impossible. Is there another way to compute volumes

More information

Part I Multiple Choice

Part I Multiple Choice Oregon Focus on Surface Area and Volume Practice Test ~ Surface Area Name Period Date Long/Short Term Learning Targets MA.MS.07.ALT.05: I can solve problems and explain formulas involving surface area

More information

Collisions/Reflection

Collisions/Reflection Collisions/Reflection General Collisions The calculating whether or not two 2D objects collide is equivalent to calculating if the two shapes share a common area (intersect). For general polygons this

More information

Revision Pack. Edexcel GCSE Maths (1 9) Non-calculator Questions Shapes

Revision Pack. Edexcel GCSE Maths (1 9) Non-calculator Questions Shapes Edexcel GCSE Maths (1 9) Revision Pack Non-calculator Questions Shapes Edited by: K V Kumaran kvkumaran@gmail.com 07961319548 www.kumarmaths.weebly.com kumarmaths.weebly.com 1 Q1. All the measurements

More information

CHAPTER 6: APPLICATIONS OF INTEGRALS

CHAPTER 6: APPLICATIONS OF INTEGRALS (Exercises for Section 6.1: Area) E.6.1 CHAPTER 6: APPLICATIONS OF INTEGRALS SECTION 6.1: AREA 1) For parts a) and b) below, in the usual xy-plane i) Sketch the region R bounded by the graphs of the given

More information

Math 2 Plane Geometry part 1 Unit Updated January 13, 2017

Math 2 Plane Geometry part 1 Unit Updated January 13, 2017 Complementary angles (two angles whose sum is 90 ) and supplementary angles (two angles whose sum is 180. A straight line = 180. In the figure below and to the left, angle EFH and angle HFG form a straight

More information

Pages do a,c,e only (for questions that have parts)

Pages do a,c,e only (for questions that have parts) use their knowledge of rectangles, parallelograms and triangles to deduce formulae for the area of a parallelogram, and a triangle, from the formula for the area of a rectangle solve problems involving

More information

S3 (3.1) N5 Volume.notebook April 30, 2018

S3 (3.1) N5 Volume.notebook April 30, 2018 Daily Practice 16.3.2018 Q1. Multiply out and simplify (3x - 2)(x 2-7x + 3) Daily Practice 19.3.2018 Q1. Multiply out and simplify (2x + 3)(x 2 + 7x + 4) Q2. Factorise fully 3x 2-75 Q2. Simplify x 3 (x

More information

Grades 7 & 8, Math Circles 20/21/22 February, D Geometry Solutions

Grades 7 & 8, Math Circles 20/21/22 February, D Geometry Solutions Faculty of Mathematics Waterloo, Ontario NL 3G1 Centre for Education in Mathematics and Computing D Geometry Review Grades 7 & 8, Math Circles 0/1/ February, 018 3D Geometry Solutions Two-dimensional shapes

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

Lesson 9. Three-Dimensional Geometry

Lesson 9. Three-Dimensional Geometry Lesson 9 Three-Dimensional Geometry 1 Planes A plane is a flat surface (think tabletop) that extends forever in all directions. It is a two-dimensional figure. Three non-collinear points determine a plane.

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

S3 (3.1) Volume.notebook March 02, 2016

S3 (3.1) Volume.notebook March 02, 2016 Daily Practice 22.2.2016 Q1. Multiply out and simplify (3x - 2)(x 2-7x + 3) Q2. Factorise fully 3x 2-75 L.I: Today we will be revising how to find the volume of a prism. Q3. Calculate the value of a house

More information

MATH 104 Sample problems for first exam - Fall MATH 104 First Midterm Exam - Fall (d) 256 3

MATH 104 Sample problems for first exam - Fall MATH 104 First Midterm Exam - Fall (d) 256 3 MATH 14 Sample problems for first exam - Fall 1 MATH 14 First Midterm Exam - Fall 1. Find the area between the graphs of y = 9 x and y = x + 1. (a) 4 (b) (c) (d) 5 (e) 4 (f) 81. A solid has as its base

More information

National 5 Mathematics Assessment Practice Topic 2: Volumes, arcs, sectors, angles and similar shapes

National 5 Mathematics Assessment Practice Topic 2: Volumes, arcs, sectors, angles and similar shapes SCHOLAR Study Guide National 5 Mathematics Assessment Practice Topic 2: Volumes, arcs, sectors, angles and similar shapes Authored by: Margaret Ferguson Heriot-Watt University Edinburgh EH14 4AS, United

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

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

Multipl. Nadene of 07/2010

Multipl. Nadene of   07/2010 1 Multipl tiplication Table X 1 2 3 4 5 6 7 8 9 10 11 12 1 1 2 3 4 5 6 7 8 9 10 11 12 2 2 4 6 8 10 12 14 16 18 20 22 24 3 3 6 9 12 15 18 21 24 27 30 33 36 4 4 8 12 16 20 24 28 32 36 40 44 48 5 5 10 15

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

29 GEOMETRY AND MEASURE: AREA AND VOLUME

29 GEOMETRY AND MEASURE: AREA AND VOLUME 29 GEOMETRY AND MEASURE: AREA AND VOLUME Recognise units of measurement used for length, area and volume Know and apply formulae to calculate area of triangles, circles, parallelograms and trapezia Calculate

More information

Math 8: Identify Shapes and Surface Area

Math 8: Identify Shapes and Surface Area Name: Class: Date: Math 8: Identify Shapes and Surface Area 1. Name the solid according to its description: The figure has one base that is a rectangle and four lateral surfaces that are triangles. 2.

More information

Area & Volume. Contents Area and perimeter formulae Finding missing lengths when given area or perimeter...

Area & Volume. Contents Area and perimeter formulae Finding missing lengths when given area or perimeter... Area & Volume Aidan Ryan aidan.ryan@stmichaelscollege.com Contents Area and perimeter formulae... 2 Finding missing lengths when given area or perimeter... 8 Volume and surface area formulae... 9 Finding

More information

Grades 7 & 8, Math Circles 20/21/22 February, D Geometry

Grades 7 & 8, Math Circles 20/21/22 February, D Geometry Faculty of Mathematics Waterloo, Ontario N2L 3G1 Centre for Education in Mathematics and Computing 2D Geometry Review Grades 7 & 8, Math Circles 20/21/22 February, 2018 3D Geometry Two-dimensional shapes

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

AP CALCULUS BC PACKET 2 FOR UNIT 4 SECTIONS 6.1 TO 6.3 PREWORK FOR UNIT 4 PT 2 HEIGHT UNDER A CURVE

AP CALCULUS BC PACKET 2 FOR UNIT 4 SECTIONS 6.1 TO 6.3 PREWORK FOR UNIT 4 PT 2 HEIGHT UNDER A CURVE AP CALCULUS BC PACKET FOR UNIT 4 SECTIONS 6. TO 6.3 PREWORK FOR UNIT 4 PT HEIGHT UNDER A CURVE Find an expression for the height of an vertical segment that can be drawn into the shaded region... = x =

More information

Shuttle. Senior Team Maths. Challenge 2017/18. National Final UKMT 2017/18 UKMT UKMT UKMT. United Kingdom Mathematics Trust. Pass on the value of a b.

Shuttle. Senior Team Maths. Challenge 2017/18. National Final UKMT 2017/18 UKMT UKMT UKMT. United Kingdom Mathematics Trust. Pass on the value of a b. The line x + 2y = T 3 meets the curve x2 + 2xy = T at the point (a, b). In the diagram, three vertices of the parallelogram ABCD lie on a circle so that BC and DC are tangents to the circle. A1 Pass on

More information

Math 113 Exam 1 Practice

Math 113 Exam 1 Practice Math Exam Practice January 6, 00 Exam will cover sections 6.-6.5 and 7.-7.5 This sheet has three sections. The first section will remind you about techniques and formulas that you should know. The second

More information

SPRINGBOARD UNIT 5 GEOMETRY

SPRINGBOARD UNIT 5 GEOMETRY SPRINGBOARD UNIT 5 GEOMETRY 5.1 Area and Perimeter Perimeter the distance around an object. To find perimeter, add all sides. Area the amount of space inside a 2 dimensional object. Measurements for area

More information

Class Generated Review Sheet for Math 213 Final

Class Generated Review Sheet for Math 213 Final Class Generated Review Sheet for Math 213 Final Key Ideas 9.1 A line segment consists of two point on a plane and all the points in between them. Complementary: The sum of the two angles is 90 degrees

More information

Mr. Whelan Name: Block:

Mr. Whelan Name: Block: Mr. Whelan Name: Block: Geometry/Trig Unit 10 Area and Volume of Solids Notes Packet Day 1 Notes - Prisms Rectangular Prism: How do we find Total Area? Example 1 6cm Find the area of each face: Front:

More information

Lehman College, CUNY CMP 230 Exam 2 SAMPLE EXAM Spring 2011

Lehman College, CUNY CMP 230 Exam 2 SAMPLE EXAM Spring 2011 Lehman College, CUNY CMP 230 Exam 2 SAMPLE EXAM Spring 2011 1. What will the following code print: days = "mondaytuesdaywednesdayetc" print(days) x = days[6:9] print(x) one, two, three, four = days.split("day")

More information

Answers to Geometry Unit 5 Practice

Answers to Geometry Unit 5 Practice Lesson 0- Answers to Geometry Unit 5 Practice. a. Rectangle; Sample answer: It has four right angles. b. length: units; width: 9 units A 5 bh 7 units. 96 units. a. Parallelogram; Sample answer: Opposite

More information