<< Chapter < Page Chapter >> Page >

True or False?

Answer 13

Question 14

The returned value of the createImage method is type JFrame .

True or False?

Answer 14

Question 15

The return type of the getGraphics methods is Graphics .

True or False?

Answer 15

Question 16

Objects instantiated from the GM2D02.Point and GM2D02.Line classes are not graphical objects.

True or False?

Answer 16

Question 17

Objects instantiated from the GM2D02.Point and GM2D02.Line classes are underlying data objects that are suitable for use in mathematicaloperations.

True or False?

Answer 17

Question 18

A call to the draw method of the GM2D02.Line class causes an object of the standard Java Point2D.Double class to be rendered onto the specified graphics context.

True or False?

Answer 18

Question 19

The Line2D.Double object is a graphical object and the GM2D02.Line is an underlying data object.

True or False?

Answer 19

Question 20

The GM2D02.Line class is a member of the standard Java library, whereas the Line2D.Double class is a member of the special game math library named GM2D02 .

True or False?

Answer 20

Question 21

One of the problems with object-oriented programming is that objects don't know how to do useful things for themselves.

True or False?

Answer 21

Question 22

A call to the draw method of the GM2D02.Point class causes an object of the standard Java Ellipse2D.Double class to be rendered onto the specified graphics context.

True or False?

Answer 22

Question 23

The constructor for the Java standard Ellipse2D.Double class requires four incoming parameters that specify the coordinates of the upper-left cornerof a rectangle followed by the width and the height of the rectangle.

True or False?

Answer 23

Question 24

An object of type Ellipse2D.Double represents an ellipse that is bounded by the four sides of a rectangle. If the rectangle is square, theellipse becomes a square.

True or False?

Answer 24

Question 25

Kjell tells us that a vector is a geometrical object that has two properties: length and direction. He also tells us that a vector does not have a position.

True or False?

Answer 25

Question 26

The draw method of the GM2D02.Vector class requires three parameters:

  • A reference to an object of the GM2D02.Vector class.
  • A reference to the off-screen graphics context
    • on which the visual manifestation of the vector will be drawn.
  • A reference to an object of the class GM2D02.Point
    • that will be used to determine the position on the off-screen image in which the visual manifestation will appear.

True or False?

Answer 26

Question 27

The visual manifestation of a vector can be placed anywhere in space, and one placement is just as correct as the next

True or False?

Answer 27

Question 28

Although the visual manifestation of a vector can be placed anywhere in space, and one placement is just as correct as the next, certain placements maybe preferable to others in some cases so as to better represent the problem being modeled by the use of vectors.

True or False?

Answer 28

Question 29

The rendering of a GM2D02.Vector object by the draw method of the GM2D02.Vector class draws a small circle to visually identify the head of the vector.

Questions & Answers

calculate molarity of NaOH solution when 25.0ml of NaOH titrated with 27.2ml of 0.2m H2SO4
Gasin Reply
what's Thermochemistry
rhoda Reply
the study of the heat energy which is associated with chemical reactions
Kaddija
How was CH4 and o2 was able to produce (Co2)and (H2o
Edafe Reply
explain please
Victory
First twenty elements with their valences
Martine Reply
what is chemistry
asue Reply
what is atom
asue
what is the best way to define periodic table for jamb
Damilola Reply
what is the change of matter from one state to another
Elijah Reply
what is isolation of organic compounds
IKyernum Reply
what is atomic radius
ThankGod Reply
Read Chapter 6, section 5
Dr
Read Chapter 6, section 5
Kareem
Atomic radius is the radius of the atom and is also called the orbital radius
Kareem
atomic radius is the distance between the nucleus of an atom and its valence shell
Amos
Read Chapter 6, section 5
paulino
Bohr's model of the theory atom
Ayom Reply
is there a question?
Dr
when a gas is compressed why it becomes hot?
ATOMIC
It has no oxygen then
Goldyei
read the chapter on thermochemistry...the sections on "PV" work and the First Law of Thermodynamics should help..
Dr
Which element react with water
Mukthar Reply
Mgo
Ibeh
an increase in the pressure of a gas results in the decrease of its
Valentina Reply
definition of the periodic table
Cosmos Reply
What is the lkenes
Da Reply
what were atoms composed of?
Moses Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Game 2302 - mathematical applications for game development. OpenStax CNX. Jan 09, 2016 Download for free at https://legacy.cnx.org/content/col11450/1.33
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Game 2302 - mathematical applications for game development' conversation and receive update notifications?

Ask