Articles

Commonly asked interview programs from fresh graduates

Commonly asked interview programs from fresh graduates

In this article I am going to share the commonly asked computer programs during technical interview from technical students.

Language: C, C++,Java

Note: You can try these programs in any languages you like.

 

  1. Write a program to print last word of a sentence
  2. Write a program to remove the vowels from the input string.
  3. Write a Program to convert uppercase to lower case and vice versa of a given string or sentence
  4. Write a program to reverse the input string 
  5. Write a program to print the index of a desired character from string 
  6. Write a program to enter a string as input and then convert it into upper case
  7. Write a program to enter a string as input and then convert it into lower case
  8. Write a program to enter the String then remove vowels from the string.
  9. Write a program to enter the string remove the blank spaces from the string.
  10. Write a program to enter a sentence then find 2 last word of sentence
  11. Write a program to enter a string then convert the string into reverse order.
  12. Write a program to enter the string then find the respective ascii value of the string.
  13. Write a program to enter the string then count the length of the string.
  14. Write a program to enter the sentence then find the word from the sentence.
  15. Write a program wap to enter the string then delete the vowels from string.
  16. Write a program to enter the string then count the length of string.
  17. Write a program to enter the sentence then print it in reverse order
  18. Write a program to enter a string then count the no. of vowels in the string.input:-ABCD, output:-BCDE
  19. Write a program to enter a string then print the longest String in java string array
  20. Write a program to remove comment lines .
  21. Write a program to reverse the string like i love india so output will be - india love i
  22. Write a program to find string is palindrom or not.
  23. Write a program to find the length of string.
  24. Write a program to find the number is power of 2 or not.
  25. Write a program for string comparision.
  26. Write a program of Bubble sort.
  27. Write a program to find the LCM nd GCD.
  28. Write a program to find the sum of digits in number like 245 so output will be 2 + 4 + 5 = 11
  29. Write a program for fibnocci series for n number :0 1 1 2 3 5 8 13 21….
  30. Write a program to find out the highest number in given numbers 
  31. Write a program to reverse the string using linked list
  32. Write a program to remove the blanck space from the string without using built in function
  33. Write a program for 2^n like 2^3..(search on google u will get answer)
  34. Write a program to find out the sub string of a string without using built in function 
  35. Write a program for bubble sort, insertion sort, selection sort
  36. Write a recursive function to find the length of the of string 
  37. Write a recursive function to find the factorial of a number
     

Page Views : 236    Created By : rajneesh    Approved By : admin   Published Date : May 11, 2018  
Facebook Linked In Google + twitter Reddit Bookmark this page