Upload Button Icon Add office photos

Filter interviews by

Gyaan AI Junior Frontend Developer Interview Questions, Process, and Tips

Updated 11 Dec 2024

Gyaan AI Junior Frontend Developer Interview Experiences

1 interview found

Interview experience
2
Poor
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
No response

I applied via Approached by Company and was interviewed in Nov 2024. There were 2 interview rounds.

Round 1 - Technical 

(12 Questions)

  • Q1. Introduce youself.
  • Ans. 

    I am a passionate frontend developer with experience in HTML, CSS, and JavaScript.

    • Experienced in building responsive websites using HTML and CSS

    • Proficient in JavaScript for interactive web applications

    • Familiar with frontend frameworks like React and Angular

  • Answered by AI
  • Q2. What all things you have implemented in react throughout your journey?
  • Ans. 

    I have implemented various features in React such as state management, routing, API integration, and component lifecycle methods.

    • State management using useState and useReducer hooks

    • Routing with React Router

    • API integration with fetch or axios

    • Component lifecycle methods like componentDidMount and componentDidUpdate

  • Answered by AI
  • Q3. What versions of react have you used?
  • Ans. 

    I have used React versions 16 and 17 in my projects.

    • Used React 16 for a project that required class components and lifecycle methods

    • Currently using React 17 for a project that focuses on functional components and hooks

  • Answered by AI
  • Q4. What all libraries you have used apart from styling library?
  • Ans. 

    I have used libraries like React, Redux, Axios, and Moment.js for frontend development.

    • React

    • Redux

    • Axios

    • Moment.js

  • Answered by AI
  • Q5. Does redux have its own ability to persist state?
  • Ans. 

    Yes, Redux does not have built-in persistence for state.

    • Redux itself does not have built-in persistence for state

    • Persisting state in Redux typically involves using middleware like redux-persist or saving state to local storage

    • Examples of persisting state in Redux include using redux-persist to save state to local storage or using cookies to store state

  • Answered by AI
  • Q6. Console.log([]===[])
  • Ans. 

    The output will be false because arrays are reference types and the comparison is based on reference, not values.

    • Arrays are reference types in JavaScript, so when comparing two arrays using ===, it checks if they refer to the same object in memory.

    • Since the two empty arrays [] are separate instances in memory, the comparison will result in false.

  • Answered by AI
  • Q7. Console.log(a) var a =10; console.log(a)
  • Ans. 

    The code will output 'undefined' and then '10' in the console.

    • The variable 'a' is declared after the first console.log statement, so it will be undefined at that point.

    • The value of 'a' is assigned as 10 before the second console.log statement, so it will output 10.

  • Answered by AI
  • Q8. Write a function what will take time as argument in seconds and it will console.log from that value to 0.
  • Q9. How states are passed in react?
  • Ans. 

    States in React are passed down from parent components to child components using props.

    • States are passed down as props from parent components to child components

    • Parent components can pass states to child components using props

    • States can be updated in parent components and passed down to child components for re-rendering

  • Answered by AI
  • Q10. Difference between useContext and redux.
  • Ans. 

    useContext is a React hook for managing global state within a component tree, while Redux is a standalone state management library for React applications.

    • useContext is built into React and is used for managing local state within a component or passing data down through the component tree.

    • Redux is a separate library that allows for managing global state across the entire application, with actions and reducers to update ...

  • Answered by AI
  • Q11. Use of useSelector hook and useDispatch hook.
  • Ans. 

    useSelector and useDispatch hooks are used in React Redux for accessing state and dispatching actions respectively.

    • useSelector hook is used to extract data from the Redux store state in a functional component.

    • useDispatch hook is used to dispatch actions to the Redux store in a functional component.

    • Example: const data = useSelector(state => state.data); dispatch(action());

  • Answered by AI
  • Q12. Use useContext. to implement increment and decrement feature
  • Ans. 

    Using useContext to implement increment and decrement feature in React

    • Create a context using createContext()

    • Define a provider component to wrap the components that need access to the context

    • Use useContext() hook in the components to access the context and update the state

    • Implement functions for increment and decrement within the context provider

  • Answered by AI
Round 2 - Technical 

(17 Questions)

  • Q1. This a theoritical round. Only theory will be asked. A lot of theory.
  • Q2. What version of react u r using currently?
  • Ans. 

    We are currently using React version 17.0.2.

    • React version 17.0.2 is the latest stable version at the time of this interview.

    • It was released on March 22, 2021, and includes improvements like React Hooks, Concurrent Mode, and more.

    • We regularly update our dependencies to stay up-to-date with the latest features and improvements.

  • Answered by AI
  • Q3. Debouncing vs throttling
  • Ans. 

    Debouncing and throttling are techniques used in web development to limit the number of times a function is called.

    • Debouncing delays the execution of a function until after a specified time has elapsed without any further calls. It is typically used for events like scroll or resize that can fire multiple times in a short period.

    • Throttling limits the rate at which a function is called. It ensures that the function is no...

  • Answered by AI
  • Q4. Why typescript is used?
  • Ans. 

    TypeScript is used to add static typing to JavaScript, catching errors at compile time and improving code quality.

    • Provides static typing, catching errors at compile time

    • Improves code quality and maintainability

    • Supports modern JavaScript features like ES6+

    • Enhances code editor tooling and IntelliSense

    • Facilitates easier refactoring and code navigation

  • Answered by AI
  • Q5. How redux passes states to components
  • Ans. 

    Redux passes states to components through the connect function provided by react-redux library.

    • Redux passes states to components by connecting the component to the Redux store using the connect function.

    • The connect function takes mapStateToProps as an argument, which maps the state from the Redux store to props of the component.

    • The connected component can then access the state from the Redux store as props.

  • Answered by AI
  • Q6. What are the storages browser use
  • Ans. 

    Browsers use various storage options like cookies, local storage, session storage, and IndexedDB.

    • Cookies are small pieces of data stored in the browser that can be accessed by both the server and the client.

    • Local storage allows storing data without expiration date, and it remains even after the browser is closed.

    • Session storage is similar to local storage but data is cleared when the session ends.

    • IndexedDB is a low-lev...

  • Answered by AI
  • Q7. Principles of redux and exaplain each principle
  • Ans. 

    Redux is a predictable state container for JavaScript apps.

    • Single source of truth: The state of your whole application is stored in an object tree within a single store.

    • State is read-only: The only way to change the state is to emit an action, an object describing what happened.

    • Changes are made with pure functions: To specify how the state tree is transformed by actions, you write pure reducers.

    • State changes are made w...

  • Answered by AI
  • Q8. Can we have multiple stores in redux
  • Ans. 

    Yes, multiple stores can be created in Redux for managing different parts of the application state.

    • Redux allows creating multiple stores, each with its own reducers and actions

    • This can be useful for managing different parts of the application state separately

    • Example: creating one store for user authentication and another for managing shopping cart

  • Answered by AI
  • Q9. What storage does redux use in browser
  • Ans. 

    Redux uses the browser's localStorage as its default storage mechanism.

    • Redux uses the browser's localStorage API to persist state across sessions.

    • The data stored in localStorage is serialized to a string before being saved.

    • Developers can also implement custom storage solutions by creating middleware in Redux.

  • Answered by AI
  • Q10. Have you worked with flux? As my answer was no so no futher questions were asked
  • Q11. What is css dom
  • Ans. 

    The CSS DOM (Document Object Model) is a representation of the structure of a webpage created by CSS styles.

    • CSS DOM is a tree-like structure that represents the HTML elements of a webpage along with their CSS styles.

    • It allows developers to access and manipulate the styles of HTML elements using CSS properties and selectors.

    • Changes made to the CSS DOM dynamically update the visual appearance of the webpage.

    • Example: Sele...

  • Answered by AI
  • Q12. What storage does states use in browser
  • Ans. 

    Browsers use various storage options for state management, including cookies, local storage, session storage, and IndexedDB.

    • Cookies: small pieces of data stored in the browser that can be accessed by both the server and client

    • Local Storage: stores data with no expiration date, and remains after the browser is closed

    • Session Storage: stores data for one session only, and is cleared when the browser is closed

    • IndexedDB: a ...

  • Answered by AI
  • Q13. Difference between useContext and useReducer
  • Ans. 

    useContext is used for accessing context values in functional components, while useReducer is used for managing state in a more complex way.

    • useContext is used for accessing context values without prop drilling

    • useReducer is used for managing state in a more complex way by using a reducer function

    • useContext is simpler and more straightforward, while useReducer provides more control and flexibility

    • Example: useContext can ...

  • Answered by AI
  • Q14. What is specificity in css
  • Ans. 

    Specificity in CSS determines which style rule is applied to an element when multiple rules have conflicting selectors.

    • Specificity is calculated based on the type of selector used in a CSS rule.

    • Inline styles have the highest specificity, followed by IDs, classes, and elements.

    • Specificity is represented by a four-part value, with each part corresponding to a different type of selector.

    • For example, the selector 'div p' h

  • Answered by AI
  • Q15. Do you know virtualization
  • Ans. 

    Virtualization is the process of creating a virtual version of a device or resource, such as a server, storage device, network or operating system.

    • Virtualization allows multiple virtual instances to run on a single physical machine, maximizing resource utilization.

    • Examples of virtualization technologies include VMware, VirtualBox, and Docker.

    • Virtualization can improve scalability, flexibility, and efficiency in IT envi

  • Answered by AI
  • Q16. What is critical rendering path
  • Ans. 

    The critical rendering path is the sequence of steps browsers take to convert HTML, CSS, and JavaScript into pixels on the screen.

    • Includes steps like parsing HTML, constructing the DOM tree, rendering the CSSOM, combining them into a render tree, layout, and painting.

    • Optimizing the critical rendering path involves minimizing render-blocking resources, reducing the number of critical resources, and optimizing the order ...

  • Answered by AI
  • Q17. What is infinite scrolling?
  • Ans. 

    Infinite scrolling is a design pattern that continuously loads content as the user scrolls down a webpage.

    • Infinite scrolling helps to provide a seamless user experience by eliminating the need for pagination.

    • It is commonly used in social media feeds, image galleries, and news websites.

    • Infinite scrolling can be implemented using JavaScript to fetch and append new content dynamically.

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Gyaan AI Junior Frontend Developer interview:
  • Javascript
  • React
  • Flux
  • Typescript
  • Css
Interview preparation tips for other job seekers - Have a good grasp on theory in 2nd round round they ask a lot of indepth theory. If I clear this round I will share experience of 3rd round

Skills evaluated in this interview

Interview questions from similar companies

I applied via AmbitionBox and was interviewed in Aug 2022. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Assignment 

Give two assignments to do. Assignment should be related with web designing.

Round 3 - HR 

(2 Questions)

  • Q1. Take interview after completing assignment
  • Q2. Anything can be ask.

Interview Preparation Tips

Interview preparation tips for other job seekers - Doing very good keep going on. It's really awesome.
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(3 Questions)

  • Q1. Given api url get data from API and render in UI and create custom pipe for change id into 1**8
  • Q2. What challenges faced during migration angular 12 to 17 and how to fix What is reducer in ngrx and how to create How to flat an array and sorting
  • Q3. Suppose we have two components parent and child relationship. In child component one button how can access these methods in parents component Suppose we have 3 components if changes in componentA then how...
Interview experience
2
Poor
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Approached by Company and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. What is data binding ?
  • Ans. 

    Data binding is the automatic synchronization of data between the model and view components in an application.

    • Data binding allows for the seamless updating of data in the model to be reflected in the view and vice versa.

    • There are two-way data binding and one-way data binding.

    • Two-way data binding updates the model and view simultaneously, while one-way data binding updates in one direction only.

    • Example: In Angular, usin...

  • Answered by AI
  • Q2. Do you know lazy loading?
  • Ans. 

    Lazy loading is a technique used to defer loading of non-essential resources until they are actually needed.

    • Lazy loading helps improve performance by only loading resources when they are required.

    • In Angular, lazy loading is commonly used for loading modules on demand rather than loading everything upfront.

    • Lazy loading can be implemented using Angular's RouterModule and loadChildren feature.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - I previously interviewed with Infosys and successfully passed nearly three rounds. However, my application was closed by HR because I do not have a Provident Fund from my previous company, although I have my Form 16 and payslips, excluding the PF. Despite this, she still refused my application. Two to three individuals from my previous company are already employed at Infosys. She mentioned that they have company guidelines; if she is familiar with those guidelines, then why continue to waste the time of candidates and the panel?
Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed in Nov 2024. There were 2 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. Explain Virtual DOM, Key Features of React, Hooks in React, create a todo app in react
  • Ans. 

    Virtual DOM is a lightweight copy of the actual DOM, React key features include component-based architecture, declarative syntax, and virtual DOM, React Hooks are functions that let you use state and other React features without writing a class.

    • Virtual DOM is a lightweight copy of the actual DOM that React uses to improve performance by updating only the necessary parts of the DOM.

    • Key features of React include componen...

  • Answered by AI
  • Q2. Javascript Questions- Closures,promises,Async/await,setTimeOut, write acode to reverse a string
Round 2 - HR 

(2 Questions)

  • Q1. Self Introduction, some situation based questions
  • Q2. Basic HR regular questions
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.

Round 1 - Technical 

(13 Questions)

  • Q1. What is closuer? is normal function call as closuer or not
  • Ans. 

    A closure is a function that has access to its own scope, as well as the scope in which it was defined.

    • A closure allows a function to access variables from its outer function even after the outer function has finished executing.

    • Closures are created whenever a function is defined within another function.

    • Example: function outerFunction() { let outerVar = 'I am outer'; return function innerFunction() { console.log(outerVa

  • Answered by AI
  • Q2. What is asyn/await
  • Ans. 

    Async/await is a feature in JavaScript that allows for asynchronous code to be written in a synchronous manner.

    • Async/await is built on top of promises and provides a more readable and concise way to work with asynchronous code.

    • The 'async' keyword is used to define a function as asynchronous, allowing it to use the 'await' keyword inside it.

    • When 'await' is used, it pauses the execution of the function until the promise ...

  • Answered by AI
  • Q3. Remove duplicate from array
  • Ans. 

    Use Set to remove duplicates from array of strings.

    • Create a Set from the array to automatically remove duplicates

    • Convert the Set back to an array if needed

    • Example: const arr = ['apple', 'banana', 'apple', 'orange']; const uniqueArr = [...new Set(arr)];

  • Answered by AI
  • Q4. Hoe does react Dom update?
  • Ans. 

    React DOM updates by comparing the virtual DOM with the actual DOM and only updating the necessary components.

    • React creates a virtual DOM to represent the UI components.

    • When a state or prop changes, React re-renders the virtual DOM.

    • React then compares the virtual DOM with the actual DOM to identify the differences.

    • Only the necessary components are updated in the actual DOM, minimizing performance impact.

  • Answered by AI
  • Q5. What is react hooks explain some
  • Ans. 

    React Hooks are functions that let you use state and other React features without writing a class.

    • React Hooks were introduced in React 16.8.

    • They allow you to use state and other React features in functional components.

    • Some commonly used hooks are useState, useEffect, useContext, and useRef.

    • Hooks make it easier to reuse logic across components.

    • Hooks can be used to manage component state, perform side effects, and more.

  • Answered by AI
  • Q6. What is call bind apply?
  • Ans. 

    Call, bind, and apply are methods used to manipulate the value of 'this' in JavaScript functions.

    • Call - invokes a function with a specified 'this' value and arguments provided individually.

    • Bind - creates a new function that, when called, has its 'this' keyword set to the provided value.

    • Apply - invokes a function with a specified 'this' value and arguments provided as an array.

  • Answered by AI
  • Q7. What is difference b/w redux and redux toolkit
  • Ans. 

    Redux Toolkit is a set of tools and best practices to simplify Redux development, while Redux is a predictable state container for JavaScript apps.

    • Redux Toolkit provides a set of tools like createSlice, createAsyncThunk, and configureStore to simplify Redux setup and reduce boilerplate code.

    • Redux Toolkit includes immer library for writing immutable update logic in a more convenient way.

    • Redux Toolkit also includes a def...

  • Answered by AI
  • Q8. Write a RTL test to check the button
  • Ans. 

    Writing a RTL test to check a button in React

    • Use the render and fireEvent functions from @testing-library/react

    • Find the button element using getByRole('button')

    • Simulate a click event using fireEvent.click

    • Assert that the button is visible and clickable

  • Answered by AI
  • Q9. What inline level and block level elements
  • Ans. 

    Inline and block level elements in HTML/CSS

Answered by AI

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. MCQ questioons were there based on angular framework
  • Q2. Services mcq were there
Round 2 - Technical 

(2 Questions)

  • Q1. What is Dependecy Injection
  • Ans. 

    Dependency Injection is a design pattern in which a class receives its dependencies from external sources rather than creating them itself.

    • Allows for easier testing by injecting mock dependencies

    • Promotes reusability and modularity by decoupling components

    • Reduces code duplication by centralizing dependency creation

    • Example: Angular uses Dependency Injection to provide services to components

  • Answered by AI
  • Q2. What is routing
  • Ans. 

    Routing is the process of navigating between different pages or views in a web application.

    • Routing allows users to move between different parts of a web application without reloading the entire page

    • It is implemented using a router module in Angular, which maps URLs to components

    • Routes can have parameters that can be passed to components for dynamic content

    • Routing can be used to create single-page applications (SPAs) wh

  • Answered by AI

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I applied via Naukri.com and was interviewed in Oct 2024. There were 2 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. Difference between position absolute and relative in css
  • Ans. 

    Position absolute removes element from normal flow, relative keeps element in flow but can be positioned.

    • Position absolute removes element from normal flow, allowing it to be positioned relative to its closest positioned ancestor.

    • Position relative keeps element in normal flow but allows it to be positioned relative to its normal position.

    • Position absolute elements are not affected by other elements and can overlap, whi...

  • Answered by AI
Round 2 - Technical 

(1 Question)

  • Q1. Deep questions about angular and javascript basics

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(3 Questions)

  • Q1. Basic angular questions
  • Q2. Scenario based questions
  • Q3. NgRx related questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Asked basic angular questions.
Some scenario based questions
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Approached by Company and was interviewed in Oct 2024. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Why do we use Debugger in Javascript?
  • Ans. 

    Debugger in JavaScript is used for pausing the execution of code to inspect variables, check the flow of the program, and debug errors.

    • Debugger helps in identifying and fixing bugs in the code.

    • It allows developers to step through code line by line to understand the flow of execution.

    • Developers can inspect variables and their values at different points in the code.

    • By setting breakpoints, developers can pause the code at...

  • Answered by AI

Skills evaluated in this interview

Gyaan AI Interview FAQs

How many rounds are there in Gyaan AI Junior Frontend Developer interview?
Gyaan AI interview process usually has 2 rounds. The most common rounds in the Gyaan AI interview process are Technical.
What are the top questions asked in Gyaan AI Junior Frontend Developer interview?

Some of the top questions asked at the Gyaan AI Junior Frontend Developer interview -

  1. What all libraries you have used apart from styling libra...read more
  2. Does redux have its own ability to persist sta...read more
  3. What version of react u r using current...read more

Tell us how to improve this page.

Gyaan AI Junior Frontend Developer Interview Process

based on 1 interview

Interview experience

2
  
Poor
View more

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.4k Interviews
Accenture Interview Questions
3.9
 • 8.2k Interviews
Infosys Interview Questions
3.6
 • 7.6k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Cognizant Interview Questions
3.8
 • 5.6k Interviews
Amazon Interview Questions
4.1
 • 5k Interviews
Capgemini Interview Questions
3.7
 • 4.8k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.8k Interviews
HCLTech Interview Questions
3.5
 • 3.8k Interviews
Genpact Interview Questions
3.8
 • 3.1k Interviews
View all
Technical Recruiter
3 salaries
unlock blur

₹6 L/yr - ₹6.2 L/yr

QA Lead
3 salaries
unlock blur

₹24 L/yr - ₹32 L/yr

Product Designer
3 salaries
unlock blur

₹18.5 L/yr - ₹23.5 L/yr

Explore more salaries
Compare Gyaan AI with

Innovaccer

3.5
Compare

Artivatic

3.1
Compare

SigTuple

4.4
Compare

TCS

3.7
Compare
Did you find this page helpful?
Yes No
write
Share an Interview