Principles of Programming Languages L T P C
(Common to all branches of B.E. / B.Tech - CSE, IT , CSBS, AI&DS 4 0 0 3
, AI&ML, Cybersecurity Programmes)
OBJECTIVES
To make the student will be able to:
To understand the fundamental concepts of programming language
To develop C Programs using basic programming constructs
To develop C programs using arrays and strings
To develop modular applications in C using functions and pointers
To develop applications in C using pointers, union and file
UNIT - I Introduction to Computer Programming
History of Programming Languages - Generations of Programming Languages –
Types of programming languages - programming languages and packages - Popular
CO1
High-level Languages - Need for logical analysis and thinking – Algorithm –
Pseudo code – Flow Chart.
UNIT - II Basics of C Programming
Introduction to C programming - Structure of C program - Data Types - Constants
–- Keywords – Operators: Precedence and Associativity - Expressions -
CO2
Input/Output statements, Assignment statements – Decision making statements -
Switch statement - Looping statements – Preprocessor directives.
UNIT - III Arrays and Strings
Introduction to Arrays: Declaration, Initialization – One dimensional array –Two
dimensional arrays - String operations: length, compare, concatenate, copy – CO3
Searching : linear and binary search.
UNIT - IV Functions and Pointers
Modular programming - Function prototype, function definition, function call,
Built-in functions (string functions, math functions) -Parameter passing: Pass by
CO4
value, Pass by reference – Recursion. Pointers – Pointer operators – Pointer
arithmetic – Arrays and pointers – Array of pointers.
UNIT - V Structures, Union and Files
Structure - Nested structures – Array of structures - Union - Storage classes and
Visibility. Files – Types of file processing: Sequential access, Random access – CO5
Sequential access file - Random access file - Command line arguments.
TOTAL:45 PERIODS
1
TEXT BOOKS
1. ReemaThareja, “Programming in C”, Oxford University Press, Second Edition, 2016.
2. Kernighan, B.W and Ritchie,D.M “The C Programming Language”, Second Edition,
Pearson Education, 2015
REFERENCE BOOKS
1.Yashwant Kanetkar, “Let us C”, 17th Edition, BPB Publications, 2020
2. Anita Goel and Ajay Mittal, “Computer Fundamentals and Programming in C”, 1st Edition,
Pearson Education, 2013.
3. C Programming Absolute Beginner’s Guide by Greg Perry and Dean Miller.
4. Programming in ANSI C by E Balagurusamy Mc Graw Sixth Edition
COURSE OUTCOMES
Upon completion of the course, students will be able to
CO
Demonstrate knowledge on Computer Programming
1
CO
Develop simple applications in C using basic constructs
2
CO
Design and implement applications using arrays and strings
3
CO
Develop and implement modular applications in C using functions and pointers
4
CO
Develop applications in C using structures, unions and files
5
MAPPING OF COs WITH POs AND PSOs
PROGRAM
PROGRAM OUTCOMES (POs) SPECIFIC
COs OUTCOMES
(PSOs)
PO PO2 PO PO PO PO PO PO PO PO1 PO1 PO1 PSO1 PSO2 PSO3
1 3 4 5 6 7 8 9 0 1 2
CO1
CO2
CO3
CO4
CO5