Thursday, September 12, 2019


 COMPUTER PROGRAMMING Syllabus






L
T
P
Cr.
B.Tech. (I Sem.)
17CI01 - COMPUTER PROGRAMMING
2
2
-
3








Pre-requisites                             :  NIL

Course Educational Objective: In this course student will learn about
The basic elements of C programming structures like data types, expressions, control statements, various I/O functions and how to solve simple mathematical problems using control structures. The derived data types like arrays, strings, various operations on them. Modular programming using functions and Memory management using pointers. User defined structures and various operations on it. The basics of files and its I/O operations.

Course Outcomes: At the end of the course, the student shall be able to:
CO1: Identify basic elements of C programming structures like data types, expressions, control statements, various simple functions and in view of using them in problem solving.
CO2: Apply various operations on derived data types like arrays and strings in problem solving.
CO3: Design and Implement Modular Programming and memory management using pointers.
CO4: Implement user defined data structures used in specific applications.
CO5: Compare different file I/O operations on text and binary files.

UNIT – I
Introduction to Problem solving through C-Programming: Problem Specification.
Algorithm / pseudo code, flowchart, examples.
C-Programming: Structure of C program, identifiers, basic data types and sizes, Constants, variables, Input-output statements, A sample C program, operators: arithmetic, relational and logical operators, increment and decrement operators, conditional operator, bit-wise operators, assignment operators, expressions, type conversions, conditional expressions, precedence of  operators and order of evaluation. 
Conditional statements: if, if else, else if ladder and switch statements, continue, goto. Loops: while, do-while and for statements, break, programming examples.

UNIT – II
Arrays- one dimensional arrays-concept, declaration, definition, accessing elements, storing elements, two dimensional and multi-dimensional arrays.
Character Strings: declaration, initialization, reading, writing strings, arithmetic operations on characters, string handling functions, programming examples 

UNIT – III
Functions: basics, category of functions, parameter passing techniques, recursive functions-comparison with Iteration, Functions with arrays, storage classes- extern, auto, and register, static, scope rules, Standard library functions, dynamic memory management functions, command line arguments, programing examples.
Pointers- concepts, declaring & initialization of pointer variables, pointer expressions, pointer arithmetic, pointers and arrays, pointers and character strings, pointer to pointer, Pre-processor Directives and macros.  

UNIT –IV
Derived types- structures- declaration, definition and initialization of structures, accessing structures, nested structures, array of structures, structures and functions, pointer to structure, self-referential structures, unions, typedef, programming examples. 

UNIT – V
Files – concept of a file, text files and binary files, streams, standard I/O, Formatted I/O, file I/O operations, error handling, and programming examples.

TEXT BOOKS

REFERENCE
1.    N.B.Venkateswarlu and E.V.Prasad, C and Data Structures, S.Chand Publishing,
       1st Edition, 2010,
2.    ReemaThareja, Programming in C, Oxford University Press, 2nd Edition, 2015
3.    Stephen G.Kochan, Programming in C, Pearson Education, 3rd Edition, 2005

4.    PradeepDey, Manas Ghosh, Programming in C, Oxford University Press, 2nd   Edition, 2011

5.         E Balagurusamy, Computer Programming, McGraw Hill Education, 1st Edition

4 comments:

  ASE   INTRODUCTION TO PROGRAMMING ASSIGNMENT MARKS Click the link for Marks