Module 3
Question Bank
January 2024
1. List the different ways in which a 1-Dimensional and 2-Dimensional array can be initialized.
(3 Marks)
2. Develop a C program to check whether a character is present in a string. (3 Marks)
3. Write a C program to multiply two matrices. The order and elements of each matrix should be
accepted from the user. (10 Marks)
4. How can we concatenate two strings without using string handling functions? (4 Marks)
5. Matrix A is said to be symmetric if A=AT and Skew Symmetric matrix if A= - AT. Write a C
program to check whether a matrix is symmetric or skew symmetric. (8 Marks)
6. Develop a C program to accept a string from the user. Display the count of upper case and
lowercase characters in that string. (6 Marks)
June 2023
1. What are the different ways of declaring and initialising a single dimensional array? (3 Marks)
2. Write a C program to check whether the given number is Armstrong or not. (A number is
Armstrong if the sum of the cubes of the digits equals to the number) (3 Marks)
3. Implement string concatenation without using built in functions. (8 Marks)
4. Write a C program to accept a 2-D integer matrix and check whether it is symmetric or not ( A
matrix ‘A’ is symmetric if A=AT). (6 Marks)
5. Explain any four string handling functions used in C using example. Write the syntax also. (6
Marks)
6. Write a program to print the product of two matrices. (8 Marks)
June 2022
1. Write a C program to compare any two strings using string handling functions. (3 Marks)
2. Write a C program to find the largest element in an array. (3 Marks)
3. Write a C program to find the transpose of a matrix. (7 Marks)
4. Explain any 4 string handling functions in C programming. (7 Marks)
5. Write a C program to reverse a string without using string handling functions. (7 Marks)
6. Write a C program to sort an array of numbers using bubble sort. (7 Marks)
July 2021 (FN)
1. Explain any 3 string handling functions using examples. (3 Marks)
2. Write a C program to find the occurrence of each element in an array. (3 Marks)
3. Write a C program to perform linear search on an array of numbers. (7 Marks)
4. Write a C program to reverse a string without using string handling functions. (7 Marks)
5. Write a C program to find the transpose of a matrix. (7 Marks)
6. Write a C program to print number of vowels and consonants in a string. (7 Marks)
July 2021 (AN)
[Link] a C program to find length of a string without using string handling functions. (3 Marks)
2. What is an array? Illustrate using an example, how a single dimensional array is initialised. (3
Marks)
3. Explain any 4 string handling functions in C programming. (7 Marks)
4. Write a C program to perform linear search on an array of numbers. (7 Marks)
5. Write a C program to find second largest element in an array. (7 Marks)
6. Write a C program to check whether a string is palindrome or not without using string
handling functions. (7 Marks)