Go Back   2023 2024 MBA > MBA > Main Forum > TCS Technical Interview Questions

Thread: TCS Technical Interview Questions Reply to Thread
Your Username: Click here to log in
Title:
  
Message:
Trackback:
Send Trackbacks to (Separate multiple URLs with spaces) :
Post Icons
You may choose an icon for your message from the following list:
 

Additional Options
Miscellaneous Options

Topic Review (Newest First)
4th November 2015 11:58 AM
Saksham
Re: TCS Technical Interview Questions

Here are the some of the questions which are generally asked in the Technical round of the interview:

What is the value of the variable a3 after execution of the following code?
String a1,a2,a3; a1=56 a2=68< a3=a2+a1

6856
5668
124
error

If the int variables int1 and int 1 conatin values 5 and 2 respectively, then the vlue of (double)(int1/int 2)

0.25
0
2.0
2.5

What are th output of following code:
for(x=10;x<+ 50;x+=10) y= x/2; cout<< y ;

25
50
12
10

Write one statement equivalent to the following two statements:
x=sqr(a);
return(x);

return(sqr(a));
printf("sqr(a)");
return(a*a*a);
printf("%d",sqr(a));


The rand() built in library function

is a true random number generator
returns positive double values
is a pseudo-random number generator
returns a different sequence of values each time it is run.

What is the output of the following code?
x=15;y=0; if(x=10) y=7; else y=1; cout<< y;

7
0
1
6

Other question which are asked are given below:


• Write a program to find factorial of a number using recursive function.
• Describe 2 different ways to concatenate two strings.
• Give syntax for SQL and ORACLE joins.
• How is modularity introduced in C++?
• What is the difference between a Stack and a Queue.
• Give example to differentiate between call by value and call by reference.
• Why the usage of pointers in C++ is not recommended ?
• What do you mean by Data mining?
• Write a program to reverse a string.
4th November 2015 09:44 AM
Unregistered
TCS Technical Interview Questions

Hi I would like to have the technical interview questions which are generally asked in the Technical Interview round for TCS?

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT +5.5. The time now is 02:44 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0 PL2

1 2