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

BCA-I SEM -C Practical-Program List

The document outlines a series of programming exercises for a Fundamental of Computer Programming course in the CS/IT department for BCA/B.Sc. students in their first semester. It includes tasks such as writing C programs for basic operations, interest calculations, number checks, string manipulations, and file handling. These exercises aim to enhance students' understanding of C programming concepts and techniques.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

BCA-I SEM -C Practical-Program List

The document outlines a series of programming exercises for a Fundamental of Computer Programming course in the CS/IT department for BCA/B.Sc. students in their first semester. It includes tasks such as writing C programs for basic operations, interest calculations, number checks, string manipulations, and file handling. These exercises aim to enhance students' understanding of C programming concepts and techniques.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Department: CS/IT

Program: BCA/B.Sc.
SEM: I SEM
Course Name: Fundamental of Computer Programming

1. Write a C program to display “This is my first C Program”.

2. Write a C program to perform addition, subtraction, division and multiplication of two

numbers.

3. Write a program to calculate simple and compound interest.

4. Write a program to swap values of two variables with and without using third variable.

5. Write a program to input two numbers and display the maximum number.

6. Write a program to input name, marks of 5 subjects of a student and display the name of

the student, the total marks scored, percentage scored and the class of result. The grades

are assigned as followed:

§ marks. <. 50 - F

§ 50 ≤marks < 60 - C

§ 60 ≤ marks< 70 - B

§ 70 ≤ marks < 80 - B+

§ 80 ≤ marks < 90 - A

§ 90 ≤ marks ≤ 100 - A+

7. Write a Program to Check Whether a Number is Prime or not.

8. Write a program to check whether the entered year is leap year or not.

9. Write a program to find the factorial of a number.

10. Write a program to reverse a given integer.


11. Write a program to print the sum of digits of a number using for loop.

12. Write a program to check whether a number is Palindrome or not.

13. Write a program to generate Fibonacci series.

14. Write a program to display the following pattern.

* *

* * *

* * * *

15. Write a Program to perform addition of all elements in Array.

16. Write a Program to find the largest and smallest element in Array.

17. Write a program for addition of two matrices of any order in C.

18. Write a program to read a string and check for palindrome without using string

19. Write a program to accept a string and count the number of vowels present in this string.

20. Write a program to add, subtract, multiply and divide two integers using user-defined type

function with return type.

21. Write a program to calculate sum of first 20 natural numbers using recursive function.

22. Write a C program to check whether a number is even or odd using functions.

23. Write a program to swap value of two variables using pointer.

24. C Program to print contents of file.

25. C Program to copy contents of one file to another file.

26. C Program to merge contents of two files into a third file.

27. C program to delete a file.

You might also like