L 3 C 3
Teachers Continuous Evaluation: as per university examination norms. End Term Theory Examination: as per university examination norms.
Course outcomes
- Understand the basic structure of C programming, number systems, and the compilation process of a C program. [K1]
- Apply programming constructs like operators, loops, conditionals, and arrays in C to solve problems. [K2]
- Analyze and implement advanced programming constructs such as functions, recursion, strings, and pointers. [K1,K2]
- Develop and implement programs involving structures, unions, and file handling. [K2]
Unit I (8 lectures)
Introduction to Programming: Computer languages, creating and running programs, Preprocessor, Compilation process, role of linker, idea of invocation and execution of a programme. Algorithms: Representation using flowcharts, pseudocode. Introduction to C language: Basic structure of C programs, process of compiling and running a C program, tokens, keywords, identifiers, constants, strings, special symbols, variables, data types, I/0 statements. Interconversion of variables.
Unit II (8 lectures)
Basics of Number Systems: Introduction to Number Systems, Types of Number Systems (Binary, Decimal, Octal, Hexadecimal), Conversion Between Number Systems, Signed and Unsigned Numbers: Representation of negative numbers (Sign-magnitude, 1’s complement, 2’s complement) Operators and expressions: Operators, arithmetic, relational and logical, assignment operators, increment and decrement operators, bitwise and conditional operators, special operators, operator precedence and associativity, evaluation of expressions, type conversions in expressions. Control structures: Decision statements; if and switch statement; Loop control statements: while, for and do while loops, jump statements, break, continue, goto statements.