Upload Button Icon Add office photos

Filter interviews by

Virtusa Consulting Services React Js Frontend Developer Interview Questions, Process, and Tips

Updated 8 Mar 2024

Virtusa Consulting Services React Js Frontend Developer Interview Experiences

1 interview found

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Referral and was interviewed in Feb 2024. There was 1 interview round.

Round 1 - Technical 

(7 Questions)

  • Q1. Types of Promises
  • Ans. 

    Promises in JavaScript are objects representing the eventual completion or failure of an asynchronous operation.

    • Promises can be in one of three states: pending, fulfilled, or rejected.

    • Promises can be chained using .then() to handle success and .catch() to handle errors.

    • Promises can be created using the Promise constructor or by using async/await syntax.

  • Answered by AI
  • Q2. Difference between useState and useEffect
  • Ans. 

    useState is used to manage state in functional components, while useEffect is used to perform side effects in functional components.

    • useState is used to declare state variables in functional components.

    • useEffect is used to perform side effects in functional components, such as data fetching, subscriptions, or manually changing the DOM.

    • useState does not trigger re-renders, while useEffect can be used to trigger re-render...

  • Answered by AI
  • Q3. What is Callback hell
  • Ans. 

    Callback hell is a situation where multiple nested callbacks make the code difficult to read and maintain.

    • Occurs when multiple asynchronous operations are nested within each other

    • Leads to deeply nested code structure which is hard to understand

    • Can be avoided by using Promises, async/await, or modularizing code

  • Answered by AI
  • Q4. Difference between traditional function and arrow function
  • Ans. 

    Traditional functions are defined using the function keyword, while arrow functions are defined using a concise syntax with =>.

    • Traditional functions are hoisted, while arrow functions are not.

    • Arrow functions do not have their own 'this' keyword, they inherit it from the parent scope.

    • Arrow functions are more concise and easier to read compared to traditional functions.

    • Traditional functions are better for methods in obje...

  • Answered by AI
  • Q5. Usecase to create counter in react
  • Ans. 

    Creating a counter in React to increment and decrement a value.

    • Create a state variable to store the count value

    • Use setState to update the count value

    • Render the count value in the component

    • Add buttons to increment and decrement the count value

  • Answered by AI
  • Q6. Program to find frequency of letters in a string
  • Ans. 

    Program to find frequency of letters in a string

    • Create an object to store the frequency of each letter

    • Loop through the string and increment the count of each letter in the object

    • Convert the object into an array of strings with letter and frequency pairs

  • Answered by AI
  • Q7. Program to find if substring is present in a given string without using predefined functions
  • Ans. 

    Iterate through the given string to check if the substring is present.

    • Iterate through the given string and check if each character matches the first character of the substring.

    • If a match is found, check the subsequent characters to see if they form the substring.

    • Return true if the entire substring is found within the given string, otherwise return false.

  • Answered by AI

Skills evaluated in this interview

Interview questions from similar companies

I applied via LinkedIn and was interviewed in Nov 2020. There were 4 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. 1) General C# and Sql Questions.. some concepts in more depth
  • Q2. Joins, Union, Linq, Collections

Interview Preparation Tips

Interview preparation tips for other job seekers - Be Prepared with basic C# questions like delegates, generics, events, interfaces, static classes with some examples

Sql Questions like types of Joins, Subquery, Union, view, stored proc, identity, indexes with some examples

I applied via Campus Placement and was interviewed in Dec 2020. There were 5 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Program for pattern printing ,bubble sort
  • Ans. 

    Program to print a pattern and implement bubble sort on an array of strings.

    • For pattern printing, use nested loops to print the desired pattern.

    • For bubble sort, compare adjacent elements and swap if necessary.

    • Use a loop to iterate through the array until no more swaps are needed.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Basics

Skills evaluated in this interview

I applied via Naukri.com and was interviewed in Aug 2020. There were 5 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. Aws vpc gateway questions, devops drawback
  • Q2. Interfaces in oops
  • Ans. 

    Interfaces define a contract for classes to implement certain methods and properties.

    • Interfaces allow for polymorphism and loose coupling.

    • Classes can implement multiple interfaces.

    • Interfaces cannot be instantiated on their own.

    • Interfaces can have default method implementations.

    • Interfaces can be used to enforce design patterns like the adapter pattern.

  • Answered by AI
  • Q3. Meta programing

Interview Preparation Tips

Interview preparation tips for other job seekers - Not at all good experience. Looks like the structure is baffled now after pandemic hit. First of all HR people, they have so much attitude that you can't even ask them any query regarding your JD or project. Secondly there are many rounds but it all depends upon the interviewer mood only and only. Because you are not hired for a direct project, so if the interviewer is egoistic and high attitude, then it's difficult to get positive feedback even if round well all well. Disappointing experience. Suggestion would be to put right people for talent selection. If people are kept in similar way, every new candidate might have negative experience.

Interview Questionnaire 

2 Questions

  • Q1. Tell about you
  • Q2. What is computer networking
  • Ans. 

    Computer networking is the practice of connecting devices together to share resources and communicate with each other.

    • Computer networking involves the use of hardware and software to connect devices together, such as computers, printers, and servers.

    • Networking protocols, such as TCP/IP, are used to facilitate communication between devices.

    • Examples of computer networks include local area networks (LANs), wide area netwo...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - 1 round will be aptitude test and 2 nd round will be group discussion and finally there will be technical hr and general hr round

Skills evaluated in this interview

Interview Questionnaire 

1 Question

  • Q1. Basic questions related to skillset

Interview Questionnaire 

2 Questions

  • Q1. Reverse linked list
  • Q2. Invert tree

I appeared for an interview before Sep 2020.

Round 1 - Coding Test 

(2 Questions)

Round duration - 45 Minutes
Round difficulty - Easy

The round was conducted at 12 in the college campus. It was a pen and paper based coding round and had 2 coding questions for which we had to write the best approach.

  • Q1. 

    Equilibrium Index Problem Statement

    Given an array Arr consisting of N integers, your task is to find the equilibrium index of the array.

    An index is considered as an equilibrium index if the sum of elem...

  • Ans. 

    Find the equilibrium index of an array where sum of elements on left equals sum on right.

    • Iterate through the array and calculate the total sum of all elements.

    • Then iterate again and keep track of the left sum and right sum, checking for equilibrium.

    • Return the index when left sum equals right sum, or -1 if no equilibrium index found.

  • Answered by AI
  • Q2. 

    Merge Sort Linked List Problem Statement

    You are given a singly linked list of integers. Your task is to sort the linked list using the merge sort algorithm.

    Explanation:

    Merge Sort is a divide and conq...

  • Ans. 

    Implement merge sort algorithm to sort a singly linked list of integers.

    • Divide the linked list into two halves using slow and fast pointers.

    • Recursively sort the two halves.

    • Merge the sorted halves using a merge function.

    • Handle base cases like empty list or single node list.

    • Ensure the termination of the linked list with -1 at the end.

  • Answered by AI
Round 2 - Coding Test 

(2 Questions)

Round duration - 45 Minutes
Round difficulty - Easy

There were 2 coding questions and we had to write the best approach for the questions.

  • Q1. 

    Convert Sentence Problem Statement

    Convert a given string 'S' into its equivalent representation based on a mobile numeric keypad sequence. Using the keypad layout shown in the reference, output the seque...

  • Ans. 

    Convert a given string into its equivalent representation based on a mobile numeric keypad sequence.

    • Create a mapping of characters to their corresponding numeric keypad sequences.

    • Iterate through the input string and append the numeric sequence for each character to the output.

    • Handle lowercase characters only, ignore special characters, capital letters, and spaces in the input string.

  • Answered by AI
  • Q2. 

    Subsequences of String Problem Statement

    You are provided with a string 'STR' that consists of lowercase English letters ranging from 'a' to 'z'. Your task is to determine all non-empty possible subsequen...

  • Ans. 

    Generate all possible subsequences of a given string.

    • Use recursion to generate all possible subsequences by including or excluding each character in the string.

    • Maintain a current index to keep track of the characters being considered.

    • Append the current character to each subsequence generated so far.

    • Recursively call the function with the next index to include the next character in subsequences.

  • Answered by AI
Round 3 - Face to Face 

(2 Questions)

Round duration - 40 minutes
Round difficulty - Easy

The interviewer asked me questions from arrays, strings and linked list.

  • Q1. 

    Longest Increasing Subsequence Problem Statement

    Given an array of integers with 'N' elements, determine the length of the longest subsequence where each element is greater than the previous element. This...

  • Ans. 

    Find the length of the longest strictly increasing subsequence in an array of integers.

    • Use dynamic programming to keep track of the longest increasing subsequence ending at each element.

    • Initialize an array to store the lengths of the longest increasing subsequences.

    • Iterate through the array and update the lengths based on the previous elements.

    • Return the maximum length found in the array.

  • Answered by AI
  • Q2. 

    Binary Palindrome Check

    Given an integer N, determine whether its binary representation is a palindrome.

    Input:

    The first line contains an integer 'T' representing the number of test cases. 
    The next 'T'...
  • Ans. 

    Check if the binary representation of a given integer is a palindrome.

    • Convert the integer to binary representation.

    • Check if the binary representation is a palindrome by comparing it with its reverse.

    • Return true if it is a palindrome, false otherwise.

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Information Technology from Bharati Vidyapeeth's College of Engineering. I applied for the job as SDE - 1 in GurgaonEligibility criteriaAbove 7 CGPANagarro interview preparation:Topics to prepare for the interview - Data Structures and Algorithms, Dynamic Programming, Game theory, System Design, Puzzles, AptitudeTime required to prepare for the interview - 1 MonthInterview preparation tips for other job seekers

Tip 1 : Do at-least 200+ dsa problems from various topics.
Tip 2 : Make 2-3 projects and be well versed with their functionality.
Tip 3 : Practice aptitude questions and time yourself while doing the questions.

Application resume tips for other job seekers

Tip 1 : Keep your resume short, try to make it one pager only.
Tip 2 : Mention only position specific projects, and if you have got a good academic score mention it on top.

Final outcome of the interviewRejected

Skills evaluated in this interview

Interview Questionnaire 

11 Questions

  • Q1. What is the difference between C and C++?
  • Ans. 

    C++ is an extension of C with object-oriented programming features.

    • C++ supports classes and objects while C does not.

    • C++ has better support for polymorphism and inheritance.

    • C++ has a standard template library (STL) which C does not have.

    • C++ allows function overloading while C does not.

    • C++ has exception handling while C does not.

  • Answered by AI
  • Q2. What is the difference between for and while loop?
  • Ans. 

    For loop is used for iterating over a sequence while while loop is used for iterating until a condition is met.

    • For loop is used when the number of iterations is known beforehand

    • While loop is used when the number of iterations is not known beforehand

    • For loop is faster than while loop for iterating over a sequence

    • While loop is useful for iterating until a specific condition is met

    • For loop can be used with range() functio...

  • Answered by AI
  • Q3. Write a program to add two numbers without using + operator
  • Q4. How to you reverse a string without using any looping and inbuilt functions?
  • Ans. 

    To reverse a string without using any looping and inbuilt functions, we can use recursion.

    • Create a function that takes a string as input.

    • If the length of the string is 0 or 1, return the string.

    • Otherwise, call the function recursively with the substring starting from the second character and concatenate the first character at the end.

    • Return the reversed string.

    • Example: reverseString('hello') returns 'olleh'.

  • Answered by AI
  • Q5. How many queues will you use to implement a priority queue?
  • Ans. 

    A priority queue can be implemented using a single queue or multiple queues.

    • One approach is to use a single queue and assign priorities to elements using a separate data structure.

    • Another approach is to use multiple queues, each representing a different priority level.

    • For example, if there are three priority levels, three queues can be used to implement the priority queue.

  • Answered by AI
  • Q6. Which datastructure would you use to implement an heteregenous array?
  • Ans. 

    An array of objects can be used to implement a heterogeneous array.

    • Each element in the array can be an object that represents a different data type.

    • The objects can have different properties and methods based on their respective data types.

    • For example, an element can be an object representing a string with a 'value' property and a 'length' method.

  • Answered by AI
  • Q7. Tell me about yourself?
  • Q8. Describe your project?
  • Ans. 

    Developed a web-based inventory management system for a retail company.

    • Used HTML, CSS, and JavaScript for the front-end development.

    • Implemented a RESTful API using Node.js and Express for the back-end.

    • Utilized a MySQL database to store and manage inventory data.

    • Implemented features like product search, order management, and reporting.

    • Ensured data security and user authentication using encryption and JWT.

    • Collaborated wi...

  • Answered by AI
  • Q9. You are given a match-box and two candles of equal size, which can burn 1 hour each. You have to measure 90 minutes with these candles. (There is no scale or clock). How do you do?
  • Q10. You have 8 balls which are identical(completely). You are given a weighing scale. How many times would you measure to get the odd ball out?
  • Q11. Three friends rent a room for Rs.30 by paying Rs.10 each. The owner decides to give them a discount Rs.5 and gives it to the broker. The broker who a cunning man takes Rs.2. and returns one rupee to each ...
  • Ans. 

    The missing rupee is not actually missing. The calculation is misleading and does not account for the total amount paid.

    • The initial amount paid by each person was Rs.10, totaling Rs.30.

    • The owner gave them a discount of Rs.5, so they paid Rs.25 in total.

    • The broker took Rs.2, leaving them with Rs.23.

    • When the broker returned Rs.1 to each person, they each received Rs.1 back, totaling Rs.3.

    • So, the total amount paid by the ...

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: Let me share my interview process with Sapient. As I did not find any helpful papers before attending interview.The initial test was amcat test, which consisted of aptitude, english comprehension(which was annoying because they ask a lot of unknown word meanings), C and C++ basic concepts. I cleared that test.

Round: Technical Interview
Experience: There are 2 interviews round
1) Technical
2) HR

General Tips: Bond: 1.5 yearEligibility Criteria : Greater than 6.5 CGPA
Skills: C++, Java, Algorithm
College Name: NA
Motivation: Sapient, Trust me it’s an awesome company .Be strong in technical area.

Skills evaluated in this interview

Interview Questionnaire 

13 Questions

  • Q1. Inheritence in java?
  • Ans. 

    Inheritance in Java allows a class to inherit properties and methods from another class.

    • Inheritance is achieved using the 'extends' keyword.

    • The class that is being inherited from is called the superclass or parent class.

    • The class that inherits from the superclass is called the subclass or child class.

    • Subclasses can access the public and protected members of the superclass.

    • Inheritance promotes code reusability and allow...

  • Answered by AI
  • Q2. Overloading and Overridding?
  • Q3. WAP to check if no is palindrom or not?
  • Ans. 

    A program to check if a given number is a palindrome or not.

    • Convert the number to a string.

    • Reverse the string and compare it with the original string.

    • If they are equal, the number is a palindrome.

    • If not, the number is not a palindrome.

  • Answered by AI
  • Q4. Primary key and Composite key?
  • Q5. Normalisation?
  • Ans. 

    Normalisation is the process of organizing data in a database to reduce redundancy and improve data integrity.

    • It involves breaking down a table into smaller tables and defining relationships between them.

    • Normalization helps to eliminate data inconsistencies and anomalies.

    • There are different levels of normalization, with each level having specific rules to follow.

    • For example, first normal form (1NF) requires that each t...

  • Answered by AI
  • Q6. Without lifting the pen meet 9 point arranged in squre of 3×3, using 4 lines?
  • Q7. If I am ready to relocate anywhere in India or Outside upon company needs
  • Ans. 

    Yes, I am ready to relocate anywhere in India or outside upon company needs.

    • I am open to exploring new locations and cultures.

    • I understand that relocation may be necessary for career growth and opportunities.

    • I am adaptable and willing to adjust to new environments.

    • I have experience working in diverse teams and can easily integrate into new settings.

  • Answered by AI
  • Q8. If I am ready to accept a project in Java, if Sapient had trained you in DotNet earlier
  • Ans. 

    I would be ready to accept a project in Java even if I was trained in DotNet earlier.

    • I have a strong foundation in programming principles and concepts, which can be applied to any language.

    • I am confident in my ability to quickly learn and adapt to new technologies.

    • I have experience working with multiple programming languages and frameworks.

    • I can leverage my knowledge of DotNet to understand similar concepts in Java.

    • I a...

  • Answered by AI
  • Q9. Why I want to join Sapient
  • Ans. 

    I want to join Sapient because of its reputation for innovative projects and collaborative work environment.

    • Sapient is known for working on cutting-edge projects that push the boundaries of technology

    • I value the collaborative work environment at Sapient, where team members support each other to achieve success

    • I am impressed by Sapient's commitment to professional development and growth opportunities for employees

  • Answered by AI
  • Q10. My Expectations from Sapient
  • Ans. 

    My expectations from Sapient

    • I expect Sapient to provide a challenging and innovative work environment

    • I expect Sapient to offer opportunities for professional growth and learning

    • I expect Sapient to have a collaborative and supportive team culture

    • I expect Sapient to provide competitive compensation and benefits

    • I expect Sapient to have a strong focus on quality and delivering excellent software solutions

  • Answered by AI
  • Q11. What is Counter Strike. ( I mentioned winning a couple of gaming events in my Resume)
  • Q12. What is Trading/Stocks/Exchange. (I had shown my interest in these things by mentioning the development of DalalStreet website by me)
  • Q13. What are you proud of apart from your website DalalStreet and a few more

Interview Preparation Tips

Round: Test
Experience: Vendor based online test consisting of 4 sections – Maths, Logical Reasoning, English and Technical(C/C++/DS/Debugging based Questions). This includes Sectional CutOff as well.

Round: Technical Interview
Experience: Another One on One Interview. Technical Questions on Languages/DataBases and Projects/Internships mentioned by you in your Resume. Lots of Puzzles.
In my case the Interviewer asked me questions on Database(3-4 queries),PHP,HTML,CSS,Internship,C/C++ Basics. Also I had 4 puzzles.

Round: HR Interview
Experience: Key : Just be yourself and be Confident in whatever you say. Show your eagerness to learn things (even if you don’t want to ). If you don’t know anything, Confidently speak up you don’t know. They hardly care, they only see if you are willing to learn.

General Tips: I would add here that SGM is majorly into developing Trading application. SGM – GlobalMarketInstitute would provide you with 6 months of training in technology(Java/DotNet) and Finance(Share/Exchange/Equities etc), which would be a great experience. Hence a knowledge and interest in Share Trading stuff is highly appreciated if you plan to grow your career in Sapient Global Markets.(Bond Agreement of 1.5 years which includes 6 months of Training Period)
Skills: PHP, Databases, C++, Java, .NET
College Name: MNIT Jaipur

Skills evaluated in this interview

Virtusa Consulting Services Interview FAQs

How many rounds are there in Virtusa Consulting Services React Js Frontend Developer interview?
Virtusa Consulting Services interview process usually has 1 rounds. The most common rounds in the Virtusa Consulting Services interview process are Technical.
How to prepare for Virtusa Consulting Services React Js Frontend Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Virtusa Consulting Services. The most common topics and skills that interviewers at Virtusa Consulting Services expect are CSS, HTML, Javascript, React.Js and Redux.
What are the top questions asked in Virtusa Consulting Services React Js Frontend Developer interview?

Some of the top questions asked at the Virtusa Consulting Services React Js Frontend Developer interview -

  1. Program to find if substring is present in a given string without using predefi...read more
  2. Difference between traditional function and arrow funct...read more
  3. Program to find frequency of letters in a str...read more

Tell us how to improve this page.

Virtusa Consulting Services React Js Frontend Developer Interview Process

based on 1 interview

Interview experience

5
  
Excellent
View more
Virtusa Consulting Services React Js Frontend Developer Salary
based on 5 salaries
₹2.1 L/yr - ₹9.5 L/yr
14% less than the average React Js Frontend Developer Salary in India
View more details

Virtusa Consulting Services React Js Frontend Developer Reviews and Ratings

based on 2 reviews

3.5/5

Rating in categories

3.5

Skill development

3.5

Work-life balance

3.5

Salary

3.5

Job security

3.5

Company culture

3.5

Promotions

3.0

Work satisfaction

Explore 2 Reviews and Ratings
Senior Consultant
3.8k salaries
unlock blur

₹8 L/yr - ₹30 L/yr

Lead Consultant
3.5k salaries
unlock blur

₹10.5 L/yr - ₹34.6 L/yr

Software Engineer
3.3k salaries
unlock blur

₹3.5 L/yr - ₹13.3 L/yr

Consultant
3.3k salaries
unlock blur

₹6 L/yr - ₹20 L/yr

Associate Consultant
2.7k salaries
unlock blur

₹4.7 L/yr - ₹15.1 L/yr

Explore more salaries
Compare Virtusa Consulting Services with

Cognizant

3.7
Compare

TCS

3.7
Compare

Infosys

3.6
Compare

Accenture

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