tata consultancy services (tcs) logo

Tata Consultancy Services (tcs) Interviews

1 experience5 reads
Tata Consultancy Services (TCS) | Interview | Senior Front End
tata consultancy services (tcs) logo
Tata Consultancy Services (tcs)
Senior Front End
May 29, 20255 reads

Summary

I interviewed for a Senior Front End role at Tata Consultancy Services (TCS). The process involved two technical rounds, a managerial round, and an HR round. Ultimately, my current CTC and expected CTC exceeded their budget.

Full Experience

Round 1:

  • General Introduction.
  • Vue 2 vs Vue 3
  • HTML:
    • How to embed video in HTML?
    • Purpose of noscript tag.
    • strong vs bold
    • How form works?
    • svg vs png.
  • JS:
    • Hoisting (just a tip, explain it from root level like how JS Engine works)
    • Datatypes
    • SSR vs CSR
    • Lifecycle hooks and practical usage
    • Directives and watchers
    • Pass data between components(all types of relation)
    • Which pattern we follow for the functions or methods such that it covers all edge cases
    • Routing, how we pass params and access them. Hash vs history modes
  • -- 3-5 Code snippet questions -- (sorry i forgot but you can find similar on web)
  • Machine Coding:
    • Implement a search box which should filter the results respectively. Object = [{name:'Avenatador',brand:'Lamborghini'},{name:'Q5',brand:'Audi'}......] If we enter car name we should return those details. If we enter brand name, return all the car names under that brand. If it's empty print all car names
    • Two divs with diff colors and change color when we hover
    • Add a image and then add text inside the image based on the position (top,bottom,left,right,center)

Round 2:

  • General Introduction
  • AST in Javascript
  • -- 5 Code snippet questions (tougher than round 1. Includes javscript features too) --
  • Machine Coding
    • Create a search box and print results (similar to round 1). The results should be printed with alternative colors. Eg: 1st result background blue, 2nd - red, 3rd blue....... (you can achieve with class binding)

Managerial Round

  • -- Behavioural questions (which is boring) --

HR Round

  • -- Behavioural questions --
At the end, they said my current CTC itself is high (i work in product based) and expected CTC exceeds their budget :) (shit happens)

Interview Questions (21)

Q1
Vue 2 vs Vue 3 Differences
Other

Discuss the key differences between Vue 2 and Vue 3.

Q2
Embed Video in HTML
Other

Explain how to embed video content in an HTML document.

Q3
Purpose of noscript tag
Other

What is the purpose of the <noscript> tag in HTML?

Q4
strong vs bold HTML tags
Other

Explain the difference between the <strong> and <b> tags in HTML.

Q5
How HTML Forms Work
Other

Describe the fundamental working mechanism of HTML forms.

Q6
SVG vs PNG
Other

Compare SVG and PNG image formats, discussing their differences and use cases.

Q7
JavaScript Hoisting Explained
Other

Explain JavaScript hoisting from a fundamental level, including how the JS Engine works.

Q8
JavaScript Data Types
Other

Discuss the different data types available in JavaScript.

Q9
SSR vs CSR
Other

Compare Server-Side Rendering (SSR) and Client-Side Rendering (CSR).

Q10
Vue Lifecycle Hooks and Usage
Other

Explain Vue.js lifecycle hooks and provide examples of their practical usage.

Q11
Vue Directives and Watchers
Other

Discuss Vue.js directives and watchers, explaining their purpose and usage.

Q12
Vue Component Communication
Other

Explain various methods for passing data between components in Vue.js, covering different types of relationships (parent-child, child-parent, sibling, global).

Q13
Robust Function Design Principles
Other

Discuss design patterns or principles for writing functions/methods that effectively cover all edge cases.

Q14
Vue Routing: Params and Modes
Other

Explain routing in Vue.js, including how to pass and access parameters, and compare hash mode versus history mode.

Q15
Implement Search Box with Filtering
Data Structures & Algorithms

Implement a search box that filters results based on user input. Given an array of objects like [{name:'Avenatador',brand:'Lamborghini'},{name:'Q5',brand:'Audi'}]: if a car name is entered, return its details; if a brand name is entered, return all car names under that brand; if the input is empty, print all car names.

Q16
Hover Effect on Divs
Other

Create two divs with different background colors and implement a hover effect to change their colors when the mouse is over them.

Q17
Text Overlay on Image
Other

Add an image and then overlay text inside the image based on specified positions (top, bottom, left, right, center).

Q18
Abstract Syntax Tree (AST) in JavaScript
Other

Explain what an Abstract Syntax Tree (AST) is in the context of JavaScript.

Q19
Search Box with Alternating Result Colors
Data Structures & Algorithms

Create a search box similar to Round 1, but this time, the results should be displayed with alternating background colors (e.g., 1st result blue, 2nd red, 3rd blue, etc.). Hint: This can be achieved with class binding.

Q20
General Behavioral Questions
Behavioral

Behavioral questions were asked during the managerial round.

Q21
General Behavioral Questions
Behavioral

Behavioral questions were asked during the HR round.

Have a Tata Consultancy Services (tcs) Interview Experience to Share?

Help other candidates by sharing your interview experience. Your insights could make the difference for someone preparing for their dream job at Tata Consultancy Services (tcs).