English | 2021 | ISBN: B098BPSGQJ | 622 pages | PDF | 6.25 MB
SYLLABUS- COMPUTER PROGRAMMING IN 'C', Unit–1 Introduction to Computer System: Hardware, Software-system software, & application software; Introduction to Computing Environment; Introduction to Problem solving and notion of algorithm: Flow charting, Pseudo code, corresponding sample C-programme, Testing the code; Number Systems and their conversion: Decimal, Binary and Hexadecimal representations, bit, byte; Character representation: ASCII, sorting order; System software re-visited: machine language, symbolic language, higher lever languages, what is a compiler, what is an operating system, what is a linker, what is an editor, error handling; Introduction to programme development. Unit–2 Structure of a C-program, comments, identifiers; Fundamental Data Types: Character types, Integer, short, long, unsigned, single and double-precision floating point, complex, boolean, constants; Basic Input/Output: printf, formatting, scanf, eof errors; Operators and Expressions: Using numeric and relational operators, mixed operands and type conversion, Logical operators, Bit operations, Operator precedence and associatively, Functions in C: standard function, defining a function, inter-function communication- passing arguments by value, scope rules and global variables; Top-down program development. Unit–3 Conditional Program Execution: Applying if and switch statements, nesting if and else, restrictions on switch values, use of break and default with switch; Program Loops and Iteration: Uses of while-do and for loops, multiple loop variables, assignment operators, using break and continue; Arrays: Array notation and representation, manipulating array elements, using multidimensional arrays, arrays of unknown or varying size. Unit–4 Sequential search, Sorting arrays; Strings, Recursion; Text files, file Input/Output – fopen, fread, etc Structures: Purpose and usage of structures, declaring structures, assigning of structures, Pointers to Objects: Pointer and address arithmetic, pointer operations and declarations, using pointers as function arguments. Unit–5 Familiarization with Linux OS environment: basic OS commands, directory creation, editing, storing and protecting access to files; Open-office; Text files in Indian languages: keyboarding, editing, searching; The Standard C-Preprocessor: Defining and calling macros, utilizing conditional compilation, passing values to the compiler, string handling functions.