<< Chapter < Page Chapter >> Page >
This module contains review questions and answers keyed to the module titled GAME 2302-0105: Getting Started.

Table of contents

Preface

This module contains review questions and answers keyed to the module titled GAME 2302-0105: Getting Started .

The questions and the answers are connected by hyperlinks to make it easy for you to navigate from the question to the answer and back again.

Questions

Question 1 .

Successful game programmers don't need good math skills.

True or False?

Answer 1

Question 2

This set of modules relies strictly on procedural programming.

Answer 2

Question 3

You will need skills in the mathematical areas that are required for success in 2D and 3D graphics programming.

True or False?

Answer 3

Question 4

As a minimum, you will need skills in:

Select the correct answers

  1. Geometry
  2. Trigonometry
  3. Vectors
  4. Matrices
  5. 2D and 3D transforms
  6. Transformations between coordinate systems
  7. Projections
  8. All of the above

Answer 4

Question 5

A column matrix can be used to represent a point in a given coordinate frame.

True or False?

Answer 5

Question 6

When representing a point with a column matrix, the same point will have the same representation in different coordinate frames.

True or False?

Answer 6

Question 7

You must use an IDE such as Eclipse or NetBeans to create Java source code.

True or False?

Answer 7

Question 8

There is no relationship between the name of the source code file and the name of the class defined in the file.

True or False?

Answer 8

Question 9

The name of the Java compiler program is java.exe.

True or False?

Answer 9

Question 10

The class named Point2D.Double is a class in the standard Java library.

True or False?

Answer 10

Question 11

The following is the correct syntax for the main method in a Java application.

public static void main(){ GUI guiObj = new GUI();}//end main

True or False?

Answer 11

Question 12

The following Java code instantiates a new object of a class named GUI and saves that object's reference in the variable named guiObj.

class PointLine01{ public static void main(String[]args){ GUI guiObj = new GUI();}//end main }//end controlling class PointLine01

Answer 12

Question 13

The class named GUI is a class in the Java 7 Standard Edition library.

True or False?

Answer 13

Question 14

The name of the constructor for a Java class must match the name of the class.

True or False?

Answer 14

Question 15

The method named setDefaultCloseOperation can be called on a Java JFrame object to establish the behavior of the button with the X in the upper-right corner of the visual manifestation of the JFrame object.

True or False?

Answer 15

Question 16

A Canvas object's overridden paint method will be executed whenever the JFrame containing the Canvas is displayed on the computer screen, whenever that portion of the screen needs to be repainted, orwhenever the repaint method is called on the canvas.

True or False?

Answer 16

Question 17

A Canvas object's overridden paint method always receives an incoming parameter as type Button .

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