Find Interview Questions for Top Companies
Faberwork Interview Questions and Answers
Ques:- What are promises and async await in JavaScript
Right Answer:
Promises in JavaScript are objects that represent the eventual completion (or failure) of an asynchronous operation and its resulting value. They allow you to handle asynchronous code more easily by providing methods like `.then()` for success and `.catch()` for errors.

`async` and `await` are syntactic sugar built on top of promises. An `async` function always returns a promise, and within an `async` function, you can use `await` to pause execution until a promise is resolved, making the code easier to read and write as if it were synchronous.
Ques:- What are cookies sessions and local storage in web development
Right Answer:
Cookies are small pieces of data stored on the user's computer by the web browser while browsing a website, used for tracking and remembering information about the user. Sessions are temporary storage on the server that keeps track of user data across multiple requests during a single visit, typically expiring when the user closes the browser. Local storage is a web storage feature that allows websites to store data in the user's browser persistently, even after the browser is closed, with no expiration time.
Ques:- What is the box model in CSS
Right Answer:
The box model in CSS describes the rectangular boxes generated for elements in a document tree and consists of four areas: content, padding, border, and margin. The content is the innermost area, surrounded by padding, then the border, and finally the margin, which is the outermost area.
Ques:- What is the difference between class and ID in CSS
Right Answer:
In CSS, a class is defined with a dot (.) and can be applied to multiple elements, while an ID is defined with a hash (#) and should be unique to a single element on a page.
Ques:- What are semantic HTML elements and why are they important
Right Answer:
Semantic HTML elements are tags that clearly describe their meaning in a human- and machine-readable way, such as `<header>`, `<article>`, `<footer>`, and `<section>`. They are important because they improve accessibility, enhance SEO, and make the structure of the web page clearer for developers and browsers.
Ques:- What are tags in Git? How do you create and push them?
Right Answer:

Tags in Git are used to mark specific points in the repository's history, often to denote release versions. To create a tag, use the command `git tag <tag-name>`. To push tags to the remote repository, use `git push origin <tag-name>` or `git push –tags` to push all tags at once.

Ques:- What is the difference between git add, git commit, and git push?
Right Answer:

– **git add**: Stages changes in your working directory for the next commit.
– **git commit**: Records the staged changes in the repository's history with a message.
– **git push**: Uploads your local commits to a remote repository.

Ques:- What’s the difference between git pull and git fetch?
Right Answer:

`git fetch` downloads changes from the remote repository to your local repository but does not merge them into your working directory. `git pull` does both: it fetches the changes and then merges them into your current branch.

Ques:- What Quality Assurance and Quality Control activities are done differently for COTS / GOTS project than for a traditional custom development project?
Right Answer:
In COTS (Commercial Off-The-Shelf) and GOTS (Government Off-The-Shelf) projects, Quality Assurance (QA) focuses on evaluating the vendor's product against predefined standards and ensuring compliance with regulatory requirements, while Quality Control (QC) involves testing the product for functionality and performance as per the specifications. In contrast, traditional custom development projects require more extensive QA activities, such as defining requirements and processes from scratch, and QC activities that include more tailored testing to ensure the custom solution meets specific user needs.
AmbitionBox Logo

What makes Takluu valuable for interview preparation?

1 Lakh+
Companies
6 Lakh+
Interview Questions
50K+
Job Profiles
20K+
Users