1. a) Write a C program to swap the two numbers.
b) Write a C Program to find the eligibility of admission for a Professional course based on the following criteria:
i. Marks in Maths >=65
ii. Marks in Physics >=55
iii. Marks in Chemistry>=50
OR
iv. Total in all three subject >=180
2. a) Write a C program to compute the factorial of a given number.
b) Write a program that reads numbers which are in the range 0 to 100, till it encounters -1. Print the sum of all the integers that you have read before you encountered -1.
3. a) Write a C program to accept a coordinate point in a XY coordinate system and determine in which quadrant the coordinate point lies.
b) The digital root (also called repeated digital sum) of a number is a single digit value obtained by an iterative process of summing digits. Digital sum of 65536 is 7, because 6+5+5+3+6=25 and 2+5 = 7.Write a program that takes an integer as input and prints its digital root.
4. a) Write a C program to find the series of prime numbers in the given range.
b) Write a C program to generate Tribonacci numbers in the given range.
5. a) Write a C program to find sum of digits, Decimal to Binary conversion, reversal of numbers using functions.
b) Write a C program to find Factorial, Greatest Common Divisor, and Fibonacci using recursion.
6. Your program should take as input: dimension of a square matrix N, two matrices of size N x N with integer values, and one operator symbol (+, - ,*). It must perform the corresponding operation given below;
a) Matrix Addition b) Matrix Subtraction c) Matrix Multiplication
7. Implement the following sorting techniques.
a) Bubble sort b) Insertion sort c) Selection sort.
8. Implement the following searching techniques.
a) Linear Search b) Binary Search
9. a) Write a program in C to find the frequency of characters in a string.
b) Write a C program to implement all string operations (string length, string copy, string compare, string concatenation and string reverse) without using string library functions.
10. a) Write a C program to get N elements in an array and sort it using Pointer.
b) Write a C program to swap two integers using pass by reference.
c) Write a C program to find the largest element using Dynamic Memory Allocation.
11. a) Write a program in C to count the number of vowels, consonants, digits, special symbols, words in a string using a pointer.
b) Write a C program to print all permutations of a given string using pointers.
12. a) Write a C program to add two distances in the inch-feet system using structures.
b) Write a C program to calculate difference between Two Time Periods (in Hours, Minutes, Seconds format) using structures.
We use cookies to analyze website traffic and optimize your website experience. By accepting our use of cookies, your data will be aggregated with all other user data.