Programming in C

Paper Code: 
MCA 121
Credits: 
04
Periods/week: 
04
Max. Marks: 
100.00
Objective: 

Course Objectives:

The course will enable the students to

  1. Understand basic concepts of structured programming.
  2. Describe the essentials Programming.
  3. Discuss the basics of C Programming
  4. Develop programming skills in C
  5. Support concept of linear data structures like array, structures and Union in C
  6. Build foundation for understanding further computer application concepts
  7. Create perception of designing, and developing small applications in C 

 

 

Course Learning Outcomes (CLOs):

 

Learning Outcome (at course level)

Students will be able to:

Learning and teaching strategies

Assessment Strategies

  1. Understand basic concepts of structured programming.
  2. Study essentials Programming
  3. Understand basic C programming concepts
  4. Develop programs in C
  5. Understand the applications of linear data structures like array, structures and Union in C
  6. Design and develop small applications in C

Approach in teaching:

Interactive Lectures, Discussion, Tutorials, Reading assignments, Demonstration, Team teaching

 

Learning activities for the students:

Self-learning assignments, Effective questions, Simulation, Seminar presentation, Giving tasks, Field practical

  • Assignment
  • Written test in classroom
  • Classroom activity
  • Multiple choice questions
  • Continuous Assessment
  • Semester End Examination

 

14.00
Unit I: 

Problem Solving with C Programming

Language Elements,Algorithms and Flowcharts, History, Execution of C Program, Constants, Variables and Keywords, Data types, Expressions, constants, variables, Operators, Operator Precedence and associativity, data input and output, Formatted Console I/O Functions, Conversion Specifications, assignment statements, conditional statements, Looping Statements, Storage Classes

12.00
Unit II: 

Array and Modular Programming

Introduction to Function, Functions with Simple Output Parameters, Passing Values between Functions, Multiple Calls to a Function, Introduction to Pointers, Parameter Passing by Value v/s Parameter Passing by Reference, Recursion and stack

Arrays: Declaring and Referencing Arrays, Array Subscripts, Using for Loops for Sequential Access, Multidimensional Arrays, Passing arrays as arguments

14.00
Unit III: 

Structure and Pointers

Structures & Unions- definition, Processing structures – Passing structures to a function.

Pointers: Operations on Pointers – Pointers to Functions, Functions Returning Pointers, Arrays of pointers,  Pointers to structures and Array of structures

10.00
Unit IV: 

String handling

String Functions, Two dimensional Array of Characters, Character Operations, Pointers and Strings,  Array of Pointers to Strings

10.00
Unit V: 

File Handling

Features of C Pre-processor, Macros, File Inclusion, Conditional Compilation, Header Files, Implementation Files, Macros, File Operations, File opening modes, Text files and Binary files, argc v/s argv, Operations on Bits, Typecasting, Bit Fields

ESSENTIAL READINGS: 
  • YashvantKanetkar,“Let Us C”, BPB Publications, 13th edition, 2012.
  • S Prasad, K.R Venugopal, “Mastering C”, Tata McGraw Hill, 2006.
  • E.Balaguruswamy, “Programming in ANSI C”, Tata McGraw Hill, 6th edition, 2012.
REFERENCES: 
  • Bayron Gottfried, “Schaum’s Outline of Programming with C”, 2nd edition, 1996.
  • YashvantKanetkar, “Exploring C”, BPB Publications, 2nd edition, 2006.
  • Kernighan and Ritchie, “The C Programming Language”, Prentice Hall, 1988.
Academic Year: