Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
NoToJavaScript4638122dThat's because 95% of candidats can't answer a "hello world" type of question. So yeah, first screening line is to ask the dumb, easy question.
here is an example to you :
DateTime date;
Console.Writeln ( date == null ? "Null" : date.ToString())
Just ask what is the output ? 95% of 'people applying can't answer. -
Lensflare17451121d@NoToJavaScript where do you get the 95% from? I would say it’s 5%.
Obviously it also depends, but 95% seems to be too high no matter what. -
tosensei8456121di think automated interview processes are great.
they are a unmistakable indicator that you should never ever ever even think about applying to a company ever again. -
NoToJavaScript4638121d@Lensflare So bare in mind. It was around 18 months ago. here is the FULL question defintion :
What is the output of the short program below? Explain your answer.
class Program
{
static String location;
static DateTime time;
static void Main()
{
Console.WriteLine(location == null ? "location is null" : location);
Console.WriteLine(time == null ? "time is null" : time.ToString());
}
}
And back in the day (Not true now), chatGPT was producing wrong response.
But out of 50ish people, 45 or more were wrong on this question. I strongly suspect copy/paste in chatGPT. Which really was not so great at the time -
NoToJavaScript4638121d@Lensflare Oh and even now. So here is a question number 3. Which actually has a one line code solution. It can literally be resolved fast and "just with a bit" of overhead in 1 line of code .
ChatGPT weill produce something like 30+ lines of code and people will just copy paste it. This one I just retested. And it's still the case today.
Rotating numbers: Write a function which takes 2 integer parameters n and x. This function should return n numbers after x which are read the same after rotating them by 180 degrees. Examples:
101
609
1111111111
8
Additional information: digits: 2,3,4,5,7 cannot be “rotated”
Or small edit : The part when you "rotate" the number is a one liner. Still needs couple of lines of code :) -
Lensflare17451120d@NoToJavaScript IIRC, DateTime is a struct. So, it cannot be null. Shouldn’t date == null be a compilation error?
And what kind of mistake do the people make with this specific interview question?
About the original topic:
If the problem is that people use chatgpt to answer interview questions, then it’s an argument for face to face interviews and not automatic ones.
I absolutely despise companies that do automated interview processes. You need to sit and talk to a candidate to properly vet them, then again there are some dumb interviewers who ask the most ridiculous questions
rant