0% found this document useful (0 votes)
12 views2 pages

CP Lab QB

The document outlines the external examination lab schedule for the CP course at Vishnu Institute of Technology for the academic year 2023-24. It includes a list of programming experiments in C, covering topics such as conditional operators, loops, functions, and data structures. Each experiment consists of two related tasks aimed at assessing students' programming skills.

Uploaded by

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

CP Lab QB

The document outlines the external examination lab schedule for the CP course at Vishnu Institute of Technology for the academic year 2023-24. It includes a list of programming experiments in C, covering topics such as conditional operators, loops, functions, and data structures. Each experiment consists of two related tasks aimed at assessing students' programming skills.

Uploaded by

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

Vishnu Institute of Technology (AUTONOMOUS)

Department of

Lab External Examination

Name of the Lab: CP Date:


Class: I B.Tech I sem Academic Year: 2023-24
LIST OF EXPERIMENTS

1) a. Write a C program to find the maximum of three numbers using conditional operator ?
b. Write a C program to take marks of 5 subjects in integers, and find the total, average in float ?
2) a. Write a C program to find the maximum of three numbers using if-else-if statement?.
b. Write a C program to find the given year is leap year or not?
3) a. Write a C program to generate electricity bill?
b. Write a C program to find the given number is even or odd?
4) a. Write a C program to simulate a calculator using switch case?
b. Write a C program to find the given year is leap year or not?
5) a. Write a C program to find the factorial of given number using for loop?
b. Write a C program to find the given number is a prime or not?
6) a. Write a C program to check whether the given number is palindrome or not?
b. Write a C program to find sum of first " n" natural numbers?
7) a. Write a C program to find whether the given number is armstrong or not?
b. Write a C Program to print the right angle triangle for the given pattern,

**

***

****

8. Write a C Program to perform addition on two matrices?


9. Write a C Program to perform multiplication between two matrices?
10. Write a C Program to sort array elements using bubble sort?
11) a. Write a C Program to find whether the given string is palindrome or not?
b. Write a C Program to find the length of the string?
12. Write a C program to find the total, average marks of a student using structures?

13. Write a C program to find the sum of a 1D array using malloc() ?

14 ) a. Write a recursive function to generate Fibonacci series?


b. Write a C Program to concatenate two strings?
15) a. Write a recursive function to find the factorial of a number?
b. Write a C program to add two numbers using functions?

16) a. Write a C program to swap two numbers using call by value?


b. Write a C program to swap two numbers using call by reference?

Internal Examiner External Examiner

You might also like