Full Stack Interview Questions
Full Stack Interview Questions
● A closure is a function that has access to its own scope, the outer function’s
scope, and the global scope.
6. What is the difference between == and === in JavaScript?
○ == checks for equality with type coercion, while === checks for equality
without type coercion, i.e., it checks for both value and type.
7. What is the use of bind method in JavaScript?
○ The bind method creates a new function that, when called, has its this
keyword set to the provided value.
8. Explain how this keyword works in JavaScript.
○ this keyword refers to an object that’s set at the creation of a new
execution context (function invocation).
Databases 13. What is the difference between SQL and NoSQL databases?
● SQL databases are relational, NoSQL are non-relational. SQL databases use
structured query language and have a predefined schema. NoSQL databases
have dynamic schemas for unstructured data.
14. What are ACID properties in databases?
● ACID stands for Atomicity, Consistency, Isolation, Durability. These are a set of
properties that guarantee that database transactions are processed reliably.
HTTP & REST 15. What is the difference between GET and POST methods in HTTP?
● GET is used to request data from a specified resource, POST is used to send data
to a server to create/update a resource.
16. What is REST?
● REST stands for Representational State Transfer. It is an architectural style for
distributed hypermedia systems and was first presented by Roy Fielding in 2000
in his famous dissertation.
● A linked list is a linear data structure where each element is a separate object.
Each element (node) of a list consists of two items - the data and a reference to
the next node.
20. What is the time complexity of binary search?
● The time complexity of binary search is O(log n).
● Redux is a predictable state container for JavaScript apps. It helps you write
applications that behave consistently, run in different environments (client, server,
and native), and are easy to test.
27. What is Vue.js?
● Vue.js is a progressive JavaScript framework for building user interfaces. Unlike
other monolithic frameworks, Vue is designed from the ground up to be
incrementally adoptable.
● GraphQL is an open-source data query and manipulation language for APIs, and a
runtime for executing those queries with your existing data.
33. What is SOAP?
● SOAP (Simple Object Access Protocol) is a messaging protocol that allows
programs that run on disparate operating systems to communicate with each
other.
● JSON Web Token (JWT) is an open standard (RFC 7519) that defines a compact
and self-contained way for securely transmitting information between parties as
a JSON object.
35. What is HTTPS?
● HTTPS is an extension of the Hypertext Transfer Protocol (HTTP). It is used for
secure communication over a computer network, and is widely used on the
Internet.
● A binary tree is a tree data structure in which each node has at most two children,
which are referred to as the left child and the right child.
37. What is a hash table?
● A hash table, also known as a hash map, is a data structure that implements an
associative array abstract data type, a structure that can map keys to values.