PPC Syllabus-2024-25
PPC Syllabus-2024-25
Course Outcomes:
On the successful completion of the course, the student will be able to
COs Course Outcomes
CO1 Use the fundamental programming constructs of C language to solve problem.
CO2 Use functions and arrays to implement searching and sorting operations.
CO3 Demonstrate the use of structures, unions, and pointers to solve problems.
CO4 Implement modular programming using functions.
CO1 1 1 1 1 1 1 1 3 1 3 2 1 2 1
CO2 1 1 1 1 1 1 1 3 1 3 2 1 2 1
CO3 1 1 1 1 1 1 1 3 1 3 2 1 2 1
CO4 1 1 1 1 1 1 1 3 1 3 2 1 2 1
Course Structure
No. of No. of No. of
Lecture Tutorial Practical
Hours Hours Hours
Module – 1
1.1 Introduction to C: Introduction to computers, input and output devices, designing efficient
2 - -
programs
1.2 Introduction to C, Structure of C program, Files used in a C program, Compilers,
3 - -
Compiling and executing C programs, variables, constants
1.3 Input/output statements in C 2 - -
Module – 2
2.1 Operators in C, Type conversion and typecasting 2 - 1
2.2 Decision control and Looping statements: Introduction to decision control, Conditional
2 - 1
branching statements, Iterative statements, nested loops, break and continue statement
Module – 3
3.1 Functions: Introduction using functions, Function definition, function declaration,
function call, returnStatement, Passing parameters to functions, scope of variables, storage 2 - 1
classes, recursive functions.
3.2 Arrays: Declaration of arrays, accessing the elements of an array, storing values in arrays,
2 - 1
Operations on arrays, Passing arrays to functions
3.3 Two dimensional arrays, operations on two-dimensional arrays, two-dimensional arrays to
2 - -
functions, multidimensional arrays.
Module – 4
4.1 Strings and Pointers: Introduction, string taxonomy, operations on strings, Miscellaneous
2 - 1
string andcharacter functions, arrays of strings.
4.2 Pointers: Introduction to pointers, declaring pointer variables, Types of pointers, Passing
2 - -
arguments to functions using pointers
Module – 5
5.1 Structure, Union, and Enumerated Data Type: Introduction, structures and functions,
2 - -
Unions, unions inside structures, Enumerated data type.
5.2 Files: Introduction to files, using files in C, reading and writing data files, Detecting end of
2 - -
file
List of Experiments:
1 Simulation of a Simple Calculator. - -
2 Compute the roots of a quadratic equation by accepting the coefficients. Print appropriate 1
- -
messages.
3 An electricity board charges the following rates for the use of electricity: for the first 200
units 80 paise per unit: for the next 100 units 90 paise per unit: beyond 300 units Rs 1 per
unit. All users are charged a minimum of Rs.100 as meter charge. If the total amount is
- - 1
more than Rs 400, then an additional surcharge of 15% of total amount is charged. Write a
program to read the name of the user, number of units consumed and print out the
charges.
4 Write a C Program to display the following by reading the number of rows as input,
1
121
12321 - - 1
1234321
---------------------------
nth row
5 Implement Binary Search on Integers - - 1
6 Implement Matrix multiplication and validate the rules of multiplication. - - 1
7 Compute sin(x)/cos(x) using Taylor series approximation. Compare your result with the
- - 1
built-in library function. Print both the results with appropriate inferences.
8 Sort the given set of N numbers using Bubble sort. - - 1
9 Write functions to implement string operations such as compare, concatenate, and find
- - 1
string length. Use the parameter passing techniques.
10 Implement structures to read, write and compute average- marks of the students, list the
- - 1
students scoring above and below the average marks for a class of N students.
11 Develop a program using pointers to compute the sum, mean and standard deviation of all
- -
elements stored in an array of N real numbers.
1
12 Write a C program to copy a text file to another, read both the input file name and target
- -
file name.
Total No. of Lecture Hours 25 - -
Total No. of Tutorial Hours - -
Total No. of Practical Hours 15
Textbooks:
1. Computer Fundamentals and Programming in C, “Reema Thareja”, 2 nd Edition, Oxford University, 2017.
Reference Books:
1. E. Balaguruswamy, Programming in ANSI C, 7 thEdition, Tata McGraw-Hill, 2017.
2. Fundamentals of Computers, V Rajaraman, 6thEdition, PHI, 2014
Online Resources:
1. elearning.vtu.ac.in/econtent/courses/video/BS/15PCD23.html
2. https://nptel.ac.in/courses/106/105/106105171/
3. https://sites.google.com/site/tojomathew/course-1/c-prgmng2020-21?authuser=0