Back close

Syllabus

Unit 1

Introduction to C language: Structure of a C program, comments, Data types, Variables, constants, Data input and output statements, input assertions; expressions and evaluation. Functions: inter function communication, standard functions, scope. Selection: two way selection, multi-way selection, repetition: concept of loop, loop invariant, pretest and post-test loops, initialization and updating, event and counter controlled loops. Recursion: recursive definition, recursive solution, designing recursive functions, limitations of recursion.

Unit 2

Files and streams, file input output. Arrays – 1D numeric, searching and sorting, 2D numeric arrays: problems with matrices. Pointers: introduction, compatibility, arrays and pointers, Dynamic memory allocation, array of pointers, pointer arithmetic.

Unit 3

Strings: fixed length and variable length strings, strings and characters, string input output, array of strings, string manipulation functions, sorting of strings. Enumerated types, Structures: Structure vs array comparison, complex structures, Structures and functions, Union, binary input output, Command line arguments.

Text Books

  1. Behrouz A. Forouzan and Richard F. Filberg, “Computer Science A structured programming approach using C”, Third Edition, Cengage Learning, 2006.

Resources

  • Brian W. Kernighan, Dennis M. Ritchie, “The C Programming Language”, Second Edition, Prentice Hall, 1988.
  • Eric S. Roberts, “Art and science of C”, Addison Wesley, 1995.
  • Jeri Hanly and Elliot Koffman, “Problem solving and program design in C”, Fifth Edition, Addison Wesley (Pearson), 2007.

DISCLAIMER: The appearance of external links on this web site does not constitute endorsement by the School of Biotechnology/Amrita Vishwa Vidyapeetham or the information, products or services contained therein. For other than authorized activities, the Amrita Vishwa Vidyapeetham does not exercise any editorial control over the information you may find at these locations. These links are provided consistent with the stated purpose of this web site.

Admissions Apply Now