Computer Science & IT
Published on Computer Science & IT (https://www.csit.iisuniv.ac.in)

Home > ADVANCED PROGRAMMING IN C

ADVANCED PROGRAMMING IN C [1]

Paper Code: 
CBCA 203
Credits: 
03
Periods/week: 
03
Max. Marks: 
100.00
Objective: 

To acquaint the students with the basics of C programmingTo acquaint the students with the basics of C programming

9.00
Unit I: 
Revision of C Basics.

Arrays : One dimensional arrays: array manipulation; searching, insertion, deletion of an element from an array; finding the largest/smallest element in an array; two dimensional arrays, addition/multiplication of two matrices, transpose of a square matrix; null terminated strings as array of characters, representation sparse matrices. Sorting arrays (Bubble Sort), Searching (Linear, Binary Search), Multiple-Subscripted Arrays.

9.00
Unit II: 
Functions

Functions: top-down approach of problem solving, modular programming and functions, prototype of a function:  parameter list, return type, function call, block structure, Passing arguments to a function: call by reference, call by value, arrays as function arguments.

Storage Classes and Scoping: Automatic, Register, External, Static, Scope of a Variable.

9.00
Unit III: 
Structures and unions

Structures and unions: Structure variables, initialization, structure assignment, nested structure, structures and functions, structures and arrays: arrays of structures, structures containing arrays, unions.  Bit Manipulations and Enumerations: Introduction, Bitwise operators, Bit Fields, Enumerated Constants.

9.00
Unit IV: 
Pointers

Pointers:  address operators, pointer type declaration, pointer assignment, pointer initialization, pointer arithmetic, functions and pointers, arrays and pointers.

C characters and Strings: Introduction, Fundamentals of Strings and characters, Character and String Handling Library, String conversions and comparison functions.

9.00
Unit V: 
File processing

File processing: Concept of files, Opening and closing a stream, open modes, errno variable. Reading and writing to/from a stream.  Predefined streams: stdin, stdout and stderr. Stream manipulation: fgetc(), fputc(), fgets() and fputs() functions.  Raw input/output: fread() and fwrite() functions. C   Preprocessor, Macros.

ESSENTIAL READINGS: 

1. Yashwant Kanetkar, “Working with C”, BPB Publications.

2.E.Balagurusami, “Programming in ‘ANSI C’”, TMH Publications.

REFERENCES: 

1. H.M.Deitel & P.J.Deitel, “How to program in ‘C’”, 3rd Edition, Pearson Education, 2001.

2. B.Kernighan & D.Ritchie “C Programming Language”, 2nd Edition, Prentice-Hall, 1988.

3. S. Lipschutz, “C Programming”, Schaum’s outline series, Tata McGraw Hill Edition.

Academic Year: 
2016-17 [2]

Footer Menu

  • Home
  • Univ Home
  • Contact Us
  • About Us
  • Site Map
  • Downloads
  • Feedback
  • Jobs
  • Site Login

Follow Computer Science & IT on:

Facebook Twitter YouTube

IIS (Deemed to be University)

Gurukul Marg, SFS, Mansarovar, Jaipur 302020, (Raj.) India Phone:- +91-141-2400160-61, 2397906-07, Fax: 2395494, 2781158


Source URL: https://www.csit.iisuniv.ac.in/courses/subjects/advanced-programming-c-2

Links:
[1] https://www.csit.iisuniv.ac.in/courses/subjects/advanced-programming-c-2
[2] https://www.csit.iisuniv.ac.in/academic-year/2016-17