Mock Tech Interview - Study Guide and Advice

Posted by Paloma Mendez on February 16, 2021

Most of the time, job-seekers in the software development field are given the recommendation to complete a mock technical interview to prepare for what a real technical interview might look like when applying for developer jobs. These mock interviews are given to test a potential hire on their foundational knowledge of a programming language, arithmetic problem solving ability, and perhaps framework or library familiarity. There are countless resources available online, and luckily I found an instagram account that posted a study guide for a basic tech interview (by @champagnecoder).

There are also a few resources that help coders practice algorithm problems, some of which are:


There are some employers that prioritzie the Data Science and Algorithm (DSA) portion of the interivew, but others prefer that their potential hires have a strong foundation in their chosen languages. I had my interview for JavaScript and React and to my surprise, the interviewer had more interest in my familiarity with the framework rather than the language. Luckily it was the mock interview but I was very very humbled. I realized I needed a firmer understanding of each of the principles of the languages I worked with, it was not enough to produce a result.

So many different companies require different language specialties and it can become difficult to figure out which jobs to apply to that require your specific skill set. While it may be tempting to attept to pick up another language, don’t. It would be wiser to hone the skills you already have.

 “I fear not the man who has practiced 10,000 kicks once, but I fear the man who has practiced one kick 10,000 times.”
 - Bruce Lee


My focus moving forward is to hone the skills I already have and understand the principles of each language and framework I have worked with. My intervewer told me that to practice, I could pretend to explain each bit of code to a 5 year old asking ‘why’ continuously. I started working bacwards from my understanding of React and Redux, going back to my beginnings in Ruby. Finding a job in these times is difficult to say the least, but we can leave the interview feeling confident in our foundational knowledge as opposed to scattered focus.

React Review

Below are just a few points I think are crucial to review before your next React interview:

  1. What is the purpose of lifecycle events? How are they used?

    Each component in React has a lifecycle which you can monitor and manipulate during its 3 phases

    Mounting - Putting elements on the DOM
    Updating - Whenever there is a change to a component’s state or props. *
    *Unmounting - When a component is removed from the DOM.

  2. How is a callback function used?

    The purpose of this callback function is to change a piece of the state that is a part of the parent component

  3. What is the purpose of callback function as an argument of setState()?(source)

    The callback function is invoked when setState finished and the component gets rendered. Since setState() is asynchronous the callback function is used for any post action.

  4. What is the purpose of the render method? (source)

    This method is used to render a React element into the DOM in the supplied container and return a reference to the component. If the React element was previously rendered into container, it will perform an update on it and only mutate the DOM as necessary to reflect the latest changes.

  5. What is the ‘virtual DOM’ and how is it different from the regular DOM?(source

    The virtual DOM is a concept where a virtual representation of the real DOM is kept inside the memory and is synced with the real DOM by a library such as ReactDOM.

    There are many resources worth reviewing and it may be difficult to navigate with so much information available, but the important thing to remember is that intvewers know where you’ve been and don’t expect you to know absolutely everything. We all start somewhere and what matters is the grit to keep going.