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

23ES1111 - Problem Solving Using C Programming Lab

This document outlines a course on problem solving using C programming. The course objectives are to teach students how to write, test, and debug C programs using conditional and looping statements. Students will learn to develop applications using strings, pointers, functions, structures, unions, and file processing. The course lists 19 experiments covering these topics. The outcomes are that students will be able to write and implement C programs with conditionals, loops, arrays, strings, functions, pointers, structures, unions and file processing to design applications both individually and as team members.

Uploaded by

Charu Ajay
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
Download as doc, pdf, or txt
0% found this document useful (0 votes)
53 views3 pages

23ES1111 - Problem Solving Using C Programming Lab

This document outlines a course on problem solving using C programming. The course objectives are to teach students how to write, test, and debug C programs using conditional and looping statements. Students will learn to develop applications using strings, pointers, functions, structures, unions, and file processing. The course lists 19 experiments covering these topics. The outcomes are that students will be able to write and implement C programs with conditionals, loops, arrays, strings, functions, pointers, structures, unions and file processing to design applications both individually and as team members.

Uploaded by

Charu Ajay
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1/ 3

L T P C

23ES1111 PROBLEM SOLVING USING C PROGRAMMING


LABORATORY 0 0 4 2

OBJECTIVES: To impart Knowledge on the following topics:


● To write, test, and debug simple C programs.
● To implement C programs with conditional and looping statement
● To develop applications in C using strings, pointers, functions.
● To implement C programs with structures and union.
● To develop applications in C using file processing
● To develop an application in real time situation
LIST OF EXPERIMENTS

1. Programs using I/O statements and expressions.

2. Programs using decision-making constructs.


3. Write a program to find whether the given year is leap year or Not? (Hint: not every centurion
year is a leap. For example 1700, 1800 and 1900 is not a leap year)
4. Design a calculator to perform the operations, namely, addition, subtraction, multiplication,
division and square of a number.
5. Check whether a given number is Armstrong number or not?

6. Given a set of numbers like <10, 36, 54, 89, 12, 27>, find sum of weights
based on the following conditions
a) if it is a perfect cube
b) if it is a multiple of 4 and divisible by 6
c) if it is a prime number
d) Sort the numbers based on the weight in the increasing order as shown below <10,its
weight>,<36,its weight><89,its weight>

7. Populate an array with height of persons and find how many persons are above the average
height.
8. Given a string ―a$bcd./fg‖ find its reverse without changing the position of special
characters. (Example input:a@gh%;j and output:j@hg%;a)
9. Convert the given decimal number into binary, octal and hexadecimal numbers using user
defined functions.
10. From a given paragraph perform the following using built-in functions:
a) Find the total number of words.
b) Capitalize the first word of each sentence.
c) Replace a given word with another word.

11. a) Sort the list of numbers using Selection sort and insertion sort
b) Sort the list of numbers using pass by reference.
12. Search an element from an unsorted array using linear search
Search an element in an array using Binary search recursion call.
13. Generate salary slip of employees using structures and pointers.
14. a) Programs using Pointers
b) Pointer demonstration the use of & and *
c) Access Elements of an Array Using Pointer
d) Perform the string operations like Length of the String , Concatenation
of string and compare the string using Pointer
e) Count number of words, digits, vowels using pointers
f) Add two matrices using Multidimensional Arrays with pointers
g) Multiply two matrices using pointers
h) Multiply two numbers using Function Pointers
15. Compute internal marks of students for five different subjects using structures and functions.

16. Program to demonstrate the difference between unions and structures


17. Insert, update, delete and append telephone details of an individual or a company into a
telephone directory using random access file.
18. Count the number of account holders whose balance is less than the minimum balance using
sequential access file.
19. MINI PROJECT
Create a ―Railway reservation system‖ with the following modules
a) Booking
b) Availability checking
c) Cancellation
d) Prepare chart

TOTAL:60 PERIODS
OUTCOMES:
At the end of the course, the student will able to:
1. Write, test, and debug simple C programs.
2. Implement C programs with conditionals and loops.
3. Develop C programs for simple applications making use arrays and strings.
4. Develop C programs involving functions, recursion, pointers, and structures and union.
5. Design applications using sequential and random access file processing.
6. Perform task as an individual and / or team member to manage the task in time
WEB REFERENCES:
1. https://www.programiz.com/c-programming/examples
2. https://beginnersbook.com/2015/02/simple-c-programs/
3. https://www.programmingsimplified.com/c-program-examples
4. https://www.tutorialgateway.org/c-programming-examples/
5. https://www.javatpoint.com/c-programs
6. https://www.tutorialspoint.com/learn_c_by_examples/simple_programs_in_c.htm

Correlation between Outcomes (COs) and Program Outcomes (POs)

Course
PO1 PO2 PO3 PO4 PO5 PO6 PO7 PO8 PO9 PO10 PO11 PO12
Outcomes
CO1 3 3 3 2 - - - - - - - -
CO2 3 2 2 1 3 - - - - - - -
CO3 3 3 3 2 3 - - - - - - -
CO4 3 2 2 1 3 - - - - - - -
CO5 3 3 3 2 3 - - - - - - -
CO6 3 2 2 1 3 - - - - - - -

You might also like