Welcome to Dream.In.Code
Getting Help is Easy!

Join 86,243 Programmers. There are 2,235 online right now! Ask your question and get quick answers from Dream.In.Code experts. Join the #1 programming help community on the internet! Registration is fast and FREE... Join Now!

Chat LIVE With a Expert
Powered by LivePerson.com

Register to Make This Box Go Away!

Programming Interview Questions

4 Pages V  1 2 3 > »   
Reply to this topicStart new topic

Programming Interview Questions

skyhawk133
post 10 Apr, 2008 - 09:23 AM
Post #1


Big Money... No Wammies!

Group Icon
Joined: 17 Mar, 2001
Posts: 13,547



In line with Psycho's thread, we are also doing interviews at work right now.

We've been asking this question, but need to mix it up a little.

QUOTE
On the white board, write a program that prints the numbers from 1 to 100. But for multiples of three print "Fizz" instead of the number and for the multiples of five print "Buzz". For numbers which are multiples of both three and five print "FizzBuzz".


Give me some alternatives to this. It's an entry level position, so we're looking for problems that demonstrate a grasp of programming logic, not a specific language.

Another we have, but haven't used as we feel it's to easy:

QUOTE
On the white board, write a program that outputs the "99 Bottles of Beer" song


Alright, I've got an interview today at 4 o'clock, give me some good questions to hit her with.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


Nova Dragoon
post 10 Apr, 2008 - 09:39 AM
Post #2


The Innocent Shall Suffer, Big Time

Group Icon
Joined: 16 Aug, 2001
Posts: 5,754

My favorite of late:
What's the difference between a well formed XML document and a valid one?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

supersloth
post 10 Apr, 2008 - 09:44 AM
Post #3


Pwnership is nine tenths of the LOL

Group Icon
Joined: 21 Mar, 2001
Posts: 18,486

QUOTE(Nova Dragoon @ 10 Apr, 2008 - 10:39 AM) *

My favorite of late:
What's the difference between a well formed XML document and a valid one?

i LOVE this question.
User is online!Profile CardPM
Go to the top of the page
+Quote Post

Amadeus
post 10 Apr, 2008 - 10:00 AM
Post #4


g++ -o drink whiskey.cpp

Group Icon
Joined: 12 Jul, 2002
Posts: 11,383

I'd be fried Chris...can't answer either of your questions;)
User is online!Profile CardPM
Go to the top of the page
+Quote Post

Nova Dragoon
post 10 Apr, 2008 - 10:14 AM
Post #5


The Innocent Shall Suffer, Big Time

Group Icon
Joined: 16 Aug, 2001
Posts: 5,754

I heard that 80% of those interviewed with fizz buzz can't do it.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

supersloth
post 10 Apr, 2008 - 10:15 AM
Post #6


Pwnership is nine tenths of the LOL

Group Icon
Joined: 21 Mar, 2001
Posts: 18,486

we interviewed a guy (who's resume made him appear pretty accomplished) on tuesday who couldn't do it.
User is online!Profile CardPM
Go to the top of the page
+Quote Post

skaoth
post 10 Apr, 2008 - 11:01 AM
Post #7


D.I.C Regular

Group Icon
Joined: 7 Nov, 2007
Posts: 269

I like this one

http://www.dreamincode.net/forums/showtopic43479.htm

I'll probably use it as a warm up question next time I get
a chance to interview
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

corliss
post 10 Apr, 2008 - 11:27 AM
Post #8


D.I.C Head

Group Icon
Joined: 25 Oct, 2006
Posts: 108

What is the job and the code they will make.
like:Application developer, JAVA.


P.s.
I would like to do fizzbuzz with a complier. I always failed the tests where I had to write out the app. I could flow chart it though.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Nykc
post 10 Apr, 2008 - 11:33 AM
Post #9


DIC == Huge!

Group Icon
Joined: 14 Sep, 2007
Posts: 2,293

I'd fail miserably, I need the comfort of a PC.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

supersloth
post 10 Apr, 2008 - 11:49 AM
Post #10


Pwnership is nine tenths of the LOL

Group Icon
Joined: 21 Mar, 2001
Posts: 18,486

QUOTE(corliss @ 10 Apr, 2008 - 12:27 PM) *

What is the job and the code they will make.
like:Application developer, JAVA.

Systems Analyst Level 1. Coldfusion, SQL, AJAX
User is online!Profile CardPM
Go to the top of the page
+Quote Post

Martyr2
post 10 Apr, 2008 - 11:53 AM
Post #11


Programming Theoretician

Group Icon
Joined: 18 Apr, 2007
Posts: 3,561

Well if she is hot you could always ask her for her number and give it to sloth. I am sure he would appreciate it.

As for questions that won't get you in trouble, you could ask her how she would go about finding the answer to a question she doesn't know. Often times I find the best programmers can hands down tell you where they would go and what resources they would use to solve the problem. Check out the resources she gives you for quality.

Her answer would tell you a lot about how she works. smile.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

corliss
post 10 Apr, 2008 - 12:00 PM
Post #12


D.I.C Head

Group Icon
Joined: 25 Oct, 2006
Posts: 108

I was asked this one.
Like what is it doing and what would you change.
*without using a complier*
I feel this applys to the SQL protion of the test.
CODE

CREATE FUNCTION dbo.Mystery(@Pattern nvarchar(5),
@Text    nvarchar(4000))

RETURNS nvarchar(4000)

BEGIN

Declare @Len int
Set @Len = Len(@Text) - CharIndex(@Pattern, Reverse(@Text))            Return SubString(@Text, 1, @Len)

END
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

4 Pages V  1 2 3 > » 
Fast ReplyReply to this topicStart new topic
Time is now: 5/16/08 08:26AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month