Module 1
Basic concepts of operation of a computer: Operating system – drives,directories and files – types of files -COM, EXE, BAT – booting – operatingsystem commands – creating, editing, listing and copying files – different levelsof programming languages – high level languages – compilers and interpreters -compiling, linking and running – structured programming – programplanning – algorithms, flowcharts – simple examples.
Basic concepts of operation of a computer: Operating system – drives,directories and files – types of files -COM, EXE, BAT – booting – operatingsystem commands – creating, editing, listing and copying files – different levelsof programming languages – high level languages – compilers and interpreters -compiling, linking and running – structured programming – programplanning – algorithms, flowcharts – simple examples.
Module 2
Introduction to C language: Character set -operators – constants and variables – data types – use of control statements – if, for, while, do-while, switch – conditional assignment – use of built in l/O functions – writing small programs.
Introduction to C language: Character set -operators – constants and variables – data types – use of control statements – if, for, while, do-while, switch – conditional assignment – use of built in l/O functions – writing small programs.
Module 3
Functions: Declaration – passing parameters by value and by reference – writing trigonometric, algebraic and string handling functions – recursion – scope rules – storage classes – macros.
Functions: Declaration – passing parameters by value and by reference – writing trigonometric, algebraic and string handling functions – recursion – scope rules – storage classes – macros.
Module 4
Arrays: Declaration and handling – sorting – pointers and arrays – pointers as parameters to functions – structures and unions – array of structures – sorting of strings – linked lists.
Arrays: Declaration and handling – sorting – pointers and arrays – pointers as parameters to functions – structures and unions – array of structures – sorting of strings – linked lists.
Module 5
Data files: Reading, writing and appending data files – binary files – transfer of data in blocks – command line arguments – operation on files at command line.
Data files: Reading, writing and appending data files – binary files – transfer of data in blocks – command line arguments – operation on files at command line.
References
Balaguruswamy, Programming in C, Tata Mc Graw Hill.
Kern Ingham & Ritchie, The C programming language, Prentice Hall.
Byron S Gottfried, Programming with C, Tata Mc Graw Hill.
Y. Kenetker, Let us C, BPB Publications.
V. Rajaraman, Programming with C.
Y. Kenetker, Exploring C, BPB Publications.
Kern Ingham & Ritchie, The C programming language, Prentice Hall.
Byron S Gottfried, Programming with C, Tata Mc Graw Hill.
Y. Kenetker, Let us C, BPB Publications.
V. Rajaraman, Programming with C.
Y. Kenetker, Exploring C, BPB Publications.
mg university b.tech syllabus S5 Civil Engg