Sie sind auf Seite 1von 2

Agnel Charities

Fr. C. Rodrigues Institute of Technology, Vashi


FH 2020
Course Code: FEL204 Course Name: C Programming Lab
Lab Objectives: The course will help the students to get familiar with:
To provide exposure to problem-solving by developing an algorithm, flowchart and implement the logic
using C programming language.

Lab COs: Upon Completion of the course the learner should be able to:
1. Write a simple programs using basics of programming.
2. Design and implement control statements and looping constructs.
3. Write iterative as well as recursive programs using function concept.
4. Represent data in arrays, strings and structures and manipulate them through a program.
5. Declare pointers and demonstrate call by reference concept.

LIST OF EXPERIMENTS
Sr. No. Name of Experiment CO
Title: Programs on C basics
1. To display a message on output screen.
2. To calculate sum and average of 3 user entered values.
1 3. To calculate area of rectangle and circle. 1
4. To calculate 40% da from basics, 20% hra from basics. Also
calculate the gross salary of an employee.
(GS=BS+DA+HRA)
Title: Programs on Selection Control Statements
1. Comparison of two numbers and determine whether they are
odd or even.
2. To find percentage marks of four subjects. Then determine
2 2
whether the student has secured distinction, first class,
second class or fail. Percentage >=75 Distinction,
Percentage >= 60 First class, Percentage >= 40 second class
etc.
PT1: Practical Test on Sr. No 1 exps
Title: Programs on Iterative Control Statements
1. To display Hello ‘N’ times by for loop.
2. Find Factorial of a given number using for loop.
3. Write a program to implement the following patterns by
3 nested for loops. 2
a) **** b) A c) A
*** AB ABA
** ABC ABCBA
* ABCD ABCDCBA
Title: Programs on Iterative Control Statements
1. Program to print numbers from 1 to 10 using while loop.
4 2
2. Program print numbers between 1 and 100 which are
multiple of 5 using the do while loop.
Title: Programs on Functions
1. Creating a user defined function addition( ).
5 3
2. Creating a void user defined function that doesn’t return
anything.
Title: Programs on Recursive Function
1. To find Factorial of an integer numbers using recursive
6 function. 3
2. To find Fibonacci series for given no of elements using
recursive function.
Title: Programs on Array and String
1. To find minimum and maximum value in an array.
7 4
2. To sort integer values in an array (ascending/descending).
3. Check if string is palindrome or not.
Title: Programs on 2D Array and Structure
1. Addition of two matrices.
2. Create a structure to enter details for 5 students. The details
8 4
are name, branch, roll no and marks of five different
subjects. Also calculate the total marks and arrange them in
ascending order.
Title: Programs on Pointer and Passing parameters
1. Program to create, initialize, assign and access a pointer
9 variable. 5
2. Swapping of two numbers using call by value and call by
reference functions.
10 Final Index signature and submission.
PT1: Practical Test on Sr. No 9 exps

Das könnte Ihnen auch gefallen