General Technical Interview Questions Flashcards Preview

Full Stack Software Engineer Interview Prep > General Technical Interview Questions > Flashcards

Flashcards in General Technical Interview Questions Deck (11)
Loading flashcards...
1
Q

What is multithreading?

A
  • Improve CPU performance with multi-threading.
  • A program can manage multiple requests with the same user and can manage many users at the same time.
  • Multiple processes are executed at the same time to improve the performance.
2
Q

What is continuous integration?

A
  • Merge the working copies of all developers to one shared mainline a few times a day.
  • This helps with easy problem detection.
3
Q

Explain CORS?

A
  • Cross-Origin Resource Sharing known as CORS, allows you to request for different resources from a different domain outside of the domain where the resource is originally from.
4
Q

What is Pair-programming?

A

This is an agile technique where you sit down and sort through the code with another coder.

5
Q

What is inversion of control?

A
  • In IoC, custom-written portions of a computer program receive the flow of control from a generic framework
  • A software architecture with this design inverts control as compared to traditional procedural programming: in traditional programming, the custom code that expresses the purpose of the program calls into reusable libraries to take care of generic tasks, but with inversion of control, it is the framework that calls into the custom, or task-specific, code.
  • Inversion of control serves the following design purposes:
    • To decouple the execution of a task from implementation.
    • To focus a module on the task it is designed for.
    • To free modules from assumptions about how other systems do what they do and instead rely on contracts.
    • To prevent side effects when replacing a module.
  • Inversion of control is sometimes facetiously referred to as the “Hollywood Principle: Don’t call us, we’ll call you”
6
Q

How to reduce load time of web application?

A
  • Minimize HTTP requests, optimizing images, reducing redirects, enabling browser caching are some methods to reduce the load time of web apps.
  • You should be able to describe how these techs help in reducing time effectively.
7
Q

What is long polling?

A
  • Long polling is a development pattern that surpasses data from server to client.
  • When the client sends a request, and the information requested is not available, the system waits and return a response rather than sending back empty requests.
8
Q

What is an Application server?

A
  • An application that lets you design and maintains server-side as well as client-side applications.
9
Q

What is Referential transparency?

A
  • This is a way to replace expressions in a program without impacting the final result.
  • It is an aspect of functional programming.
10
Q

What tools would you use to test your code’s functionality?

A

Answer this according to your skills and the tools that you have previously used. Remember to explain in detail what you have used and how it solved your problems.

  • Mocha
    • It is a feature-rich JavaScript test framework running on Node.js and in the browser.
    • Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases.
  • Chai
    • Chai is a BDD (Behavioral Driven Development) / TDD (Test Drive Development) assertion library for Node.js and the browser that can be delightfully paired with any javascript testing framework.
11
Q

Takeaways

A
  • Know the general responsibilities of the full stack web developer.
  • Know the type of interview questions asked in general and how to answer them.
  • Learn what topics and skills that you will be tested in a technical interview with some sample questions.