Syllabus
Practical
- Conversion of different number types;
- Creation of flow chart, conversion of algorithm/flowchart to program;
- Mathematical operators, operator precedence;
- Sequence, control and iteration;
- Arrays and string processing;
- Matrix operations, Sorting, Pointers and File processing – Reading and writing text
Unit I
Theory
Functional units of computer, I/O devices, primary and secondary memories. Number systems: decimal, octal, binary and hexadecimal; Representation of integers, fixed and floating point numbers, Operator precedence, character representation; ASCII, Unicode.
Unit II
Programming Fundamentals with C – Algorithm, techniques of problem solving, flowcharting, stepwise refinement; Constants and variables; Data types: integer, character, real, data types; Arithmetic expressions, assignment statements, logical expressions. Control flow
Unit III
Arrays and structures. Pointers, dynamic memory allocations
Unit IV
Program Structures – functions, subroutines
Unit V
I/O operations, Program correctness; Debugging and testing of programs.
Aim of the course
This is a course on Computer Fundamentals and Programming that aims at exposing the students to understand how computer works, analytical skills to solve problems using computers. and to write computer programs using C.