473,396 Members | 1,923 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Electron Arts Interview C++ Questions

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?

Nov 29 '06 #1
13 8397

blangela wrote:
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!

Nov 29 '06 #2
* 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.

--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Nov 29 '06 #3
blangela wrote:
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?

--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
Nov 29 '06 #4

Phlip wrote:
blangela wrote:
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?

--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
Good one!

Keep them coming ...

Nov 29 '06 #5
Alf P. Steinbach wrote:
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...

--
Phlip

Nov 29 '06 #6
"Phlip" <ph*******@gmail.comwrote in message
news:11*********************@14g2000cws.googlegrou ps.com...
Alf P. Steinbach wrote:
>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.
[...]

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?
Nov 29 '06 #7
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


Nov 29 '06 #8

Phlip wrote in message ...
>blangela wrote:
>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?
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!).

--
Bob <GR
POVrookie
Nov 29 '06 #9

blangela wrote in message ...
>
blangela wrote:
>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!
[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! <GIt sounded more like a lawyer job! I was machinist.]

--
Bob R
POVrookie
Nov 29 '06 #10
BobR wrote:
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.

--
Phlip
http://www.greencheese.us/ZeekLand <-- NOT a blog!!!
Nov 30 '06 #11
"Chris Thomasson" <cr*****@comcast.netwrote in message
news:j9******************************@comcast.com. ..
"Phlip" <ph*******@gmail.comwrote in message
news:11*********************@14g2000cws.googlegrou ps.com...
>Alf P. Steinbach wrote:
>>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.

[...]

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.
Nov 30 '06 #12

blangela wrote:
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?

Nov 30 '06 #13
blangela wrote:
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....b9dca8659282dc

Cheers! --M

Nov 30 '06 #14

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: softwareengineer2006 | last post by:
All Interview Questions And Answers 10000 Interview Questions And Answers(C,C++,JAVA,DOTNET,Oracle,SAP) I have listed over 10000 interview questions asked in interview/placement test papers for...
0
by: Jobs | last post by:
All answers to the below interview questions are at http://www.geocities.com/dotnetinterviews/ or you can download the complete answer zip file from...
0
by: connectrajesh | last post by:
INTERVIEWINFO.NET http://www.interviewinfo.net FREE WEB SITE AND SERVICE FOR JOB SEEKERS /FRESH GRADUATES NO ADVERTISEMENT
2
by: freepdfforjobs | last post by:
Full eBook with 4000 C#, JAVA,.NET and SQL Server Interview questions http://www.questpond.com/SampleInterviewQuestionBook.zip Download the JAVA , .NET and SQL Server interview sheet and rate...
0
by: Jobs | last post by:
C# , SQL Server , Vista , Ajax Interview questions links Full eBook with Vista , Ajax , SQL Server , UML and Architecture interview questions ...
0
by: Free PDF | last post by:
..NET , SQL Server interview questions websites.... http://www.questpond.com http://www.geocities.com/dotnetinterviews/...
0
by: ramu | last post by:
C# Interview Questions and Answers8 http://allinterviewsbooks.blogspot.com/2008/07/c-interview-questions-and-answers8.html C# Interview Questions and Answers7...
0
by: reema | last post by:
EJB Interview Questions http://interviewdoor.com/technical/EJB-Interview-Questions.htm CSS Interview Questions http://interviewdoor.com/technical/CSS-Interview-Questions.htm C Interview Questions...
0
by: reema | last post by:
EJB Interview Questions http://interviewdoor.com/technical/EJB-Interview-Questions.htm CSS Interview Questions http://interviewdoor.com/technical/CSS-Interview-Questions.htm C Interview Questions...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.