Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / What tech questions have you been asked in an interview?

Author
Message
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 25th Jun 2013 07:36
Couple weeks ago I had an interview for an internal tech support role. I didn't know I was even showing up for an interview that day. Ignoring the fact I've had to fall back on doing tech support (ugh!), I was asked if I could name 5 layers of the OSI model. It was an unexpected question because honestly I haven't heard anyone even mention that since my college days. I believe I got 3 or 4 of them, but he seemed happy I at least knew what it was.

Aside from that, I've had other jobs ask details about SQL. Like if I knew what an inner and outer join was. So I'm curious, what kind of questions have you guys come across in interviews?

Mobiius
Valued Member
22
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 25th Jun 2013 17:11
I've also had to fall back to 1st line tech support after spending 4 1/2 years as an Avaya certified telephony engineer.

The typical questions I get asked are all customer service related rather than technical. (Believe it or not) Things like how would I calm an angry customer down, what would I do if I didn't know the solution to a problem, things like that.

The only technical questions I've been asked are things like a guy calls up who can't print, what trouble shooting would I do.

Guess I've been lucky that all the technical call centers I've worked at haven't really been all that technical!

This is my current project, check it out! [href]forum.thegamecreators.com/?m=forum_view&t=204576&b=8[/href]
This is my website, check it out! [href]http:\\www.TeamDefiant.co.uk[/href]
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 25th Jun 2013 21:08
I've been asked questions about what I know technically, but none of my interviewers really knew enough the technical stuff to really test me on it. They were either typical HR office types, or Marine Biologists as in my newest job, (they know their stuff, and I know mine, which is nice.)
Jimpo
20
Years of Service
User Offline
Joined: 9th Apr 2005
Location:
Posted: 25th Jun 2013 22:24
I've done far too many software engineer interviews over the last three years and have a huge list of technical questions I've been asked. Here are a few more popular questions that I've been asked by multiple interviewers:

What is the difference between inner and outer join? (same as you Phaelax)
Can you program an implementation of atoi() (string to integer for those who don't know C)?
How does the Java garbage collector work?

Here are the two hardest I've been asked:

Given two sorted arrays A and B and an integer k, find the kth element in the merger of the two arrays. Figuring out an answer isn't that bad, but getting the proper, fast run time answer is trickier.

Given a file where each line is a sorted sequence of integers separated by spaces, write code to parse the file and create an output file containing only the numbers that appear in each line of the input.

This thread is bringing back bad interview memories

Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 25th Jun 2013 23:40
Quote: "The typical questions I get asked are all customer service related rather than technical. (Believe it or not) Things like how would I calm an angry customer down, what would I do if I didn't know the solution to a problem, things like that."


When it comes to some kind of customer support I suppose this kind of thing is normal. Where I work didn't really care what I knew about washing machines, but were more interested in how I handled people. They argued the technical stuff if stuff you can pick up and is easy once you learn it, but the hard part of the job is handling people. The only questions related to tech were probably to see if I could learn the technical side of things and to see if I think logically about technical problems. Being good with people is highly important, because people can often be awkward, easily agitated and can sometimes easily kick off. But then that's typical for a customer focused role.

I don't know how it works specifically for tech support as my job is much more focused on the customer support, but I am required to know a certain amount of technical information about white goods to do my job effectively.


But I guess it's good practice to question what you already know, even if it's second nature. I mean when I had a job interview for a writing job at a games company (which I was really psyched about) I put the effort into researching the company, researching the job and the project but when they started getting technical about my approach to writing it threw me and kinda fumbled. How I write is very much second nature and it has been a long time since I've had to analyse how I write.

Mobiius
Valued Member
22
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 26th Jun 2013 01:17
I did the same when I interviewed for Ubisoft. I did good in the first stages, then totally bombed the last stage. Was quite funny just how bad I was! I would have done better writing "I am a fish" 500 times, saluting, then fainting!

This is my current project, check it out! [href]forum.thegamecreators.com/?m=forum_view&t=204576&b=8[/href]
This is my website, check it out! [href]http:\\www.TeamDefiant.co.uk[/href]
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 26th Jun 2013 02:17
Let's see, physical ... application... um...

Visit my blog http://www.canales.me.
Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 26th Jun 2013 08:46
Quote: "Can you program an implementation of atoi() (string to integer for those who don't know C)?"

Should be easy enough.

Quote: "Given two sorted arrays A and B and an integer k, find the kth element in the merger of the two arrays. Figuring out an answer isn't that bad, but getting the proper, fast run time answer is trickier."

My first thought was to just merge the two into a 3rd sorted array, but that wastes memory and time.
So I came up with this:


Quote: "Given a file where each line is a sorted sequence of integers separated by spaces, write code to parse the file and create an output file containing only the numbers that appear in each line of the input."

Use the numbers in the sequence as keys in a hashmap, and increment the key's value when the number shows up again. Then any key which appeared as many times as there are lines in the file, output those. But ignore duplicate numbers of the same sequence.


I like these questions!

Seppuku Arts
Moderator
20
Years of Service
User Offline
Joined: 18th Aug 2004
Location: Cambridgeshire, England
Posted: 26th Jun 2013 10:42
Quote: "I did the same when I interviewed for Ubisoft. I did good in the first stages, then totally bombed the last stage. Was quite funny just how bad I was! I would have done better writing "I am a fish" 500 times, saluting, then fainting!"


Glad I'm not the only one to balls up at a really important interview. Mine was for Jagex, I would have been working on their Transformers MMO. Still I keep an eye out for jobs there, never know what my pop up, they're supposed to be a fantastic company to work for with decent benefits.

Aaron Miller
19
Years of Service
User Offline
Joined: 25th Feb 2006
Playing: osu!
Posted: 26th Jun 2013 11:00
I have yet to apply at a technical support center. I've applied for plenty of software engineer positions regardless of not having a formal college/university degree. A lot of the places that I've applied to use technologies I have a strong disdain for though. (I am not a fan of C#, for example. I much prefer C for personal projects and C++ for larger team-based projects.)

Some of the questions I remember most are language agnostic though. One was: "If you were processing a black and white image, how would you calculate how much of the image is black and how much of it is white?"
The naive approach for that is to keep a count of just the white (or black) pixels then compare to the number of pixels in the image and there ya go. In terms of implementation I would want to know how big the average image being processed is, and how many images need to be processed at a time.

Quote: "Can you program an implementation of atoi() (string to integer for those who don't know C)?"

I've done this before. Here's a new implementation (should be easy to read): http://codepad.org/HAbX1NiI

Quote: "Given two sorted arrays A and B and an integer k, find the kth element in the merger of the two arrays. Figuring out an answer isn't that bad, but getting the proper, fast run time answer is trickier."

What is the "proper, fast run time answer" in this case? The naive implementation should suffice I would think.

Quote: "Given a file where each line is a sorted sequence of integers separated by spaces, write code to parse the file and create an output file containing only the numbers that appear in each line of the input."

Depending on the number of inputs I would store the input numbers in a binary tree (possibly a B+ tree if there will be over 20k unique inputs). If the actual range of the inputs is relatively small (that is, small enough that the number of inputs as bits would fit within the memory budget for the program) then a simple bitset could be used. The bitset would be initially cleared with each input setting the corresponding bit in the set. The program would just test the bits.

----------------

I never get asked any fun questions in interviews. Nothing too challenging. I'd rather be given a laptop and an hour, lol.

Here's a good question for an interviewee though (I haven't personally been asked this): How do you remove an element from a binary tree while keeping the tree intact?
Even if the interviewee gets it wrong, seeing the thought process for solving that sort of problem would be good for determining whether their problem solving skills are on an acceptable level. (I remember figuring this out on paper once.)

Web - Tweets
“I'm going to punch DXGI in the face. Repeatedly.” ~Aras Pranckevicius
bitJericho
22
Years of Service
User Offline
Joined: 9th Oct 2002
Location: United States
Posted: 26th Jun 2013 16:51 Edited at: 26th Jun 2013 16:53
Quote: "Some of the questions I remember most are language agnostic though. One was: "If you were processing a black and white image, how would you calculate how much of the image is black and how much of it is white?"
The naive approach for that is to keep a count of just the white (or black) pixels then compare to the number of pixels in the image and there ya go. In terms of implementation I would want to know how big the average image being processed is, and how many images need to be processed at a time."


Surely by black and white they mean greyscale. Wouldn't it be simpler to get an average by adding up all the bytes, divide by the number of bytes, then take 128 and divide it by the average to get a percentage.

Oh I reread the question, yeah your approach makes sense.

Visit my blog http://www.canales.me.
Jimpo
20
Years of Service
User Offline
Joined: 9th Apr 2005
Location:
Posted: 26th Jun 2013 19:57
Quote: "Use the numbers in the sequence as keys in a hashmap, and increment the key's value when the number shows up again. Then any key which appeared as many times as there are lines in the file, output those. But ignore duplicate numbers of the same sequence."

That's a very clever solution! Wish I thought of that during the interview

Quote: "My first thought was to just merge the two into a 3rd sorted array, but that wastes memory and time.
So I came up with this:"

That was the solution I got too. I thought I was so clever until the interviewer asked for an answer with a faster run time

Quote: "What is the "proper, fast run time answer" in this case? The naive implementation should suffice I would think."

I don't want to spoil it, but there is a O(logk) solution.

Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 26th Jun 2013 20:31 Edited at: 26th Jun 2013 20:33
My last interview was more like an intelligence test. One question was...

You have 3 jugs. One can hold 8 pints, another 5 pints, and a third 3 pints. The largest jug is Full. Using just 7 moves, and using only full, and empty you need to end up with the two largest jugs holding 4 pints each.

You had a chart....

8 pints 5 pints 3 pints
8............0..............0

Phaelax
DBPro Master
22
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 26th Jun 2013 21:06
Quote: "You have 3 jugs. One can hold 8 pints, another 5 pints, and a third 3 pints. The largest jug is Full. Using just 7 moves, and using only full, and empty you need to end up with the two largest jugs holding 4 pints each."


My brain hurts!

Ortu
DBPro Master
17
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 26th Jun 2013 22:21
given jugs a (8pint), b (5pint), c (3pint)

a to b (3,5,0)
b to c (3,2,3)
c to a (6,2,0)
b to c (6,0,2)
a to b (1,5,2)
b to c (1,4,3)
c to a (4,4,0)

Shazam!

Login to post a reply

Server time is: 2025-05-15 22:41:30
Your offset time is: 2025-05-15 22:41:30