TCS Technical And HR Interview Questions & Answers -2018

List of TCS And HR Technical Interview Questions & Answers:

Here we provide previously common asked TCS Technical And HR Interview Questions & Answers with good solutions. This solution is gathered from the senior faculty of technical subjects and those students who are going to TCS Technical And HR Interview then ones refer the below TCS Technical Interview Questions & Answers for a better purpose.

TCS Technical And HR Interview Questions & Answers:   In below Question and answers are useful to all company technical interviews.

Q) what is function overloading

 A)  Function overloading is a feature of C++ that allows us to create multiple functions with the same name, so long as they have different parameters. Consider the following function:
  int Add(int nX, int nY)
   {
     return nX + nY;
   }

 

GATE 2019 EXAM NOTIFICATION -Registration, Exam Date, Syllabus, Application Form, Eligibility Criteria 

 

Q) Advantages of a macro over a function?

 A) Macro gets to see the Compilation environment, so it can expand #defines. It is expanded by the preprocessor.

Q)  What are the different storage classes in C?

 A)   Auto,register,static,extern

Q) what is friend function?

 A)  A friend function for a class is used in object-oriented programming to allow access to public, private, or protected data in the class from the outside.
Normally, a function that is not a member of a class cannot access such information; neither can an external class. Occasionally, such access will be advantageous for the programmer. Under these circumstances, the function or external class can be declared as a friend of the class using the friend keyword.

Q) What is the scope of a variable?


 A) Scope refers to the visibility of variables. It is very useful to be able to limit a variable’s scope to a single function. In other words, the variable will have a limited scope


Q) What is an interrupt?


 A)   An interrupt is an asynchronous signal informing a program that an event has occurred. When a program receives an interrupt signal, it takes a specified action.

Q) What is a user-defined exception in Java?

 A)  The keywords used in java application are trying, catch and finally are used in implementing user-defined exceptions. This Exception class inherits all the method from Throwable class.

Q) Write a Binary Search program
 

Program:
int binarySearch(int arr[],int size, int item)
{
int left, right, middle;
left = 0;
right = size-1;
while(left <= right)
{
middle = ((left + right)/2);
if(item == arr[middle])
{
return(middle);
}
if(item > arr[middle])
{
left = middle+1;
}
else
{
right = middle-1;
}
}
return(-1);}

NOTE: IF YOU HAVE ANY MORE Technical Interview QUESTION THEN COMMENT ON BELOW THEN WE WILL SHARE TO ALL STUDENTS. THNAKS

Q) What are enumerations?

 A)  An enumeration is a data type, used to declare a variable that store list of names. It acts like a database, which will store a list of items in the variable. example: enum shapes{triangle, rectangle,…



Q) What is a static identifier?


 A)  The static identifier is used for initializing only once, and the value retains during the lifetime of the program/application. A separate memory is allocated for ‘static’ variables. This value can be used between function calls. The default value of an uninitialized static variable is zero. A function can also be defined as a static function, which has the same scope as the static variable.

Q) What exactly is a digital signature?

 A)  Just as a handwritten signature is affixed to a printed letter for verification that the letter originated from its purported sender, digital signature performs the same task for an electronic message. A digital signature is an encrypted version of a message digest, attached together with a message.

Q) What is the difference between an array and a list?

 A) The array is a collection of homogeneous elements. The list is the collection of heterogeneous elements.
Array memory allocated is static and continuous. List memory allocated is dynamic and Random.
Array: User need not have to keep in track of next memory allocation.
List: User has to keep in Track of next location where memory is allocated.
The array uses direct access to stored members, list uses sequential access for members.

Walk-in Interview | Off-campus Drive |  University Updates | Govt jobs Notifications

More questions For TCS Technical AND HR Interview Questions & Answers


  • What is the difference between a Stack and Queue?
  • Give example to differentiate between call by value and call by reference.
  • Why is the usage of pointers in C++ is not recommended?
  • What do you mean by Data mining?
  • Write a program to reverse a string.

TCS Technical And HR Interview Questions & Answers PDF- DOWNLOAD

Why TCS Interview Dates Are Not Released Yet?

Google Interview Questions, Internships, Careers, Hiring Process, Rules

TCS technical MCQ questions
TCS hr interview questions
TCS interview questions pdf
TCS interview questions for experienced
TCS technical interview questions for ece
TCS interview questions for BCom freshers
TCS interview questions
TCS interview questions for bps
TCS Technical And HR Interview Questions & Answers

If You Have Any Queries/ Suggestions / Doubts/ Complaints, Feel Free To comment Below.

MAIL US AT ANY TIME: [email protected] OUR TEAM WILL GIVE REPLY TO YOU AS SOON AS POSSIBLE

1 COMMENT

LEAVE A REPLY

Please enter your comment!
Please enter your name here