Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Interview tests

Interview tests

Scheduled Pinned Locked Moved The Lounge
questioncomdesignalgorithmsdebugging
34 Posts 15 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 0 0x01AA

    I disagree on some parts What does the question answers? ...

    Quote:

    "What is the outermost tag in an HTML document?"

    .. simply he/she knows a syntax. Are you really looking for candidates, who are familar with a certain syntax? For me, I don't care wheter she/he knows this and that syntax. I'm more interested in somebody who can abstract requests with a given tool. And the tool is a minor thing, I think. Only my two cents ;)

    R Offline
    R Offline
    raddevus
    wrote on last edited by
    #21

    0x01AA wrote:

    Are you really looking for candidates, who are familar with a certain syntax?

    No not really. I know what you mean and I agree. The example question was just a start into the conversation to probe to see if the person had ever even done the most basic thing with the specific tech. This was in a hope that a deeper discussion would follow.

    1 Reply Last reply
    0
    • 0 0x01AA

      I disagree on some parts What does the question answers? ...

      Quote:

      "What is the outermost tag in an HTML document?"

      .. simply he/she knows a syntax. Are you really looking for candidates, who are familar with a certain syntax? For me, I don't care wheter she/he knows this and that syntax. I'm more interested in somebody who can abstract requests with a given tool. And the tool is a minor thing, I think. Only my two cents ;)

      C Offline
      C Offline
      charlieg
      wrote on last edited by
      #22

      I think it depends on the seniority level. Newer programmers should have a demonstrable knowledge of the development languages listed on their resume or application - whatever it is. I've not done interviews for 20 years now.... When we were staffing for a new development project, I interviewed candidate after candidate claiming C/C++ experience but could not explain basic pointer arithmetic, scope, etc. Nothing tricky. To see if they had any knowledge of binary / system architecture, we would ask, "What is the largest unsigned number you can put in a byte? and "... put in a word?" Total and complete lockup.

      Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

      J 1 Reply Last reply
      0
      • H honey the codewitch

        When I used to interview (before anxiety overtook me, and back before I was taking my own clients) for me I treated it exclusively as an opportunity to evaluate the company and nothing more. Were the questions sensible? Most of the time I don't think coding questions are unless they are the kind that are open ended to try and draw out how you attack a problem. If they don't ask sensible questions, that's usually a red flag for me. Microsoft likes whiteboards. I understand having to implement atoi() on a whiteboard. It's not about testing how you code. It's about testing how you test. Anyone can write an atoi function or they would have never gotten to the interview. But can you do it on the spot? If anyone ever asked me to implement atoi for a non-SDET position I'd probably walk, or at least put it in the red flag column. It's a question for testers. I'm happy with soft questions. Figuring out how I will get along with you and other members of your team is important. But if you're asking me about Big O notation I've either come to the wrong interview, or you're looking at the wrong candidates. I'm well past entry level positions where we need to be dealing in basic coding questions like that. Don't ask me what a linked list is either. However, Microsoft aside (they have a script, and they stick to it), I've found because of the way I approach interviews, I tend to be the one who leads them, meaning I'm asking at least half the questions. So maybe that's why I didn't deal with that stuff a lot, after my first few years in the field. I've actually never had a company ask questions like you appear to want to see asked. I have had sit downs with the corporates (CEO/CTO) about their plans, and if they were realistic, and what I could bring to the table. That stuff tends to be higher level though. I've never actually gotten into the weeds at an interview to where we'd be talking about profiling. If we did it would surprise me. I'm not sure how I would take it? Probably in the net win column but it would throw me.

        Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #23

        On one interview (for consultants), the PM asked me to "tell me about yourself". I talked (this time) about everything except IT. "I was born at an early age, etc." (He had my resume) I got the contract.

        "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

        H 1 Reply Last reply
        0
        • L Lost User

          On one interview (for consultants), the PM asked me to "tell me about yourself". I talked (this time) about everything except IT. "I was born at an early age, etc." (He had my resume) I got the contract.

          "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

          H Offline
          H Offline
          honey the codewitch
          wrote on last edited by
          #24

          I would have hired you.

          Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

          1 Reply Last reply
          0
          • M Maximilien

            with some exceptions... Tests are mostly to see how a person answer a question when he does not know the answer to the question. if you're at the stage of the test, you probably went through a couple of interviews; if they did not like you, you would not be there. I answered a few SQL questions with "Select * from _Table_I_DonT_Know_SQL_I_Told_You_Before".

            CI/CD = Continuous Impediment/Continuous Despair

            J Offline
            J Offline
            jschell
            wrote on last edited by
            #25

            Maximilien wrote:

            Tests are mostly to see how a person answer a question when he does not know the answer to the question.

            I think that is an idealistic view point. I am basing that on working with people who ask such questions and then reflecting on conversations with them. Their opinion is often that the interviewee must get it right and additionally must get it right in the same way that the questioner expects. One interviewer asked me to explain a esoteric point of C++. Which I did. Explaining was easy for me because just a few days prior I had explained exactly the same point on a site. I thought it was an amusing coincidence and commented on that, again as a coincidence, to the interviewer. The interviewer immediately got flustered and the interview ended shortly after. I was on the way to may car when it dawned on me that the interviewer had likely gotten the question and my answer from the site. (Back then there were far fewer sites where one might find such information.)

            1 Reply Last reply
            0
            • L Lost User

              The tests I passed to land my first programming job and one other "key" move consisted of symbolic and verbal "intelligence tests"; one administered by an industrial psychology firm. They are (much) the same one you do in your final year in high school (at least where I came from). Anything except "symbolic" is culturally biased.

              "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I

              J Offline
              J Offline
              jschell
              wrote on last edited by
              #26

              Gerry Schmitz wrote:

              one administered by an industrial psychology firm

              Yes those are complete nonsense. Consulting company I worked for employed about 300 employees most of who were developers. They recognized certain individuals in that pool as being so proficient that they did nothing but work as trouble shooters solving difficult problems. The company decided to 'optimize' hiring by using such a psy profile (paying an third party service for this.) They decided on an 'ideal' candidate profile and then, as test, gave it do all of the existing employees. None of the proficient employees fit into the profile.

              1 Reply Last reply
              0
              • C charlieg

                I think it depends on the seniority level. Newer programmers should have a demonstrable knowledge of the development languages listed on their resume or application - whatever it is. I've not done interviews for 20 years now.... When we were staffing for a new development project, I interviewed candidate after candidate claiming C/C++ experience but could not explain basic pointer arithmetic, scope, etc. Nothing tricky. To see if they had any knowledge of binary / system architecture, we would ask, "What is the largest unsigned number you can put in a byte? and "... put in a word?" Total and complete lockup.

                Charlie Gilley “They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759 Has never been more appropriate.

                J Offline
                J Offline
                jschell
                wrote on last edited by
                #27

                charlieg wrote:

                When we were staffing for a new development project, I interviewed candidate after candidate claiming C/C++ experience but could not explain basic pointer arithmetic, scope, etc. Nothing tricky. To see if they had any knowledge of binary / system architecture, we would ask, "What is the largest unsigned number you can put in a byte? and "... put in a word?"

                That sounds like you had a some other different problem. Such as a contract company sending you candidates with inflated or made up resumes. Or someone in HR just not knowing what they are doing.

                1 Reply Last reply
                0
                • H honey the codewitch

                  When I used to interview (before anxiety overtook me, and back before I was taking my own clients) for me I treated it exclusively as an opportunity to evaluate the company and nothing more. Were the questions sensible? Most of the time I don't think coding questions are unless they are the kind that are open ended to try and draw out how you attack a problem. If they don't ask sensible questions, that's usually a red flag for me. Microsoft likes whiteboards. I understand having to implement atoi() on a whiteboard. It's not about testing how you code. It's about testing how you test. Anyone can write an atoi function or they would have never gotten to the interview. But can you do it on the spot? If anyone ever asked me to implement atoi for a non-SDET position I'd probably walk, or at least put it in the red flag column. It's a question for testers. I'm happy with soft questions. Figuring out how I will get along with you and other members of your team is important. But if you're asking me about Big O notation I've either come to the wrong interview, or you're looking at the wrong candidates. I'm well past entry level positions where we need to be dealing in basic coding questions like that. Don't ask me what a linked list is either. However, Microsoft aside (they have a script, and they stick to it), I've found because of the way I approach interviews, I tend to be the one who leads them, meaning I'm asking at least half the questions. So maybe that's why I didn't deal with that stuff a lot, after my first few years in the field. I've actually never had a company ask questions like you appear to want to see asked. I have had sit downs with the corporates (CEO/CTO) about their plans, and if they were realistic, and what I could bring to the table. That stuff tends to be higher level though. I've never actually gotten into the weeds at an interview to where we'd be talking about profiling. If we did it would surprise me. I'm not sure how I would take it? Probably in the net win column but it would throw me.

                  Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

                  J Offline
                  J Offline
                  jschell
                  wrote on last edited by
                  #28

                  honey the codewitch wrote:

                  Anyone can write an atoi function or they would have never gotten to the interview. But can you do it on the spot?

                  No I don't agree with that. (As always we work in different domain spaces.) A senior developer should NEVER write a atoi() function. Because they already exist. Nor should they be worrying about specific sorting semantics because at the level where sorting actually matters for performance the requirements and design matter more. For example someone that tries to pull 100,000 records from a database and then sorts them 'efficiently' is missing the point that they should never pull 100,000 records in the first place. I don't care if they can write an efficient method. What I want to know is can they be trusted to design a non-trivial system without me micro-managing them?

                  H R 2 Replies Last reply
                  0
                  • Sander RosselS Sander Rossel

                    I once had an interview, first came a test where I had to complete sequences and such. After that came the interview. Guy started with "Hi, welcome, I'm going to ask you a few technical questions. [technical question]." I answered "Hi, let's just assume I'm not lying in my resume and that I know how to develop applications. Let's see if I'm a cultural fit instead. Oh, and the answer to your question is [answer]." The guy was a bit taken aback and then he laughed and said that was the best answer he ever got. We continued in another fashion and he simply asked me about my opinion on .NET Core (which was pretty new at the time), Entity Framework, web development, etc. After that we both knew enough. They really wanted me, but my employer came up with a new assignment and I ended up staying with my employer instead. In another interview someone asked me "How would you solve this problem using Entity Framework?" And I really knew that question because I'd solved the same problem. Unfortunately, they were looking for another answer, to which I could say "but, if you'd just do this and that you'd have it fixed without your workaround." They didn't agree with me so I told them I couldn't see inside their come to that answer and after the interview I said I didn't want to work there. I'm not sure if they wanted me, never asked. Shortly after, I quit my job and started my own business which I've been doing ever since. I've had a couple of interviews and not once did I ask a technical question, as they're completely worthless. Although I did ask my current employee if he could fix a bug for me in actual production code. He came far enough so I hired him almost on the spot :D

                    Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                    J Offline
                    J Offline
                    jschell
                    wrote on last edited by
                    #29

                    Sander Rossel wrote:

                    Unfortunately, they were looking for another answer

                    Exactly the problem (as I mentioned in another post.) Idealistically they should be looking at what you said. But the reality is that most of them want a specific answer and only that one single answer. Anything else is wrong.

                    1 Reply Last reply
                    0
                    • J jschell

                      honey the codewitch wrote:

                      Anyone can write an atoi function or they would have never gotten to the interview. But can you do it on the spot?

                      No I don't agree with that. (As always we work in different domain spaces.) A senior developer should NEVER write a atoi() function. Because they already exist. Nor should they be worrying about specific sorting semantics because at the level where sorting actually matters for performance the requirements and design matter more. For example someone that tries to pull 100,000 records from a database and then sorts them 'efficiently' is missing the point that they should never pull 100,000 records in the first place. I don't care if they can write an efficient method. What I want to know is can they be trusted to design a non-trivial system without me micro-managing them?

                      H Offline
                      H Offline
                      honey the codewitch
                      wrote on last edited by
                      #30

                      jschell wrote:

                      No I don't agree with that

                      Fair enough.

                      jschell wrote:

                      A senior developer should NEVER write a atoi() function. Because they already exist.

                      To be clear I said later in my comment that if I were asked that I'd consider it a red flag at least, given seniority consideration. I said it was an appropriate question for an SDET.

                      Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

                      J 1 Reply Last reply
                      0
                      • H honey the codewitch

                        jschell wrote:

                        No I don't agree with that

                        Fair enough.

                        jschell wrote:

                        A senior developer should NEVER write a atoi() function. Because they already exist.

                        To be clear I said later in my comment that if I were asked that I'd consider it a red flag at least, given seniority consideration. I said it was an appropriate question for an SDET.

                        Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

                        J Offline
                        J Offline
                        jschell
                        wrote on last edited by
                        #31

                        honey the codewitch wrote:

                        I said it was an appropriate question for an SDET.

                        Sorry - I did miss that.

                        H 1 Reply Last reply
                        0
                        • J jschell

                          honey the codewitch wrote:

                          I said it was an appropriate question for an SDET.

                          Sorry - I did miss that.

                          H Offline
                          H Offline
                          honey the codewitch
                          wrote on last edited by
                          #32

                          No worries. :)

                          Check out my IoT graphics library here: https://honeythecodewitch.com/gfx And my IoT UI/User Experience library here: https://honeythecodewitch.com/uix

                          1 Reply Last reply
                          0
                          • J jschell

                            I certainly agree with the commentary in the following (from CP newsletter.) https://www.codeproject.com/News.aspx?ntag=19837497857718739&_z=2928472[^] I have had interviewers ask about Big O notation as though it had some real meaning/use in large scale corporate enterprise development. And then those same interviewers fail to ask anything about doing designs, debugging production problems, reviewing requirements/code, etc. Not to mention asking nothing at all about doing persistent data storage. I also can't ever remember even a single interview question (decades worth) of anyone asking about using profiling tools. Not to mention the concern about thread deadlocks versus how to design a system that can use task prioritization with a thread strategy to maximize load. I have never seen a deadlock. But I have seen multiple systems with load problems because they thought throwing unlimited threads at a problem would solve it (and yes I do mean this literally.)

                            E Offline
                            E Offline
                            englebart
                            wrote on last edited by
                            #33

                            Failure to understand some basics really bites later… usually in production. e.g A validation of a list to detect duplicates. Duplicates must match on eight unique fields. Retrieval of some of the fields make a trip to the database. First implementation consists of three nested loops; full loops with no shortening. Works great in test with 40 items. Hits production with 500 items and takes minutes to complete. This is an interactive function with a user waiting for a response. Final solution: Make one pass through the list to build/combine the comparison fields once. Then 2 nested loops, but the inner loop is adjusted based on the outer loop. (if you already compared index 5 to index 23, you do NOT need to compare index 23 to index 5, and you really do NOT need to make the comparison six times like the original algorithm. This is basic programming!

                            1 Reply Last reply
                            0
                            • J jschell

                              honey the codewitch wrote:

                              Anyone can write an atoi function or they would have never gotten to the interview. But can you do it on the spot?

                              No I don't agree with that. (As always we work in different domain spaces.) A senior developer should NEVER write a atoi() function. Because they already exist. Nor should they be worrying about specific sorting semantics because at the level where sorting actually matters for performance the requirements and design matter more. For example someone that tries to pull 100,000 records from a database and then sorts them 'efficiently' is missing the point that they should never pull 100,000 records in the first place. I don't care if they can write an efficient method. What I want to know is can they be trusted to design a non-trivial system without me micro-managing them?

                              R Offline
                              R Offline
                              raddevus
                              wrote on last edited by
                              #34

                              jschell wrote:

                              What I want to know is can they be trusted to design a non-trivial system without me micro-managing them?

                              :thumbsup: That is a very good target for interviews. Could probably write a great article on the steps to discovering that in the individual. :thumbsup:

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups