What should you expect in your first software engineering interview? That depends on the role you’ve applied for!
Software engineering jobs tend to fall under two categories: domain-specific or general programming.
For a general programming or web development role, the process is fundamentally different. These interviews evaluate your problem-solving ability as well as your coding proficiency, so recruiters are likely to ask questions ranging from the technical to the behavioral.
In this blog post, we’ve compiled a list of 21 most common questions in a software engineering interview, along with succinctly-written answers curated from authority sources around the web.
Technical software engineering interview questions
1. Describe the process you use for writing a piece of code, from requirements to delivery.
“The software development process or life cycle is a structure imposed on the development of a software product. There are several models for such processes, each describing approaches to a variety of tasks or activities that take place during the process.
1. Requirements Analysis
Extracting the requirements of a desired software product is the first task in creating it. While customers probably believe they know what the software is to do, it may require skill and experience in software engineering to recognize incomplete, ambiguous or contradictory requirements.
Specification is the task of precisely describing the software to be written, in a mathematically rigorous way. In practice, most successful specifications are written to understand and fine-tune applications that were already well-developed, although safety-critical software systems are often carefully specified prior to application development. Specifications are most important for external interfaces that must remain stable.
3. Software architecture
The architecture of a software system refers to an abstract representation of that system. Architecture is concerned with making sure the software system will meet the requirements of the product, as well as ensuring that future requirements can be addressed.”
2. What programming languages do you use? Which three do you prefer, or are most familiar with?
3. How do you make sure that your code can handle different kinds of error situations?
“I write tests that describe the expected error situations and check to see that they are handled appropriately. If the software is legacy and prone to generating exceptions, I’ll wrap it up to report the exceptions to get an idea of what needs attention first, and start attacking it there. Of course where required, we’ll use try/catch. Mostly I try to follow the rigorous WOMM development process.”
4. What has your experience been like as part of an agile software development process, if any?
“Agile software development refers to software development methodologies centered round the idea of iterative development, where requirements and solutions evolve through collaboration between self-organizing cross-functional teams. The ultimate value in Agile development is that it enables teams to deliver value faster, with greater quality and predictability, and greater aptitude to respond to change.”
5. What is responsive design? What is the difference between fixed and fluid layouts?
“Responsive website design: Websites that are built with responsive design use media queries to target breakpoints that scale images, wrap text and adjust layout so that the website can ‘shrink to fit’ any size of screen.
Fluid website design: Websites that are built with fluid design use percentages for widths.
Fixed design: Websites that are built using fixed design rely on fixed pixel widths. While a design with fixed dimensions can sometimes be the quickest way to get up and running, it’ll provide a less user-friendly across multiple devices.”
6. What is the software development life cycle? What are the differences between them?
“SDLC or the Software Development Life Cycle is a process that produces software with the highest quality and lowest cost in the shortest time. SDLC includes a detailed plan for how to develop, alter, maintain, and replace a software system.
7. What is your process to test and find bugs in an application?
“Software testing is not a unique approach, but it is a set of tests and assessments that can be conducted at different stages. In fact, testing should be carried out at all stages of development, including after your main launch. Things change, platforms are updated, and errors in mobile apps that were not visible earlier can suddenly appear and wreak havoc…
Usually, this means viewing the application as a whole and setting priorities in any areas that you think are more at risk than others. Tests are then performed to either prove or disprove the functionality, and the detected defects are subsequently recorded. These defects can then be prioritized depending on their impact and severity.”
Quiz-style software engineering interview questions
2. What are some of the building blocks of HTML5?
3. How do you organize CSS files? What are the pros and cons of this approach?
“Splitting your CSS across files makes it easier to parcel tasks out to teams. One developer can work on typography-related styles, while another can focus on developing grid components. Teams can split work sensibly and increase overall productivity.
So what might a good file structure that splits the CSS across files look like?
- reset.css: reset and normalization styles; minimal color, border, or font-related declarations
- typography.css: font faces, weights, line heights, sizes, and styles for headings and body text
- layouts.css: styles that manage page layouts and segments, including grids
- forms.css: styles for form controls and labels
- lists.css: list-specific styles
- tables.css: table-specific styles
- carousel.css: styles required for carousel components
- accordion.css: styles for accordion components.”
*Click here to see Springboard’s job guarantee eligibility terms.
4. What is the purpose of a sandbox? What are some potential alternatives?
“A sandbox is a type of software testing environment that enables the isolated execution of software or programs for independent evaluation, monitoring or testing. In an implementation, a sandbox also may be known as a test server, development server or working directory.”
5. What is black box testing? What is white box testing?
“Software Testing can be majorly classified into two categories:
Black Box Testing is a software testing method in which the internal structure/ design/ implementation of the item being tested is not known to the tester
White Box Testing is a software testing method in which the internal structure/ design/ implementation of the item being tested is known to the tester.”
6. What are some ways to make websites faster? Name as many different techniques as you can.
- Implement your own content delivery network (CDN).
- Use adaptive images.
- Cache, cache, cache.
- Evaluate your plugins.
- Combine images into CSS sprites.
- Enable HTTP keep-alive response headers.
- Compress your content.
- Configure expires headers.
- Review your hosting package.
7. What is the difference between functional requirements and non-functional requirements?
“Functional requirements are the features that a developed software product is expected to perform. For example, adding a payment option at an eCommerce website will be a functional requirement. Non-functional requirements measure the usability of the application such as User Interface look and feel, Security, Performance, Interoperability, Reliability, etc.”
Behavioral/culture fit software engineering interview questions
1. Tell me about a tough software development problem and how you solved it.
“Give a brief description. Make the assumption the other person doesn’t know any specialized vocabulary, or industry-specific challenges. You can also ask the interviewer about their familiarity with the topic you’re about to describe and mold your answer based on the other person’s level of context (a more or less technical answer). Example:
“Three years ago I was working on a small engineering team at a startup and we had an important deadline approaching. Are you familiar with the Agile workflow? We were approaching a sprint deadline, and it was clear our team was behind with only 2 days left to deliver.”’
2. Do you have any personal projects? Tell me about them.
“Sometimes it’s hard to settle on an idea for a project. If you have that problem, start by making a replica of a different application with a different tech stack or something. This will get your brain pumping and eventually you’ll come up with something you’d rather do. The key isn’t coming up with a great idea. The key is to get started on something.
After you’ve worked on your replica for a while, you might notice some shortcomings in the app that you can fix. Or you might realize that you don’t want to make this replica anymore and you start on something else. The purpose of replicating an existing app isn’t to really make the replica. The purpose is to get you started on something so that you’ll find what you really want to do.”
3. Explain the concept of cloud computing to my older (not-very-technical) mother.
“In the simplest terms, cloud computing means storing and accessing data and programs over the Internet instead of your computer’s hard drive. The cloud is just a metaphor for the Internet.”
4. Have you ever disagreed with your boss or manager? What did you do?
“Your goal is to share a story where you disagreed with your manager and you were right about the disagreement. The reason you want to be right is that your story should ideally show how competent you are at your work, which will give the hiring manager confidence in hiring you. This answer can also display other great skills such as negotiating, selling an idea, and inspiring others.”
5. Why do you want to work at [company name]? Have you used our products?
“How can you help the company succeed? Read up on what’s happening with the company and its industry. What stage of growth is the business in? Has it recently changed its product or service offerings? What competitive pressures is it facing? Consider this landscape and think, “What knowledge and experience do I have that would be especially useful to this employer in this time of growth and/or change?”’
6. When do you consider a product to be finished?
“The process of software development is a never-ending cycle. The first release of a software application is rarely “finished.” There are almost always additional features and bug fixes waiting to be designed, developed, and deployed.
Reports from error monitoring software about usability and bugs feed back into the process of software development, and become new feature requests and improvements to existing features.”
7. Teach me about something for the next 10 minutes.
“Choose a simple topic or concept that is easy to explain and will be easy for the interviewer to understand. Making the answer fun will help to engage the interviewer. Keep the answer lighthearted. Remember, the content is not as important as the delivery and showing your communication and teaching skills.”