IT143 FUNDAMENTALS OF COMPUTER PROGRAMMING
Course Coordinator: - Prof. Hemant Yadav
Title of the unit | Minimum number of hours | |
---|---|---|
1 |
Introduction to Computation and Algorithm |
03 |
2 | Introduction to Programming and ‘C’ language | 02 |
3 |
Constants, Variables & Data Types in ‘C’ |
03 |
4 | Operators and Expression in ‘C’ | 03 |
5 | Managing Input & Output Operations | 02 |
6 | Conditional Statements ,Branching & Looping | 04 |
7 | Arrays | 04 |
8 | Character Arrays | 03 |
9 | User-Defined Functions in ‘C’ | 03 |
10 | Structures and Basics of pointer | 03 |
Unit No. | Topics | Teaching Hours |
---|---|---|
1 |
Introduction to Computation and Algorithm 1.1 Various number systems: Decimal, Binary, Octal, Hexadecimal, conversion from one number system to another 1.2 What is computer, Algorithms, Flow-charts 1.3 Solve Various types of algorithms like Exchanging values of two variables, (using 3 variables & 2 variables), Arrange numbers in ascending order, Evaluate various series e.g.: sin x, 12 -2 2+32 -…, 1+2/2!+3/3!+…, |
06 |
2 |
Introduction to Programming and ‘C’ language 2.1 What is program & programming, programming languages and it’s types, compiler, and interpreter, History of C, Characteristics of C, Basic structure of a program, Compiling process of C a Program |
20 |
3 |
Constants, Variables & Data Types in ‘C’ 3.1 Character set, C tokens, Keyword, Constants, and Variables 3.2 Data types – declaration & initialization, User-defined type declaration -typedef, enum, Symbolic constant (#define) |
03 |
4 | Operators and Expression in ‘C’ 4.1 Classification of operators: arithmetic, relational, logical, assignment, increment / decrement, bitwise, special operators. Unary, binary and ternary operators © CHARUSAT Academic Year 2019-20 Page 84 4.2 Arithmetic expression, evaluation, type conversion: implicit & explicit, precedence and associativity, use of math.h file |
03 |
5 | Managing Input & Output Operations 5.1 Basic input and output operations, Input a character, introduction to ASCII code, various library functions from ctype.h 5.2 Formatted input using scanf( ), formatted output of integer and real data using printf ( ) |
02 |
6 | Conditional Statements, Branching & Looping 6.1 Decision making using if, if…else statement, nesting of if…else, else…if Ladder 6.2 switch, use of if…else instead of conditional operator, goto statement 6.3 Need of looping, entry-controlled loop: while, for, exit-controlled loop: do…while, difference 6.4 Nesting of looping statements, use of break and continue, use of if, if…else in loop |
04 |
7 | Arrays 7.1 Need of array, declaration & initialization 1D array, various programs of 1D 7.2 2D array and their memory allocation, 2D array basic programs and matrix operations |
04 |
8 | Character Arrays 8.1 Difference of character array with numeric array and importance of NULL character 8.2 Declaration, initialization and various input and output methods of string |
03 |
9 | User-Defined Functions in ‘C’ 9.1 Need of modularization, advantages, introduction to user-defined function, form of C functions, function prototype, function call, function body 9.2 Call by value, actual & formal arguments, use of return, nesting of functions, recursion, Array as function arguments 9.3 storage classes: scope, life of a variable in C |
03 |
10 | Structures and Basics of pointer 10.1 Need of user-defined data type, structure definition, declaration and initialization of variables 10.2 Background of memory, variable, value, address of variable, introduction to pointer, declaration & initialization, access value using pointer, indirection (*) operator |
03 |
Textbooks |
---|
Programming in ANSI C, E.Balagurusamy, Tata McGraw Hill |