How to Pass Interviews for Software Developer Roles
Guidance on what your approach and strategy should be in software developer interviews, what you should be doing beforehand and what actually happens during the interview.
Listen to Article
How to Pass Interviews for Software Developer Roles
There is no substitute for genuine understanding
You can largely already know whether you will get a job before you even do the interview for it. This is because the amount of time you have spent learning the technologies for that job is directly correlated with how likely you are to get it. Sure, there are other factors as well - were you personable? Did you seem like a good fit for the company culture? But generally speaking, most interviews for tech positions are largely just a box ticking exercise. You either have the correct skills to do the job, or you don't. Most software developer interviews are very meritocratic in that way.
When preparing for a job interview, you know exactly what you did to prepare. Because you are the one who did it. Ask yourself if you actually read and absorbed all the necessary content to pass the interview for that job. Ask yourself if you can talk with a genuine confidence and conviction about the technologies that you are interviewing for. If not, you likely aren't ready and will not get the job.
Many people delude themselves into thinking that they are prepared - thinking that they understand enough to pass the interview, when really they are miles off the mark. And have not actually put in the hard effort to challenge their own convictions and presuppositions about their understanding of the content. So when the interview comes, they can easily be stumped when asked certain technical questions.
Believing that you can do well in an interview despite not really understanding the technologies that the job is asking for is a fallacy. You won't get given the job because you "hit it off" with the interviewer. You won't get given the job because the interviewer was in a good mood that day and decided to give you a chance. These things may help - but overall there isn't really a substitute for actually just being good at coding.
It's unfortunate, I know. I too, wish that I could just slack off, not learn the content and be handed a high paying job. How cruel life is that we must toil. But it's just the nature of life. We are all judged by our ability to produce outcomes. There is a silver lining though - it is very predictable and fair.
The more effort you put in, the higher your likelihood of passing the interview. The more effort you put in, the larger the competitive edge you have over other candidates.
So the first important thing to grasp is that you need to actually be putting in the effort - coding side projects every day, watching tutorials every day, reading forums every day, doing leetcode every day. And eventually you will get good enough to be offered a job.
You need to advocate for yourself
A common trap that many developers fall into is not advocating for themselves. They might actually be good at a coding. They might have side projects they have undertaken, certificates they have collected. But unless they communicate it - no one will ever know and they will never receive any recognition for it. Almost as if it didn't even happen.
Your life may be infinitely complex but to others you are just a stranger. Unless you are capable of actually making people understand and appreciate the effort that you have put in and the genius you have within you, then you will go unnoticed.
Nobody is a mind reader. It is not reasonable to just expect people to spontaneously understand what is going on in your life. You need to communicate it.
If you see genuine merits within yourself, then you need to demand that people acknowledge them. You don't need to shout it from the rooftops or rub it in anybody's nose, but demand it through your actions. Make yourself visible and ensure that you are being heard.
Personally, I have had many interviews where I came away from it not feeling like I really explained myself. Not really feeling like I drew enough attention to the things that I was actually doing behind the scenes that others should know about. Had I communicated better then maybe things would have gone differently. Don't let this be you.
What you should have built beforehand (how to make yourself employable)
As mentioned before, interviews for tech positions can largely be a box ticking exercise. Lots of the time those boxes will be based on purely objective factors like:
- Your previous workplace experience (including internships/placements).
- Your education (what university did you go to and what were your grades?).
- Your side projects (relevant projects undertaken outside of work/education).
- Certifications and awards that are relevant to the job description.
Long before even doing the interview, you need to be maximising these four things. I remember in my previous job a co-worker telling me of a decision the company was making to no longer hire graduates from universities that were not in the Russell Group. In this case, the decision criteria came to have a hard cut off - you either have the correct education or you don't. Having a Russell Group education is just enough to get your foot in the door and for everybody else it is slammed shut. We can opine on the unfairness of a decision like that, but ultimately this is just how hiring decisions are being made. If you actually want to excel, you will just have to deal with it and maximise your educational achievement as much as possible.
When I did the interview for that same job I mentioned briefly in the first stage of the interview process that I had a few side projects that I had undertaken outside of work/education. The interviewing team took a big interest in what I had said and the next interview round became almost entirely about one of those projects. I produced a Powerpoint presentation with screenshots of the app I had built and I explained its features. Me doing this was probably the primary reason I ended up getting that job. Having side projects that you have undertaken outside of any setting where they would have been mandatory can massively set you apart from other candidates. It is something real and tangible that interviewers can look over to determine what the work that you produce for them will look like after they hire you. It demonstrates that you have an interest and passion in the technology that supersedes the job itself and that you have the agency and determination to pursue it. When companies make hiring decisions, they are making a gamble on whether you will be a net financial benefit for the company or a drain. Therefore, they do not want to leave things in superposition. Having side projects shows an employer exactly what level of work they will be able to get out of you when you are on the job - so ensuring that you have robust side projects is probably one of the best things you can do to increase your employability.
Younger people coming into the workplace will often identify that "work experience" is somewhat of a chicken and egg problem. How do you get work experience to be hired if no one ever hires you? It's true, and is a difficult thing that we all have to contend with. My response would be that you need to get your achievement in education high enough first. This opens the door to internships, placements and graduate roles - which can then turn into full time offers. Interviewers value past job experience because it demonstrates three things:
- That you are capable of waking up early and coming to a job consistently for a prolonged period of time.
- That you understand the cultural and social expectations of working in an office.
- That you have relevant knowledge of the industry or sector of the economy that the job operates in.
Tech roles can often be more forgiving of prior work experience than jobs in other sectors. This is because while jobs in, say, construction, healthcare or retail require on-site visual and tactile experience, programming is primarily a cognitive task that you can complete anywhere. To put it more simply - projects that you have been working on outside of a job can sometimes compensate for work experience.
There are good certifications and bad certifications. Or another way to put it would be that there are certifications that cost a lot of money and time and effort to complete - and are therefore considered valuable to employers. Then there are certifications that are free and take 5 minutes to complete and barely any effort. Do not spend your time completing certifications that are low ROI. Each certification you complete needs to have a clear and measurable positive impact on your career trajectory. Otherwise, most of the time, it isn't worth it. Personally, after I left my first software job and started the search for a new one, I decided to spam Coursera certifications for a while to pick up new skills in the hope of becoming more attractive to employers. While I did gain some valuable understanding from those courses, I have come to view them overall as having had limited utility. This is because my time probably would have been better spent actually coding rather than just completing the course material. At the same time, the courses actually have the effect of making me seem more junior than I actually am and therefore less attractive to employers.
Certificates can be good though. This is because an online course that gives you a certification at the end will likely have clear course material and a clear roadmap to improve your skills. It can also be viewed by an interviewer so they have a better understanding of exactly what you actually know. Rather than learning through YouTube videos, forums, blog posts, and other online content which is not as easy to track, has a more ambiguous footprint and is much harder to quantify - especially when you can't easily verify the creator's credentials or accuracy of what they are saying.
What actually happens in the interview?
Interview questions fit broadly into four categories:
- Screening questions.
- General open ended discussion about your skills, qualifications and abilities.
- Situational questions.
- Technical questions.
The format that these questions are asked will vary dependant on the company. It may also change over time. Sometimes the company will ask you to come in for a face-to-face discussion. Other times they will want you to join a teams call. Sometimes you will be expected to attend a workshop event to assess your skills (this is relatively rarer but still happens somewhat often, especially in big companies). There will likely be multiple interview rounds while the company filters through candidates. Throughout the process you will likely talk to:
- The recruitment team.
- Human Resources (HR).
- The technical team.
The company may be hiring multiple different cohorts so sometimes if you didn't get in on the first round there will be further opportunities to get in. Nowadays, most companies posting job roles for tech positions are inundated with hundreds or even thousands of applicants per job role so sometimes it can take many weeks or even months to hear back.
Screening questions
These are questions that are asked to gauge straight away whether you meet the baseline requirements for the role. They could be questions about:
- Your right to work (citizenship and visa status).
- Your current location and willingness to relocate.
- Your notice period (the amount of time an employee must continue working after they formally resign).
- The start date for the role.
- Your desired salary for the role.
- Working patterns (whether you are happy to work on-site, remote or hybrid).
- Your credentials and clearances (some roles may require active security clearance or a willingness to undergo security clearance).
- Others.
There isn't really much of a strategy that can be applied for many of these questions. You either have the right to work or you don't. You either have active security clearance or you don't. For some questions though, if you actually want to get the job and not just get filtered out at the first stage, your answer should just be a resounding "Yes". Yes, I am willing to relocate. Yes, I am willing to work whatever working pattern the role demands (on-site, hybrid, remote). Yes, I am willing to start immediately.
Of course, it depends on your own individual preferences and circumstances, but if the role is good, the experience you will gain and positive impact on your career trajectory could be massive. You might have to relocate to rural Scotland. It might be difficult but the impact on your career from working that role might be invaluable. You can always move away after a year. You might not have the money to relocate - borrow it from family members and pay them back when you receive your first pay check.
Essentially the underlying message is that you need to be looking at these questions as problems to solve. Don't give the prospective employer any reason to filter you out at the first stage.
Open ended discussion
Most interviews will start out with some form of open ended discussion. The purpose of this is for the interviewer to build a quick rapport with you and get to know a bit about who you are, what you are about and whether you'd be a good fit for the role. Discussions normally centre around:
- Your education and qualifications.
- Your work history (where you worked previously, what the role was, why you left, etc).
- Side projects and what you do outside of work that is related to the role.
Generally, its good to approach these discussions with a warm, kind and genuine demeanour. While much of the interview will focus on hard skills, due to the open-ended format, this section can emphasise the human component more than others. It should therefore be treated as an opportunity to build more of a personal connection with the employer which can lead to them preferring you for the role. Keep it professional though. The focus should still be on how you are qualified for the role and how you are the best fit for the job description. Do not veer into talking about your hobbies or interests that aren't directly related.
Situational questions
I haven't been asked situational questions in every interview. However, they are very common. Especially in big companies. They normally centre around asking candidates to describe a time in their life when they faced some challenge or adversity and how they overcame it. Again, your focus needs to be on your professional life (your experiences in education and the workplace), not how you overcame adversity in a friendship or romantic relationship or how you beat a particularly difficult level in a videogame. While mentioning those things isn't exactly of no impact or importance, employers typically want to gain an understanding of your approaches to work, how you deal with difficult technical problems, interpersonal dynamics when working on group projects and so on. It's best to keep things on topic.
Situational questions can be asked at any stage of the interview process and can often be difficult to identify. Most of the time they are asked in a quite overt way - its obvious that you are being asked one. I've had experiences where the people conducting the interview were literally just reading situational questions off a script. At the same time, they can be easily woven into open ended discussions and can therefore take you off guard. For this reason, mastering the ability to identify situational questions is almost as important as knowing how to answer them.
Identifying situational questions comes down to having a good mental framework for how to approach the conversation and a lot of practise. Later in this article we will discuss the STAR technique which will get you thinking in the right way so that you are not taken off guard when a situational question is asked.
When it comes to how you should answer situational questions, I find that the best approach is to just answer them as genuinely as possible and to try to be authentic. If you have been through the education system or workplace in any western country you will have had dozens of different experiences where you had to overcome challenges in both independent and group work. These challenges could have been of either a technical or interpersonal nature.
There are loads of examples of situational questions for interview preparation available online. Just do a simple Google search to find them or use AI to generate some. What you should do is spend some time reading those questions and thinking back on your life experiences to answer them. When you answer the questions, talk to yourself out loud if you have to - or get another person to listen.
Doing well at these questions really just comes down to sounding natural. If you sound robotic - like you have just memorised particular scenarios and are trying to fit them into a box, if you sound ingenuine or unauthentic, it will not come off well. Getting better at answering them really just comes down to practise. The more you do it, the better you will get at it and the more natural you will sound.
Do not try to make stuff up when trying to answer situational questions. This is a trap I fell for early on in my career. People can typically tell quite easily through your mannerisms and body language that you are not telling the truth. It leads to you sounding ingenuine, unauthentic, getting tied up in chains of falsehoods, and you will likely do poorly in follow up questions.
Technical questions
Technical questions are probably one of the hardest things you will face in the interview. Generally, they are also the most impactful on whether you will get the job or not. Interviewers for tech positions are most of the time happy to give you a bit of leeway on your performance in other sections if you are good at the technologies. It is these questions where all the time that you spent programming, practising leetcode, watching tutorials, etc will be on full display. Technical questions are asked in most interviews, although the format and context in which they are asked may differ.
You could be given a link to a (normally 2 to 4 question) coding challenge using an online platform like HackerRank. You could be given a take home coding assignment that you have a deadline to submit. This format emphasises algorithms and data structures, the specific syntax of the programming language/framework the company is hiring for, and your logical reasoning ability. Therefore, the best thing that you can do to prepare for these questions is to complete as many leetcode problems as possible in the language that the interview is testing for.
You could also simply be asked technical questions verbally in the interview. I remember this being the case when I did an interview for the defence technology company QinetiQ.
Negotiating salary
When it comes to negotiating salary you need to know what you are worth. What you are worth primarily is determined by:
- Your level of seniority (how many years of industry experience you have).
- Your qualifications (what university you went to and what your grades were).
- The jobs location.
- Your coding ability.
Negotiating salary is balancing a narrow tightrope between asking for too little and asking for too much. If you ask for too little, you may be stuck pinching pennies and working a job for less than what your think you are worth or what you are happy with. If you ask for too much you risk being turned down in favour of other candidates with similar abilities to you but a willingness to work for less. The best approach is to maximise your worth by maximising your objective stats (learning as much as possible about the relevant technologies, having side projects, having high educational achievement, etc) and to be willing to walk away if you aren't happy with the salary being offered. I have found that a willingness to walk away will often get you what you want. I know that I am putting in the effort. I know that I am good at programming. I know that I have side projects that will eventually generate substantial income as long as I keep working on them. I might want this job now (as a safety net if my own personal projects don't work out) but if I am not offered the salary that I want I can just walk away and instead just keep putting in effort behind the scenes until a new opportunity opens up.
For every job role there will be a salary range. Knowing the general range for a particular position in the tech sector in your area is a skill that you will pick up after applying to enough roles. For instance a junior, mid-level and senior JavaScript developer in London may fetch:
- Junior (0–2 years): £35,000 – £50,000 (averaging around £40,000–£45,000).
- Mid-Level (2–5 years): £60,000 – £85,000 (can reach £90,000+ in high-paying sectors like fintech or with full-stack TypeScript/React/Node skills).
- Senior (5+ years): £85,000 – £120,000+ (typically £90k–£110k at standard tech companies, with total compensation or specialized fintech/scale-up roles reaching £130k–£140k).
You need to look at those ranges and determine, based on your experience and qualifications, a realistic range of what you are worth and what you are prepared to take. Do not fall into the trap of overestimating or underestimating your worth. The goal always should be to get an objective look at what you are worth based on your personal profile and what the market rate for the position you are applying for is.
The STAR technique
I could have left this section out of the article or given a brief note on it in a different section. However, I think that it is sufficiently important enough to go over in some detail. The STAR technique is probably one of the best ways to prepare for any interview. This is due to the fact that it provides a robust mental framework for structuring your responses to interview questions. It helps you to describe a situation clearly, explain your role, actions and results in a way that the interviewer can understand. Even when you are not being asked a question where it can be directly applied, the STAR technique provides a great way to be thinking about your general approach to conversation in the interview. What your focus should be and what it shouldn't.
When learning any martial art, you will be taught a stance - a specific pose to hold your body in so that you are able to successfully respond to your opponents attacks. A stance allows you stay stable and firmly anchored to the ground so that you cannot be easily knocked over. It also allows you to manoeuvre your body weight so that your strikes on the opponent land with much more reach, power and impact. A stance keeps you agile and able to move quickly and effectively without exhausting yourself.
In an interview, your stance should be the STAR technique. It ensures that you are able to respond to the interviewers questions with clarity, self-awareness, a focus on problem-solving and an orientation towards results.
STAR stands for:
- Situation.
- Task.
- Action.
- Result.
The STAR technique is useful for behavioural and competency-based questions such as "tell me about a time when..." or "give me an example of when you..."
Situation
This is the context. It is where you establish the necessary facts and background of your example.
Example:
I remember a time in my third year of university where I was assigned a group project to code a website in JavaScript for my web programming module and present our solution to other members of the class...
Task
This is where you describe the responsibility that you were given or challenge you had to overcome.
Example:
I had worked with the same group members before on two other projects. They had a positive experience with my communication style and focus on problem-solving in the previous projects so they elected me to lead the group for this project...
Action
Here, you will describe the steps that you took to address the challenge you faced or responsibility you were given.
Example:
Keen to develop my leadership skills, I accepted the role and began to delegate work to different members of the group. Throughout the duration of the project, I liaised with different members of the team to ensure that the work was being completed according to schedule and to a standard that everybody was satisfied with. I also worked to mediate disagreements between group members so that we could come to a consensus about the creative direction of the project that everybody was happy with. When it came to presenting our work, I took the lead on handling the harder parts but also ensured that all members of the group had their time to shine...
Result
This is where you outline the measurable outcomes of your actions and what you learnt and achieved.
Example:
The result was that we were given a grade of 87% for that particular project - one of the highest results in the class. Through this experience I was able to greatly improve my leadership skills, as I learnt how to delegate tasks effectively, have my voice heard, mediate conflicts between different people and also to know when to give others their time in the spotlight too.
Stay Connected
Get notified whenever we publish new articles, insights, guides and product updates.