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

List of Practical's in CP-I

This document contains a list of 24 programming assignments for a first year engineering course. The assignments cover topics like input/output, loops, arrays, functions, recursion, matrices, structures, classes, inheritance, polymorphism, and other core programming concepts. Students are asked to write programs that perform tasks like calculating sums and averages, checking for odd/even numbers, printing patterns, performing arithmetic operations with menus, calculating factorials recursively, and more.

Uploaded by

api-19973842
Copyright
© Attribution Non-Commercial (BY-NC)
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)
40 views3 pages

List of Practical's in CP-I

This document contains a list of 24 programming assignments for a first year engineering course. The assignments cover topics like input/output, loops, arrays, functions, recursion, matrices, structures, classes, inheritance, polymorphism, and other core programming concepts. Students are asked to write programs that perform tasks like calculating sums and averages, checking for odd/even numbers, printing patterns, performing arithmetic operations with menus, calculating factorials recursively, and more.

Uploaded by

api-19973842
Copyright
© Attribution Non-Commercial (BY-NC)
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/ 3

Rizvi College of Engineering

FIRST YEAR ENGG.


SUB: CP-I
DIV:A,B,C,D,E

List Of Practical’s

(1) WAP to find sum and average of two given numbers.

(2) WAP to find whether given number is odd or even.

(3) WAP to print the values in triangular using stars.

*
* *
* * *
* * * *

(4) WAP to print the series of triangle using for loop .

1 2 3 4 5 5 4 3 2 1
1 2 3 4 4 3 2 1
1 2 3 3 2 1
1 2 2 1
1 1

(5) WAP to print to following triangle.

1
1 2
1 2 3
1 2 3 4

(6) WAP to perform MENU DRIVEN arithmetic operation .


(7) WAP to check the vowels entered in string.

(8) WAP to find of factorial of a given number using


recursion function.

(9) WAP to find recursive function power(x,y) to find x^y.

(10) WAP to sum the term of the series.


(1/1!+2/2!+3/3! +..+n times)

(11) WAP For Matrix Addition.

(12) WAP for Matrix Multiplication.

(13) WAP for Transpose of a Matrix.

(14) WAP to find square of number using pointers.

(15)WAP to declare structure for employee record having


names, employer code, salary read in information for three
employee and list the employee having
salary >1000.

(16)WAP to read the names and total marks of a class of 5


student .Arrange the data in the Descending order of total
marks and print the o/p with proper heading.

(17) WAP to study unary operator overloading.

(18) WAP for function overloading for area of circle ,triangle & rectangle.

(19) WAP using multiple inheritance for student details.

(20) WAP based on virtual function which return area of triangle &
rectangle.

(21) WAP to calculate simple interest using data hiding & encapsulation
method.

(22) WAP to show difference between static and non-static.


(23) WAP to calculate sum of two complex numbers using friend function.

(24) WAP to calculate Fibonacci series using copy constructor.

You might also like