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

Assistant System Engineer

TCS
upvote
share-icon
2 rounds | 3 Coding problems

Interview preparation journey

expand-icon
Preparation
Duration: 2 months
Topics: Aptitude, Fundamentals of Coding, English, Behavioral Questions, OOPS, DBMS etc
Tip
Tip

Tip 1 : Have clear concepts of Aptitudes
Tip 2 : Have clear concepts of fundamentals of programming
Tip 3 : At least have a project

Application process
Where: Company Website
Eligibility: 6 CGPA in BTech
Resume Tip
Resume tip

Tip 1 : Simple and to the point
Tip 2 : Mention the main things in which you are confident

Interview rounds

01
Round
Easy
Video Call
Duration20 minutes
Interview date22 Jul 2021
Coding problem2

It was a Technical Round. Here I was asked few coding questions and also few technical questions related OOPS, C language, Array, Pointer etc.

1. Nth Fibonacci Number

Easy
0/40
Asked in companies
SAP LabsHCL TechnologiesWalmart

The n-th term of Fibonacci series F(n), where F(n) is a function, is calculated using the following formula -

    F(n) = F(n - 1) + F(n - 2), 
    Where, F(1) = 1, F(2) = 1


Provided 'n' you have to find out the n-th Fibonacci Number. Handle edges cases like when 'n' = 1 or 'n' = 2 by using conditionals like if else and return what's expected.

"Indexing is start from 1"


Example :
Input: 6

Output: 8

Explanation: The number is ‘6’ so we have to find the “6th” Fibonacci number.
So by using the given formula of the Fibonacci series, we get the series:    
[ 1, 1, 2, 3, 5, 8, 13, 21]
So the “6th” element is “8” hence we get the output.
Problem approach

#include 
int main() {

int i, n;

// initialize first and second terms
int t1 = 0, t2 = 1;

// initialize the next term (3rd term)
int nextTerm = t1 + t2;

// get no. of terms from user
printf("Enter the number of terms: ");
scanf("%d", &n);

// print the first two terms t1 and t2
printf("Fibonacci Series: %d, %d, ", t1, t2);

// print 3rd to nth terms
for (i = 3; i <= n; ++i) {
printf("%d, ", nextTerm);
t1 = t2;
t2 = nextTerm;
nextTerm = t1 + t2;
}

return 0;
}

Try solving now
Easy
0/40
Asked in companies
Samsung R&D InstitutePark+TCS

Given an array of length N, you need to find and print the sum of all elements of the array.

Problem approach

#include

int main()
{
//let's assume the maximum array size as 100.
//initialize sum as 0. Otherwise, it will take some garbage value.
int arr[100], size, i, sum = 0;

//Get size input from user
printf("Enter array size\n");
scanf("%d",&size);

//Get all elements using for loop and store it in array
printf("Enter array elements\n");
for(i = 0; i < size; i++)
scanf("%d",&arr[i]);

//add all elements to the variable sum.
for(i = 0; i < size; i++)
sum = sum + arr[i]; // same as sum += arr[i];

//print the result
printf("Sum of the array = %d\n",sum);

return 0;
}

Try solving now
02
Round
Easy
HR Round
Duration15 minutes
Interview date22 Jul 2021
Coding problem1

It was a Managerial and HR round.

1. Basic HR Questions

  • Why do you want to join TCS? 
  • Why IT as you are from non-cs background? 
  • Why should we hire you? 
  • Do you have any issue with relocation or shift timing?
Problem approach

Tip 1 : Stay honest
Tip 2 : Speak confidently
Tip 3 : Don't fake anything

Here's your problem of the day

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

Skill covered: Programming

What is recursion?

Choose another skill to practice
Similar interview experiences
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
926 views
0 comments
0 upvotes
Assistant System Engineer
3 rounds | 6 problems
Interviewed by TCS
1278 views
0 comments
0 upvotes
Assistant System Engineer
3 rounds | 5 problems
Interviewed by TCS
939 views
0 comments
0 upvotes