DS Question Bank
DS Question Bank
DS Question Bank
MODULE 2
1. What is an array? How a single dimension and one-dimension arrays
are declared and initialized?
2. Develop a C program to concatenate 2 strings without using built-in function.
3. Develop a C program to check whether the given string palindrome or not.
4. Develop a C program to compare 2 strings without using built-in function.
5. Develop a C program to find the length of the string without using built-in function.
6. Define String. Explain any 5-string manipulation function with suitable example.
7. Explain the difference between gets () and scanf () functions.
8. Write an algorithm and develop a C program that reads N integer
numbers and arrange them in ascending order using bubble Sort.
9. Develop a C program that reads N integer numbers and find the largest number in an
array.
10. Develop a C program that reads N integer numbers and find the smallest number in an
array.
11. Explain string manipulation library functions with their syntaxes. Write
a program to check whether a string is palindrome or not.
12. develop a C program to search an integer from N numbers in ascending order using binary
searching technique.
13. develop a C program to search an integer from N numbers in ascending order using linear
searching technique.
14. Write a program in C to find the sum and mean of all elements in an array.
15. Define function? Explain different components of functions with example program.
16. What is function? Explain different classification of user defined functions based on
parameter passing and return type with examples.
MODULE 3
MODULE 4