Game Preferences
In a typical interview, which type of question asks about your favorite games to play, to understand your game industry interests?
- A. Behavioural question
- B. Physics question
- C. Math question
- D. Logic puzzle
- E. Coding exercise
Mathematics Fundamentals
Given vectors A and B, what is the main use of the dot product in game development? For example, checking if two vectors are pointing in a similar direction.
- A. It calculates the angle between two vectors
- B. It finds the area of the parallelogram
- C. It adds the vectors together
- D. It returns a cross vector
- E. It swaps their components
Rectangle Collision
Which condition best determines if two rectangles overlap when checking their coordinates on a 2D plane?
- A. If one rectangle's right side is left of the other's left side and no sides touch
- B. If their X1 is greater than X2
- C. If the left side of one is left of the right side of the other and their vertical sides overlap
- D. If both rectangles have identical coordinates
- E. If both rectangles are squares
Efficient Distance Calculation
When comparing the distance between many objects in 2D or 3D space, which technique helps improve performance?
- A. Using Manhattan distance
- B. Comparing squared distances instead of actual distances
- C. Ignoring smaller distances
- D. Using a distance table for every pair
- E. Taking the absolute difference only in the x-direction
Projectiles
Which physics concept would you use to simulate the arched path of a thrown object, like a ball’s trajectory?
- A. Uniform circular motion
- B. Projectile motion
- C. Static equilibrium
- D. Linear damping
- E. Rotational inertia
Programming Knowledge
How many distinct values can be represented by an unsigned byte in a computer?
- A. [0, 127]
- B. [0, 255]
- C. [1, 255]
- D. [0, 511]
- E. [1, 128]
Polymorphism
In object-oriented programming, what is polymorphism? For instance, if a function behaves differently based on the passed object's type.
- A. The ability to assign multiple names to one function
- B. The ability for objects of different classes to be treated as instances of a common base class
- C. The process of passing by value
- D. The use of static variables
- E. Making functions private
Logical Evaluation in Code
When evaluating integers in a logical 'if' statement in languages like C++, which value is considered false?
- A. Any positive number
- B. Any negative number
- C. Only zero
- D. All odd numbers
- E. All numbers above 100
JavaScript Equality Operators
In JavaScript, what is the main difference between '==' and '===' operators?
- A. No difference; both are strict
- B. '==' compares values with type conversion, while '===' compares values and types
- C. '===' does not exist
- D. '==' compares only objects
- E. '===' ignores the values entirely
Graphics Basics
What is a frustum in computer graphics, often mentioned in relation to camera viewing volumes?
- A. A 2D polygon
- B. A box with eight sides
- C. A shape with six sides, part of a camera’s view, where objects inside are displayed
- D. A single line segment
- E. A perfect sphere