Take FREE!! Online Mettl Mock Test to Crack TechM and Other Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
Practice Tech Mahindra Essay Topics

# Programming Questions and Answers

291 / 404

Write a program to generate the next number (ex:143=1^2+4^2+3^2=26)repeat this sequence till you get 1 or 4.

Input : NA

Output : NA

|  Stack | | | |  Fresher

Tags:Virtusa

292 / 404

Write a program to eliminate duplicates in a sorted array.

Input : NA

Output : NA

|  Array | | | |  Fresher

Tags:Virtusa

293 / 404

Write a recursive function to print 100 Fibonacci numbers.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:Virtusa

294 / 404

Write a program to Print the Pascal triangle.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:Virtusa

295 / 404

Write a program to print the angle between the pointers in the wall clock when time is taken as input.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:Virtusa

296 / 404

Can trees be implemented using arrays? If so, write the program for same.

Input : NA

Output : NA

|  Trees | | | |  Fresher

Tags:Virtusa

297 / 404

Write a Swapping program using XOR operation.

Input : NA

Output : NA

|  Basics | | | |  Fresher

Tags:Virtusa

298 / 404

Write a program of Circular Queue.

Input : NA

Output : NA

|  Stack | | | |  Fresher

Tags:Virtusa

299 / 404

Write a function which returns a sub string in the string 'Sigma' (character given) which starts with 'Alpha' and ends with 'Theta'.

Input : NA

Output : NA

|  Strings | | | |  Fresher

Tags:Virtusa

300 / 404

Write a program to delete the duplicates in an array of student list.

Input : NA

Output : NA

|  Array | | | |  Fresher

Tags:Virtusa

+ Contribute Programming Qs.

Baig
1