Showing posts with label interview questions. Show all posts
Showing posts with label interview questions. Show all posts

## TCS 2017 Asked " C Programs" || freshers || uptunotes.in || Programming Questions

Hello, everyone I am here to provide you some important "C" programs asked during technical interview. To crack TCS OffCampus ONCampus Interview, you should be well prepared with the basic knowledge of C and some basic programs which ask every year.So be prepared with these programs before going to the interview. This post contains a big collection of examples of c program. If you have any doubt in the following c program examples you are free to ask.Here we are telling some of the important programs which ask in the interview . Below you get those programs.

## Frequently asked c programs in interview

1. Write a c program to check given number is perfect number or not.
2. Write a c program to check given number is Armstrong number or not.
3. Write a c program to check given number is prime number or not.
4. Write a c program to check given number is strong number or not.
5. C program to check a number is odd or even.
6. Write a c program to check given number is palindrome number or not.
8. Write a c program to check given string is palindrome number or not.
7. Write a c program to solve quadratic equation.
8.  Write a c program to print Fibonacci series of given range.
9. Write a c program to get factorial of given number.
10. Write a c program for Floyd’s triangle.
11. Write a c program to print Pascal triangle.
12. Write a c program to generate multiplication table.
13. Write a c program to print ASCII value of all characters.
14. C program to print hello world without using semicolon
15. Write a c program which produces its own source code as its output

### C program with numbers

1. Write a c program to reverse any number.
2. Write a c program to find out sum of digit of given number.
3. Write a c program to find out power of number.
4. Write a c program to add two numbers without using addition operator.
5. Write a c program to subtract two numbers without using subtraction operator.
6. Write a c program to find largest among three numbers using binary minus operator.
7. Write a c program to find largest among three numbers using conditional operator
8. Write a c program to find out generic root of any number.
9. Write a c program to find out prime factor of given number.
10. Write a c program to find out NCR factor of given number.
11. How to convert string to int without using library functions in c
12. Program in c to print 1 to 100 without using loop
13. C program for swapping of two numbers
14. Program to find largest of n numbers in c
15. Split number into digits in c programming
16. C program to count number of digits in a number

### Recursion

Example of recursion in c programming

#### L.C.M and H.C.F.

1.  Write a c program to find out L.C.M. of two numbers.
2. Write a c program to find out H.C.F. of two numbers.
3. Write a c program to find out G.C.D. of two numbers.

#### Swapping

1. Write a c program to swap two numbers.
2. Write a c program to swap two numbers without using third variable.
3. Write a c program for swapping of two arrays.
4. Write a c program for swapping of two string.

Conversion ( Number System )

1. Write a c program to convert decimal number to binary number.
2. Write a c program to convert decimal number to octal number.
3. Write a c program to convert decimal number to  hexadecimal number.
4. Write a c program to convert octal number to binary number.
5. Write a c program to convert octal number to decimal number.
6. Write a c program to convert octal number to hexadecimal number.
7. Write a c program to convert hexadecimal number to binary number.
8. Write a c program to convert hexadecimal number to octal number.
9. Write a c program to convert hexadecimal number to decimal number.
10. Write a c program to convert binary number to octal number.
11. Write a c program to convert binary number to decimal number.
12. Write a c program to convert binary number to hexadecimal number.
13. C program for addition of binary numbers .
14. C program for multiplication of two binary numbers.
15. C program fractional binary conversion from decimal.
16. C program for fractional decimal to binary fraction conversion.
17. C program to convert decimal number to roman.
18. C program to convert roman number to decimal number.
19. C program to convert each digits of a number in words
20. C program to convert currency or number in word.

Conversion ( Unit )

1. C program for unit conversion.

String

1. Write a c program to convert the string from upper case to lower case.
2. Write a c program to convert the string from lower case to upper case.
3. Write a c program to delete the all consonants from given string.
4. Write a c program to count the different types of characters in given string.
5.  Write a c program to sort the characters of a string.
6. Write a c program for concatenation two strings without using string.h header file.
7. Write a c program to find the length of a string using pointer.
8. Write a c program which prints initial of any name.
9. Write a c program to print the string from given character.
10. Write a c program to reverse a string
11. Reverse a string using recursion in c
12. String concatenation in c without using strcat
13. How to compare two strings in c without using strcmp
14. String copy without using strcpy in c
15. Convert a string to ASCII in c

#### Matrix

1. Write a c program for addition of two matrices.
2. Write a c program for subtraction of two matrices
3. Write a c program for multiplication of two matrices.
4. Write a c program to find out sum of diagonal element of a matrix.
5. Write a c program to find out transport of a matrix.
6. Write a c program for scalar multiplication of matrix.
7. C program to find inverse of a matrix
8. Lower triangular matrix in c
9. Upper triangular matrix in c
10. Strassen's matrix multiplication program in c
11. C program to find determinant of a matrix

#### File

1. Write a c program to open a file and write some text and close its.
2.  Write a c program to delete a file.
3. Write a c program to copy a file from one location to other location.
4. Write a c program to copy a data of file to other file.
5. Write a c program which display source code as a output.
6. Write a c program which writes string in the file.
7. Write a c program which reads string from file.
8. Write a c program which writes array in the file.
9. Write a c program which concatenate two file and write it third file.
10. Write a c program to find out size of any file.
11. Write a c program to know type of file.
12. Write a c program to know permission of any file.
13. Write a c program to know last date of modification of any file.
14. Write a c program to find size and drive of any file.

#### Complex number

1. Complex numbers program in c
2. Write a c program for addition and subtraction of two complex numbers.
3. Write a c program for multiplication of two complex numbers.
4. Write a c program for division two complex numbers.

#### Series

1. Write a c program to find out the sum of series 1 + 2 + ….  + n.
2. Write a c program to find out the sum of series 1^2 + 2^2 + …. + n^2.
3. Write a c program to find out the sum of series 1^3 + 2^3 + …. + n^3.
4. Write a c program to find out the sum of given A.P.
5. Write a c program to find out the sum of given G.P.
6. Write a c program to find out the sum of given H.P.
7. Write a c program to find out the sum of series 1 + 2 + 4 + 8 … to infinity.

#### Array

1. Write a c program to find out largest element of an array.
2. Write a c program to find out second largest element of an unsorted array.
3. Write a c program to find out second smallest element of an unsorted array.
4. Write a c program which deletes the duplicate element of an array.
5. Write a c program for delete an element at desired position in an array.
6. Write a c program for insert an element at desired position in an array.
7. C program to find largest and smallest number in an array

#### Sorting

1. Write a c program for bubble sort.
2. Write a c program for insertion sort.
3. Write a c program for selection sort.
4. Write a c program for quick sort.
5. Write a c program for heap sort.
6. Write a c program for merge sort.
7. Write a c program for shell sort.

#### Recursion

1. Write a c program to find factorial of a number using recursion.
2. Write a c program to find GCD of a two numbers using recursion.
3. Write a c program to find out sum digits of a number using recursion.
4. Write a c program to find power of a number using function recursion.
5. Write a c program to reverse any number using recursion.

#### Size of data type

1. Write a c program to find the size of int without using sizeof operator.
2. Write a c program to find the size of double without using sizeof operator.
3. Write a c program to find the size of structure without using sizeof operator.
4. Write a c program to find the size of union without using sizeof operator.

#### Using pointer

1. Write a c program for concatenation two string using pointer.

#### Searching

1. Write a c program for linear search.
2. Write a c program for binary search.
3. Write a c program for binary search using recursion.

#### Area and volume

1. Write a c program to find the area of circle.
2. Write a c program to find the area of any triangle.
3. Write a c program to find the area of equilateral triangle.
4. Write a c program to find the area of right angled triangle.
5. Write a c program to find the area of rectangle.
6. Write a c program to find the area of trapezium.
7. Write a c program to find the area of rhombus.
8. Write a c program to find the area of parallelogram.
9. Write a c program to find the volume and surface area of cube.
10. Write a c program to find the volume and surface area of cuboids.
11. Write a c program to find the volume and surface area of cylinder.
12. Write a c program to find the surface area and volume of a cone.
13. Write a c program to find the volume and surface area of sphere.
14. Write a c program to find the perimeter of a circle, rectangle and triangle.

#### C program with very large numbers

1. Write a c program to find factorial of 100 or very large numbers
2. Write a c program to multiply the two very large number (larger the long int)
3. Write a c program for division of large number (larger than long int)
4. C code for modular division of large number.
5. C code for division of large number.
6. C code for power of large numbers.

#TCS latest questions set CLICK HERE

Stay tunned for more updates.
Hopefully we have covered all the topics like Tcs Technical interview.C programs ,TOP 15 Programs asked. If you have any query then you can comment below and we will get back to you as soon as possible. You can also connect to our FACEBOOK page and get updates of Notes, Previous year papers and much more. So click one the like button  If you like our post then do share with your friends.

## {NEW} TCS 2017 Aptitude & Email Writing Questions With Answers || Download pdf || doc

#TCS # BATCH 2017 # Aptitude Questions # Email Writing # Download #Latest Pattern # Expected Questions

Hello everyone !! I am back with TCS Aptitude, TCS Syllabus, Aptitude With Answers,Email Writing Questions.So that freshers can prepare for the Aptitude and get selected for the next round.To know about these questions in detail then follow the article. This is the place where you get all sort of placement material which will help you to get placed in good companies.

~~For Expected Questions  ~~                       CLICK HERE
~~ For Email Writing Questions  ~~               CLICK HERE
~~ For Test Pattern and Syllabus ~~
~~ For Complete TCS Material ~~

## TCS APTITUDE FOR BATCH 2017:-

Passing the aptitude is just like, you are cleared 50% of the recruitment process.If you want to get job in TCS then you should be well prepared  for the exam.There will be 30 QA questions to be attempted in 80 minutes(2.7 minutes per question). So, do expect the Questions to be slightly tricky. Unlike other Companies, TCS tests the Quantitative ability on a wide variety of topics. I am providing you a set of Latest Pattern Expected Questions

for Expected_set_of_TCS_Questions_Part_4.

## Email Writing:

In this part of the test, you are expected to write an email for the given scenario in the given range in 10 minutes. And you will also be given the keywords to be used in the Email.

CLICK HERE for TCS_Email_Writing_Set_2

Hopefully, we have covered all the topics like TCS Aptitude Test, TCS PATTERN, TCS Syllabus ,Email-Writing, TCS Latest Expected Questions ,TCS Aptitude for Batch 2017,Download Aptitude Questions,TCS Email Writing Questions. If you have any query then you can comment below and we will get back to you as soon as possible. You can also connect to our FACEBOOK page and get updates of Notes, Previous year papers and much more. So click one the like button  If you like our post then do share with your friends.Plz do share among with your friends.

## TCS HR MR Interview Questions

Hello friends, I am here to tell you how you can crack TCS HR Interview,TCS MR Interview .This article comprises of the Tips that you need to be followed while attending TCS or any other company.
So let's come to the topic:

Four basic factors which affect your interview.
• Confidence.
• Body Language.
• Luck.
• Smile
These are the factors which play a crucial role while you attend an interview.So do work on that so you can attend the interview bravely.Luck is an external factor so nobody can do anything for it. ## TCS MR Interview Questions:

Here are some of the question which MR usually ask:
• Tell me about yourself?
• What is your hobby?
• What is your project?
• Some technical questions (Basic one like difference between C & JAVA..) CLICK HERE
• You have good percentage why you are not going for post-graduation?
• Why TCS?
These are the questions they ask. Be prepared for these questions.

## TCS HR Interview Questions:

This is the last step towards your joining so do impress the HR with your answers so they can select you.Some of the questions are like:
• Tell me about yourself?
• Tell me about your college?
• Tell me about your hometown?
• What have you eaten today?
• How was your day?
• What would you do If you are not selected for this job?
• You know about TCS bonds?
• Are you willing to relocate?
Never tell wrong anything to interviewer . Be confident and make eye-contact with the interviewer. All the best for all who are aspiring to enter into TCS.

Hopefully, we have covered all the topics like TCS Interview Questions,Technical interview questions ,HR interview questions,MR interview Questions. If you have any query then you can comment below and we will get back to you as soon as possible. You can also connect to our FACEBOOK page and get updates of Notes, Previous year papers and much more. So click one the like button  If you like our post then do share with your friends.Plz do share among with your friends.

## TCS 2016 Top 15 "C" programs Asked.

Hello, everyone I am here to provide you some important "C" programs asked during technical interview. To crack TCS OffCampus ONCampus Interview, you should be well prepared with the basic knowledge of C and some basic programs which ask every year.So be prepared with these programs before going to the interview. Here we are telling some of the important programs which ask in the interview . Below you get those programs. ### Download Top 15 C Programs:

Here we are giving you the programs so that you can prepare and got selected for the next round.

Programs :
1. Write a program to find factorial of the given number...
2. Write a program to check whether the given number is even or odd.
3. Write a program to swap two numbers using a temporary variable.
4. Write a program to swap two numbers without using a temporary variable.
5. Write a program to swap two numbers using bitwise operators.
6. Write a program to delete a specified line from a text file. .
7. Write a program to find the greatest among ten numbers.
8. Write a program to check whether the given number is a prime.
9. Write a program to check whether the given number is a palindrome c number.
10.Write a program to check whether the given string is a palindrome .
11.Write a program to generate the Fibonacci series.
12.Write a program to compare two strings without using strcmp() function.
13.Write a program to concatenate two strings without using strcat() function.
14.Write a program to print"Hello World"without using semicolon anywhere in the code.
15.Write a program to print a semicolon without using a semicolon anywhere in the code.

#TCS latest questions set CLICK HERE

Stay tunned for more updates.
Hopefully we have covered all the topics like Tcs Technical interview.C programs ,TOP 15 Programs asked. If you have any query then you can comment below and we will get back to you as soon as possible. You can also connect to our FACEBOOK page and get updates of Notes, Previous year papers and much more. So click one the like button  If you like our post then do share with your friends.