TCS interview experience Real time questions & tips from candidates to crack your interview

Assistant System Engineer

TCS
upvote
share-icon
3 rounds | 6 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 12 months
Topics: Core Java, React Js, Javascript, OOPS, Operating System
Tip
Tip

Tip 1 : Do coding questions from each topic
Tip 2 : Do at least 3 projects from each language
Tip 3 : Try to solve practice questions.

Application process
Where: Campus
Eligibility: Above 6.5 CGPA
Resume Tip
Resume tip

Tip 1 : Mentions previous internship experience
Tip 2 : Mention a project from every language learned

Interview rounds

01
Round
Medium
Online Coding Interview
Duration90 minutes
Interview date14 Aug 2019
Coding problem2

This round was held in the evening around 4 pm in the TCS iOn center and I was feeling very nervous during the start of this round but when the test started, I feel that I was able to solve the test and the same happens.

1. Prime Number

Easy
0/40
Asked in companies
ShareChatBarracuda NetworksAVIZVA

Write a Program to check whether the given number N is prime or not.

For a given number N check if it is prime or not. A prime number is a number that is only divisible by 1 and itself.
Problem approach

STEP 1: Take num as input.

STEP 2: Initialize a variable temp to 0.

STEP 3: Iterate a “for” loop from 2 to num/2.

STEP 4: If num is divisible by loop iterator, then increment temp.

STEP 5: If the temp is equal to 0,

Return “Num IS PRIME”.

Else,

Return “Num IS NOT PRIME”.

Try solving now

2. Split Array Into Fibonacci Sequence

Moderate
15m average time
85% success
0/80
Asked in companies
AdobeKempstonTCS

In this problem, You are given a string S of digits, such as S = "123456579", we can split it into a Fibonacci-like sequence [123, 456, 579]. Formally, a Fibonacci-like sequence is a list F of non-negative integers such that:

1: 0 <= F[i] <= 2^31 - 1, (that is, each integer fits a 32-bit signed integer type);

2: F.length >= 3;

3: and F[i] + F[i+1] = F[i+2] for all 0 <= i < F.length - 2.

Also, note that when splitting the string into pieces, each piece must not have extra leading zeroes, except if the piece is the number 0 itself.

Return any Fibonacci-like sequence split from S, or return [] if it cannot be done.

Example :
Input: "123456579"
Output: [123, 456, 579]

Explanation:
Since 123 + 456 = 579, therefore the given string can be broken into fibonacci sequence
Problem approach

Start
Declare variables I, a,b, and show
Initialize the variables, a=0, b=1, and show =0
STEP 1: Enter the number of terms of the Fibonacci series to be printed
STEP 2: Print the first two terms of series
STEP 3: Use a loop for the following steps
show=a+b
a=b
b=show
increase the value of I each time by 1
print the value of the show
End

Try solving now
02
Round
Hard
Face to Face
Duration30 minutes
Interview date30 Aug 2019
Coding problem3

This round is a technical interview round where I have 2 panelists face to face and I was able to answer the questions and therefore clear the round.

1. DBMS Questions

Are NULL values in a database the same as that of blank space or zero?

Problem approach

No, a NULL value is very different from that of zero and blank space as it represents a value that is assigned, unknown, unavailable, or not applicable as compared to blank space which represents a character and zero represents a number.

2. OS Questions

What do you mean by a process?

Problem approach

An executing program is known as a process. There are two types of processes:
Operating System Processes
User Processes

3. Factorial of a Number

Moderate
25m average time
70% success
0/80
Asked in companies
HCL TechnologiesHCL TechnologiesWells Fargo

You are given an integer ‘N’. You have to print the value of Factorial of ‘N’. The Factorial of a number ‘N’ is defined as the product of all numbers from 1 to ‘N’.

For Example:
Consider if ‘N’ = 4, the Factorial of 4 will be the product of all numbers from 1 to 4, which is 1 * 2 * 3 * 4 = 24. Hence, the answer is 24.
Problem approach

Start program
Ask the user to enter an integer to find the factorial
Read the integer and assign it to a variable
From the value of the integer up to 1, multiply each digit and update the final value
The final value at the end of all the multiplication till 1 is the factorial
End program

Try solving now
03
Round
Hard
HR Round
Duration30 minutes
Interview date30 Aug 2019
Coding problem1

This is the face-to-face Hr round held at my University and I was able to crack this round.

1. Basic HR Questions

Why should we hire you?

Assuming you are hired, then how long would you expect to work for us?

What are your achievements in life?

Problem approach
  • As a fresher, I need a platform to prove my ability. If I will be a part of your company, I'll put my effort and strength to uplift your company. None is born with experience, and if you hire me, I will get professional experience through your company."
  • I will work with the company as long as my presence benefits the company and I get ample opportunity to grow and develop both professionally and monetarily
  • My short-term goal is to work in a reputed organization like yours where I can enhance my technical skills and knowledge. My long-term goal is to see the company at a topmost position where I am one of the people responsible for that.

Here's your problem of the day

Solving this problem will increase your chance to get selected in this company

Skill covered: Programming

How do you remove whitespace from the start of a string?

Choose another skill to practice
Similar interview experiences
Assistant System Engineer
2 rounds | 3 problems
Interviewed by TCS
1578 views
1 comments
0 upvotes
Assistant System Engineer
3 rounds | 4 problems
Interviewed by TCS
0 views
0 comments
0 upvotes
Assistant System Engineer
3 rounds | 7 problems
Interviewed by TCS
953 views
0 comments
0 upvotes
Assistant System Engineer
3 rounds | 5 problems
Interviewed by TCS
957 views
0 comments
0 upvotes