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

Syllabus Lab C

The document outlines a lab course on Programming Fundamentals of C, focusing on practical coding skills and concepts such as functional hierarchical code organization, file handling, and error resolution. It includes a list of 21 experiments for students to complete, covering various programming tasks like number manipulation, string handling, and matrix operations. Recommended study materials include textbooks and online resources for further learning in C programming.

Uploaded by

stormbreaker2244
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)
2 views3 pages

Syllabus Lab C

The document outlines a lab course on Programming Fundamentals of C, focusing on practical coding skills and concepts such as functional hierarchical code organization, file handling, and error resolution. It includes a list of 21 experiments for students to complete, covering various programming tasks like number manipulation, string handling, and matrix operations. Recommended study materials include textbooks and online resources for further learning in C programming.

Uploaded by

stormbreaker2244
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

PRACTICAL

Code: BCACCA1201 Programming Fundamentals of C Lab 1Credit [LTP: 0-0-2]

Course Outcome: -
Students will be able to:
 Gain concept of functional hierarchical code organization.
 Work with textual information, characters and strings
 Implement file handling concepts
 Implement real time applications using the power of C language features.
 Overcome and solve possible errors during program execution.

A. LIST OF EXPERIMENTS:

1 Given the values of the variables x, y and z, write a program to rotate their values such that x has the
value of y, y has the value of z, and z has the value of x

2 Write a program that reads a floating point number and then displays the right-most digit of the integral
part of the number.

3 Write a C program to calculate the sum of digits of given number.

4 Program to find largest and smallest number from four given number.

5 Program to find whether a year is leap or not

6 Write a C program in which enter any number by the user and perform the operation of Sum of digits
of entered number.

7 Write a C Program to convert Decimal number to Binary number

8 Find the sum of this series upto n terms


1+2+3+4+5+6+………..
9 Program to print Armstrong‘s numbers from 1 to 100.

10 Write a program to convert years into Minute, Hours, Days, Months, Seconds using switch () statements

11 Write a C menu driven program

12 Write a program to generate the various pattern of numbers

13 Write a C Program to print the reverse of an integer number

14 Write a C program to perform the factorial of given number

15 Write a C program in which a function prime that returns 1 if its argument is a prime and return zero
otherwise.

16 Write a C program to calculate factorial of a number using recursion.

17 Write a C program in which enter 10 elements by the user and perform the operation of sorting in
ascending order

18 Write a C program to perform to perform Matrix addition and multiplication operations.


19 Write a program to determine the length of the string and find its equivalent ASCII codes.

20 Write a program to delete all the occurrences of the vowels in a given text. Assume that the text length
will be of one line

21 Write a program to maintain the library record for 100 books with book name, author‘s name,
and edition, year of publishing and price of the book.

B. RECOMMENDED STUDY MATERIAL

S. No Text Books: Author Edition Publication

1. Let us C Yashwant Kanetkar 6th Edition PBP Publication


2. The C programming Language Richie and Kenninghan 2nd Edition PBP
2004 Publication,2004
3. Programming in ANSI C E Balaguruswamy 3rd Edition, Tata McGraw Hill
2005
Reference Book
1. The C programming Language by Richie and Kenninghan, PBP Publication,2004

2. Programming in ANSI C 3rd Edition, 2005 [Link], Tata McGraw Hill

Online Resources

1. [Link]

2. [Link]

You might also like