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

C Front Pages

This document contains a list of 54 programming problems completed by a student as part of their practical coursework. The problems cover basic C programming concepts like variables, operators, conditional statements, loops, functions, pointers, structures, unions, file handling and basic graphics.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

C Front Pages

This document contains a list of 54 programming problems completed by a student as part of their practical coursework. The problems cover basic C programming concepts like variables, operators, conditional statements, loops, functions, pointers, structures, unions, file handling and basic graphics.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Practical File Based on C Programming (MCA-A151)

MASTER OF COMPUTER APPLICATION

SUBMITTED BY

Name - Prithvi Singh


Class Roll No. - 23MCA004
Semester - MCA 1stSemester
Batch - (2023-2025)
Session - (Odd,2023-24)

Under the Guidance of:

Prof. - Dr. Mukta Makhija


Sr Practical Faculty
No. Program Name Date Signature
1. Writeaprogramtoprintmessageonconsolewindow. 12-10-23

2. Writeaprogramtoperformarithmeticoperationsusingto 12-10-23
variables.
3. Writeaprogramtoinput5subjectsmarks,calculatetotal or 13-10-23
percentage of a student.
4. Writeaprogramtocalculatesimpleinterest. 14-10-23

5. Writeaprogramfindouttheareaof circle. 16-10-23

6. Writeaprogramtoswaptwonumberswithoutusinga third 17-10-23


variable.
7. Writeaprogramtoswaptwonumbersusingathird variable. 17-10-23

8. Writeaprogramtocheckwhethernumberispositive using if 23-10-23


condition.
9. Writeaprogramtocheckwhethernumberispositiveor 23-10-23
negative using if else condition.
10. Writeaprogramtocheckwhethernumberisoddoreven using if 26-10-23
else condition.
11. Writeaprogramtosolveusingthisequationb²-4ac. 27-10-23

12. Writeaprogramtocheckgreatestnumberoftwonumbers 29-10-23


using if else.
13. Writeaprogramtocheckgreatestofthreenumbersusing if 29-10-23
else if.
14. Writeaprogramtofindthegradebaseofstudenttotal marks
percentage
(i) 75%+Distinction"
(ii) 60%-74%firstdivision 02-10-23
(iii) 50%-59%seconddivision
(iv) 40%-49%- Third division
(v) 40%→ Fail

15. Writeaprogramtocheckgivenyearisaleapyear. 08-11-23

16. Writeaprogramtocheckgivenvalueispositiveor negative or 16-11-23


zero using nested if else.
17. Writeaprogramtoshowstudentsperformancepassedon the 17-11-23
grades using switch case.
18. Writeaprogramtocheckvowelorconsonantusing switch 17-11-23
case.
Sr Practical Faculty
No. Program Name Date Signature
19. Writeaprogramtoprint“HelloWorld”10timesusingwhile loop.
19-11-23
20. Writeaprogramtoprint1to10usingdowhileloop.
19-11-23
21. Writeaprogramtoprint1to10usingforloop.
20-11-23
22. Writeaprogramtoprint10to1reverseusingforloop.
20-11-23
23. Writeaprogramtoprint10to1reverseusingwhileloop.
20-11-23
24. Write a program to find out all even & odd numbers till 50
using for loop. 23-11-23

25. Writeaprogramto print1to10butstopat4usingbreak.


24-11-23
26. Writeaprogramtoprint1to10usecontinueat4.
24-11-23
27. Writeaprogramtocreate1Darray&printthearray first
indexing value. 27-11-23
28. Write a program to create 1D array & print all the value of
array. 27-11-23
29. Writeaprogramtocreate2Darray&printallthevalueof 2D
array. 29-11-23
30. Writeaprogramtocreate2Darray &printany including value
of 2D array. 29-11-23
31. Writeaprogramtoaddtwonumbersusingfunctions.
01-12-23
32. Writeaprogramtofindfactorialofanynumberusingfunction.
01-12-23
33. Writeaprogramtoswaptwonumbersusingfunctions.
03-12-23
34. Writeaprogramtocalculateareaofasquareusing function.
03-12-23
35. Write a program to calculate the average of five
numbersusing function without return value. 04-12-23
36. Writea program to check whethera number iseven or odd
using function with return value and argument. 04-12-23

37. Write a program to adding value in variable using function


and call by value. 05-12-23
38. Write a program to swap two numbers using function and 05-12-23
call by value.
39. Write a program to adding value in variable using function 06-12-23
and call by reference.
40. Write a program to swap two numbers using function and 06-12-23
call by reference.
41. Writeaprogramtofindmaximumnumberbetweentwo 07-12-23
numbers using function.
Sr Practical Faculty
No. Program Name Date Signature

42. Writeaprogramtofindgivennumber’sfactorialusing function


recursion. 07-12-23

43. Writeaprogramtoprinttheaddressandvalueofa variable


using pointer. 08-12-23
44. PointerProgram to swap two numbers without using
the3rd variable. 08-12-23
45. Writeaprogramtoprintaddressandvalueoftwo variables
using double pointers. 11-12-23
46. Write a program to make string array and print the array’s
values. 11-12-23
47. Write a program to copy to string, add two string and find
the length of string using string’s functions. 12-12-23
48. Write a program to make two book structures book 1 and
book 2, where structures have title, author, subject and id 12-12-23
just copy values of these to book 2 structure and print
them.
49. Writeaprogramtomakeaunion.
13-12-23
50. Writeaprogramto create&reada file.
13-12-23
51. Writeaprogramtowritetoa file.
14-12-23
52. WriteaprogramcheckanumberifArmstrong number.
14-12-23
53. Writeaprogramtomakea Fibonacciseries.
15-12-23
54. Write a program to draw basic graphics construction like
line, circle, arc, ellipse and rectangle. 15-12-23

You might also like