0% found this document useful (0 votes)
10 views3 pages

C Programming Questions for Internal Test

The document contains a list of programming questions for an internal test in an IP lab, organized into ten sets. Each set includes tasks such as writing C programs for mathematical operations, evaluating series using loops, handling electricity bills, checking number properties, and implementing menu-driven programs. The questions cover various programming concepts and data structures, focusing on practical applications in C language.

Uploaded by

venkysmiley341
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)
10 views3 pages

C Programming Questions for Internal Test

The document contains a list of programming questions for an internal test in an IP lab, organized into ten sets. Each set includes tasks such as writing C programs for mathematical operations, evaluating series using loops, handling electricity bills, checking number properties, and implementing menu-driven programs. The questions cover various programming concepts and data structures, focusing on practical applications in C language.

Uploaded by

venkysmiley341
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

List of Questions in IP Lab Internal test

Set 1

1. Write a C program to perform addition, subtraction, multiplication, division and modulo


division on two integer numbers.

2. Write a C program to evaluate the following using loops

x+x3/3!+x5/5!+...upto 5 terms

Set 2

1. Write a C program to perform addition, subtraction, multiplication, division and modulo


division on two integer numbers.

2. Write a C program to evaluate the following using loops

1+x2/2!+x4/4!+...upto 5 terms

Set 3

1. Write a C program for electricity bill tacking different categories of users, different slabs in each
category. (using nested if else statements).

2. Write a C program to perform addition, subtraction, multiplication, division and modulo division
on two integer numbers.

Set 4

1. Write a C program to evaluate the following using loops

1+x2/2!+x4/4!+...upto 5 terms

1. Write a C program to find the mean and median of list of values by using one dimensional
array.
Set 5

1. Write a C program to check whether the given number is Prime or not

2. Write a C program to check whether a given number is Perfect or abundant or deficient

Set 6

1. Write a C program to print the following pattern.

12

123

1234

2. Write a C program to print the following pattern.

121

12321

1234321

Set 7

1. Write a menu driven program to read a list of numbers and perform the following operations

a) Print the list

b) Delete duplicates from the list


Set 8

[Link] a C program to find the mean and median of list of values by using one dimensional array.

Set 9

1. Write a menu driven program to read list of student names and perform the following
operations using functions.

a) To print list of names

b) To print the list after sorting

Set 10

1. Write a program to read a list of numbers and search for given number using binary search
algorithm and if found display its index otherwise display the message "element not found in
the list" using functions.

You might also like