0% found this document useful (0 votes)
9 views

Model Exam Question set

Lab Model

Uploaded by

jayakanthan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Model Exam Question set

Lab Model

Uploaded by

jayakanthan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

1. a. Write a C Program to find the given year is a leap year or not.

b. Write a C Program to create a singly linked list and perform insertion at


the end of the
list.

2. a. Write a C program to find the sum of the digits of the given number using while loop.
b. Write a C Program to implement merge sort algorithm.

3. a. Write a C Program to find the Fibonacci series using for loop.


b. Write a C Program find the element in the array using the binary search method.

4. a. Write a C program to check the given number is prime or not using function.
b. Write a C Program to implement queue using array and perform enqueue and
dequeue operations.

5. a. Write a C Program to calculate the factorial of the given number using


recursive
function.
b. Write a C Program to Search an element in an array using binary search.

6. a. Write a C Program to calculate the cube of the given number using


call by reference
b. Write a C Program to search an element in an array using liner search.

You might also like