Computer Programming-II (ME-4006)

Computer Programming-II (ME-4006) RGPV notes CBGS

Syllabus

UNIT 1: C language alphabet set, identifiers, Variables and constants Data types, Builtin and user Defined Data types Arrays operators and expressions Simple assignment and Input-output statements, preprocessor directives writing simple ‘C’ programs, compiling and executing ‘C’ Programs.

UNIT 2: Conditional statements and loops: IF statement IF–ELSE statement, SWITCH statement, FOR statement, WHILE and Do WHILE statement.

UNIT 3: Function: Function declaration or prototype. Function definition, function calling: call by value, call by reference, Recursion.

UNIT 4: Introduction to pointers, File processing: concept of files, file opening, editing, reading and writing.


Chameli Devi Group Of Institutions [NOTES]


Reference Books

1. Programming in ANSI C, by Balagurusamy, Tata McGraw Hill
2. The C programming Language. By Brian W. Kernighan and Dennis M. Ritchie. Published by Prentice-Hall
3. Let us C by Y.Kanetkar, BPB Publication


Lab assignments

1. Design and execute a ‘C’ program for multiplying two nXn matrics.
2. Design a ‘C’ program to calculate Average of ‘n’ numbers.
3. Design a ‘C’ program to add two numbers using call by value parameter passing mechanism.
4. Design a ‘C’ program to swap the contents of two variables using call by reference parameter passing mechanism.
5. Design a ‘C’ program to open a file and add contents to modify the file.


You May Also Like

Comments

Popular posts from this blog

Ergonomics (ME-7004)

Internet of Things (CS-6005)

Computational Methods in Structural Engineering (CE-6005)