Electron Arts Interview C++ Questions

B

blangela

I have a former student who came to me and asked if I had any idea the
types of C++ questions that EA asks potential new hires to evaluate
their C++ knowledge/skills. I do not, but I thought perhaps someone
out there does. Any EA or former EA employees want to suggest possble
interview questions?
 
B

blangela

blangela said:
I have a former student who came to me and asked if I had any idea the
types of C++ questions that EA asks potential new hires to evaluate
their C++ knowledge/skills. I do not, but I thought perhaps someone
out there does. Any EA or former EA employees want to suggest possble
interview questions?

Of course I meant to type "Electronic Arts" in the title!
 
A

Alf P. Steinbach

* blangela:
I have a former student who came to me and asked if I had any idea the
types of C++ questions that EA asks potential new hires to evaluate
their C++ knowledge/skills. I do not, but I thought perhaps someone
out there does. Any EA or former EA employees want to suggest possble
interview questions?

Find out how you (that is, the student) can contribute to the firm, be
prepared, be honest, be communicating, be sharp, and don't try to find
out interview questions in advance, serving up some memorized answer.
 
P

Phlip

blangela said:
I have a former student who came to me and asked if I had any idea the
types of C++ questions that EA asks potential new hires to evaluate
their C++ knowledge/skills. I do not, but I thought perhaps someone
out there does. Any EA or former EA employees want to suggest possble
interview questions?

Do you know how to safely avoid making a destructor virtual when it's 10:30
PM, you have had 6 hours of sleep in the last 3 days, and can't remember if
you have children?
 
B

blangela

Phlip said:
Do you know how to safely avoid making a destructor virtual when it's 10:30
PM, you have had 6 hours of sleep in the last 3 days, and can't remember if
you have children?

Good one!

Keep them coming ...
 
P

Phlip

Alf said:
Find out how you (that is, the student) can contribute to the firm, be
prepared, be honest, be communicating, be sharp, and don't try to find
out interview questions in advance, serving up some memorized answer.

Game engine programming requires some leading-edge C++ comprehension;
everything from how to safely interact with different endians to how to
avoid STL when it's too slow.

Most of game programming _isn't_ on the engine, but that doesn't stop
their interviewers from trotting out a list of advanced questions...
 
C

Chris Thomasson

Phlip said:
Game engine programming requires some leading-edge C++ comprehension;
everything from how to safely interact with different endians to how to
avoid STL when it's too slow.

[...]

EA has to have people that know how to program the PowerPC and the Cell BE.
So, intermediate, or preferably advanced, skills in


Sony PlayStation 3
- IBM Cell BE Power Processing Element ISA
- IBM Cell BE Synergistic Processing Element ISA


Nintendo Wii
- IBM Broadway Processor ISA


Assembly Language(s) has got to be a major plus in an interview... Tell them
how you can leverage your Assembly Language skills against your expert C++
skills to heavily optimize a game engine for a high-end console. Major plus
indeed!


Any thoughts?
 
C

Chris Thomasson

Sony PlayStation 3
- IBM Cell BE Power Processing Element ISA
- IBM Cell BE Synergistic Processing Element ISA


Nintendo Wii
- IBM Broadway Processor ISA

Forgot one!


Microsoft Xbox 2
- IBM PowerPC Processor ISA
 
B

BobR

Phlip wrote in message ...
Do you know how to safely avoid making a destructor virtual when it's 10:30
PM, you have had 6 hours of sleep in the last 3 days, and can't remember if
you have children?

Nooo problem!! You put a note on your co-workers desk that states "The boss
wants this on his desk by 6:30 THIS morning", knowing full well the co-worker
won't be in until 7:00. Then go home to make more children (...once you get
to a dozen, you'll never forget!).
 
B

BobR

blangela wrote in message ...
Of course I meant to type "Electronic Arts" in the title!

[title] Yeah, sure, that's what they all say! <G>

Most (some) companies are not anti-human. I'd write to EA, explain the
students request, and ask them if they would send you a/some job
description(s) for your class to review.
That should give some idea about the kind of questions they might ask.

[ I once read a job description of the job I had been doing for 15+ years. No
way in heck I would think I was qualified and apply for the job had I been on
the outside! <G> It sounded more like a lawyer job! I was machinist.]
 
P

Phlip

BobR said:
Nooo problem!! You put a note on your co-workers desk that states "The
boss
wants this on his desk by 6:30 THIS morning", knowing full well the
co-worker
won't be in until 7:00. Then go home to make more children (...once you
get
to a dozen, you'll never forget!).

We'll let you know.
 
C

Chris Thomasson

Chris Thomasson said:
Phlip said:
Game engine programming requires some leading-edge C++ comprehension;
everything from how to safely interact with different endians to how to
avoid STL when it's too slow.

[...]

EA has to have people that know how to program the PowerPC and the Cell
BE. So, intermediate, or preferably advanced, skills in


Sony PlayStation 3
- IBM Cell BE Power Processing Element ISA
- IBM Cell BE Synergistic Processing Element ISA

actually its IBM, Sony and Toshiba for the Cell BE.
 
D

Diego Martins

blangela said:
I have a former student who came to me and asked if I had any idea the
types of C++ questions that EA asks potential new hires to evaluate
their C++ knowledge/skills. I do not, but I thought perhaps someone
out there does. Any EA or former EA employees want to suggest possble
interview questions?

Are you sure is it worthy working for company that bought and crashed
many good indie game developers?
 
M

mlimber

blangela said:
I have a former student who came to me and asked if I had any idea the
types of C++ questions that EA asks potential new hires to evaluate
their C++ knowledge/skills. I do not, but I thought perhaps someone
out there does. Any EA or former EA employees want to suggest possble
interview questions?

I considered working for them at one point. Here's a questionaire they
had me submit answers for before the interview:

Q1. Given the screen space coordinates of a triangle in counter
clockwise order, how would you determine if the triangle is front or
back facing?

Q2. Unlike most modern OS's, console video game systems have no
virtual memory. Describe some memory-saving techniques for fitting a
large video game into a fixed amount of memory.

Q3. Describe the following data structures and describe their use.
Also, give examples of where they might be used in a program, and what
performance we might expect from them.
a. Linked List
b. Queue
c. Stack
d. Array

Q4. Write an *optimized* C program to convert a base 16 number to its
base 10 equivalent, without using the standard C libraries, i.e.
don't use scanf("%x"). The program should allow the user to
input the number. State any assumptions you made when writing the
program. Use 23DA as a test number.


Q5. Write one or two paragraphs answering the following questions:
a. Describe the common uses for the break, nop, and cop instructions on
many of the current processors.
b. What are the advantages and disadvantages of using a handle-based
memory allocation system over a pointer-based allocation system?
c. How would you approach optimizing a large application such as a
video game?
d. How would you attempt to understand the design of a large code base
in a short period of time?

Q6. Here are several different ways to declare constants. What are the
pros and cons of each?

A.
#define INDEX_1 0
#define INDEX_2 1
#define INDEX_3 2
#define MAX_INDEX 3

B.
enum
{
INDEX_1 = 0,
INDEX_2,
INDEX_3,
MAX_INDEX
};

C.
typedef enum
{
INDEX_1 = 0,
INDEX_2,
INDEX_3,
MAX_INDEX
} INDEX_TYPE;

D.
static const int
INDEX_1 = 0,
INDEX_2 = 1,
INDEX_3 = 2,
MAX_INDEX = 3;

E.
int
INDEX_1 = 0,
INDEX_2 = 1,
INDEX_3 = 2,
MAX_INDEX = 3;


Q7. Write an *optimized* program in C to multiply two linear matrices.
This program should take as input the dimensions of each matrix, as
well as the components of each matrix. State any assumptions you made
when writing this program. Use the following matrices as a test:

1 0
-2 3 0 6 1
5 4 3 8 -2
0 1


Q8. Why would someone program in assembly language - what are the
pluses and minuses? Are there better ways to deal with these
situations than resorting to assembly?


Because of their infamous employee policies (which are getting better
by some reports), I decided not to interview with them, but a friend
who works there was asked something like this in the interview: Write a
function to multiply a number by 7 without using the * operator.

See also my comments in this thread:

http://groups.google.com/group/comp.lang.c++/browse_frm/thread/1643f212b0557896/22b9dca8659282dc

Cheers! --M
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,997
Messages
2,570,241
Members
46,831
Latest member
RusselWill

Latest Threads

Top