Find Interview Questions for Top Companies
Afiniti Interview Questions and Answers
Ques:- Is it possible to put all the reinforcing steel at the top of the beam? if yes how? if no, why?
Right Answer:
No, it is not advisable to put all the reinforcing steel at the top of the beam because beams primarily experience bending moments that cause tension at the bottom and compression at the top. Placing all the steel at the top would not effectively resist the tensile forces, leading to structural failure.
Ques:- What is Gradients?
Right Answer:
Gradients are smooth transitions between two or more colors, creating a gradual blend. In design software like Photoshop, they can be used to add depth, dimension, and visual interest to backgrounds and elements.
Ques:- Why do style sheets exist?
Right Answer:
Style sheets exist to separate content from presentation, allowing for consistent styling across multiple pages, easier maintenance, and improved loading times.
Ques:- Three selectors: h1, .warning and #footer, what they do ?
Right Answer:
The selector `h1` targets all `<h1>` elements, `.warning` targets all elements with the class "warning", and `#footer` targets the element with the ID "footer".
Ques:- What is a Smart Object?
Right Answer:
A Smart Object in Photoshop is a layer that contains image data from raster or vector images, allowing you to perform non-destructive editing, such as scaling, transforming, and applying filters without losing the original image quality.
Ques:- What is imported Style Sheet? How to link?
Right Answer:
An imported style sheet is a CSS file that is included in another CSS file using the `@import` rule. To link it, you can use the following syntax in your CSS file:

```css
@import url("styles.css");
```

Alternatively, you can link a CSS file directly in an HTML document using the `<link>` tag:

```html
<link rel="stylesheet" href="styles.css">
```
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 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 are some popular frontend frameworks and libraries
Right Answer:
Some popular frontend frameworks and libraries are:

1. React
2. Angular
3. Vue.js
4. Svelte
5. Bootstrap
6. jQuery
7. Ember.js
8. Backbone.js
Ques:- What is the DOM and how do you manipulate it
Right Answer:
The DOM (Document Object Model) is a programming interface for web documents that represents the structure of a webpage as a tree of objects. You can manipulate the DOM using JavaScript by selecting elements (e.g., using `document.getElementById`, `document.querySelector`), modifying their properties (e.g., `element.innerHTML`, `element.style`), adding or removing elements (e.g., `element.appendChild`, `element.remove`), and responding to events (e.g., `element.addEventListener`).
Ques:- What is a single page application SPA
Right Answer:
A Single Page Application (SPA) is a web application that loads a single HTML page and dynamically updates the content as the user interacts with the app, without requiring a full page reload.
AmbitionBox Logo

What makes Takluu valuable for interview preparation?

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