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

Lab Cycle

The document contains a list of programming problems organized into 5 cycles for a Programming Lab course. Cycle 1 includes problems on solving quadratic equations, checking palindromes, finding Armstrong numbers, generating Fibonacci series, and more. Cycle 2 focuses on functions and includes recursive problems. Cycle 3 covers string operations like sorting names and text. Cycle 4 deals with structures for tasks like storing student marks. Cycle 5 concludes with pointer problems such as finding largest array elements and summing matrices.

Uploaded by

Madhav Shankar
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 DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
44 views2 pages

Lab Cycle

The document contains a list of programming problems organized into 5 cycles for a Programming Lab course. Cycle 1 includes problems on solving quadratic equations, checking palindromes, finding Armstrong numbers, generating Fibonacci series, and more. Cycle 2 focuses on functions and includes recursive problems. Cycle 3 covers string operations like sorting names and text. Cycle 4 deals with structures for tasks like storing student marks. Cycle 5 concludes with pointer problems such as finding largest array elements and summing matrices.

Uploaded by

Madhav Shankar
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 DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Jai Bharath College of Management and Engineering Technology

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

R308 - PROGRAMMING LAB


(List of programs)

CYCLE 1

1. Write a program to print the roots of a Quadratic equation.


2. Write a program to check whether the given number is palindrome or not.
3. Write a program to print an amstrong number with the given range.
4. Write a program to generate Fibonacci series.
5. Write a program to check whether the given number is prime or not. If so generate the
Fibonacci series up to that number.
6. Write a program to generate a simple calculator.
7. Find the sum of the sine series and cosine series.
Sine series: x-x^3/3!+x^5/5!-x^7/7!+. . . . . . . . .
Cosine series: 1-x^2/2!+x^4/4!-x^6/6!+. . . . . . . .

CYCLE 2[Functions and Others]


1. Write programs to find the following using recursive functions.
a. Fibonacci series up to a number.
b. Factorial of a number.
c. xn, given x and n.
2. Write a program to search an element in an array using binary search.
3. Write a program to add and multiply two matrices.
4. Write a program to find the transpose of a matrix.
5. Write a program to print row sum and column sum of a matrix.

CYCLE 3[String]
1. Write a program to sort a list of names in alphabetical order.
2. Write a program to find number of vowels, words, letters in a sentence.
3. Write a program to sort line of text in alphabetic order.
4. Write a program to perform the following operations on a string.
a. Reversing
b. Concatenating
c. Copying
5. Write a program to read a string and convert it in to upper case.
CYCLE 4 [Structure]

1. Write a program to prepare the mark list of students using structure.


2. Write a program to enter the details of employees, calculate net salary and print all details using
structure.
3. Write a program to merge two files.

CYCLE 5 [Pointers]

1. Write a program to find the largest elements in an array using pointers.


2. Write a program to find the sum of two matrix using pointers.

You might also like