Principles of Programming using C BPOPS103-203
Course Code: BPOPS103-203
Credits: 03
CIE Marks: 50
SEE Marks: 50
Total Marks: 100
Exam Hours: 03
Total Hours of Pedagogy: 40T
Teaching Hours/Weeks: [L:T:P:S] 2:0:2
Introduction to C: Introduction to computers, input and output devices, designing efficient programs. Introduction to C, Structure of C program, Files used in a C program, Compilers, Compiling and executing C programs, variables, constants, Input/output statements in C.
Operators in C, Type conversion and typecasting.
Decision control and Looping statements: Introduction to decision control, Conditional
branching statements, iterative statements, nested loops, break and continue statements,
goto statement.
Functions: Introduction using functions, Function definition, function declaration, function call, return statement, passing parameters to functions, scope of variables, storage classes, recursive functions.
Arrays: Declaration of arrays, accessing the elements of an array, storing values in arrays, Operations on arrays, Passing arrays to functions, two dimensional arrays, operations on two-dimensional arrays, two dimensional arrays to functions, multidimensional arrays, applications of arrays.
Strings and Pointers: Introduction, string taxonomy, operations on strings, Miscellaneous string and character functions, arrays of strings.
Pointers: Introduction to pointers, declaring pointer variables, Types of pointers, Passing arguments to functions using pointers.
Structure, Union, and Enumerated Data Type: Introduction, structures and functions, Unions, unions inside structures, Enumerated data type.
Files: Introduction to files, using files in C, reading and writing data files. , Detecting end of file.