COMPUTER CONCEPTS AND C - PROGRAMMING

B.C.A - 104: COMPUTER CONCEPTS AND C - PROGRAMMING

Total: 50 Hrs

1. COMPUTER CONCEPTS:

1.1  Introduction to Computer

System logical organization, Von Neuman concept of computer system, Block diagram of computer system. Central Processing Unit (CPU), ALU,CU, Main memory, Input / Output unit. Brief history of computer generations. (3 Hrs)

1.2  Hardware

Input devices - Keyboard, Mouse, Lightpen, Joystick, Scanner, Digitizer. Output devices - Various types of printers, Plotters, Secondary storage devices - Floppy disk, Hard disk, CD-ROM, Optical disk. (2 Hrs)

  1. Software :

System software, Operating System, Application Software, Machine Level Language, Assembly language, Higher level programming languages, Assemblers, Compilers and editors. Merits and demerits of all the languages.

(3 Hrs)

  1. Computer Programming :

Basic Programming concepts - Algorithm, Flowcharts, Modular Programming and structured programming. (2 Hrs)

2.  `C'-PROGRAMMING

2.1 Problem solving using Computers, Concept of flowcharts and algorithms

2.2 Overview of C :         (5 Hrs)  
           
Introduction, Importance of 'C', Sample 'C' Programs, Basic Structure of 'C'  
programs, Programming style, Executing a 'C' Program  
(2 Hrs)              

2.3 Constants, Variables and Data types:

`C' Tokens, keywords, and identifiers, constants, variables, datatypes delaration of variables, assigning values to variables, defining symbolic constants.

(2 Hrs)

2.4 Operators and expression:

Arithmetic operators, Relational operators. Logical operators, assignment operators, increment and decrement operators, conditional operators, bitwise operators, special operators, some computational problems; type conversion in expressions, operator precedence and associativity, Mathematical functions.

(4 Hrs)

2.5 Managing input and output operations:

Input and Output statements, reading a character writing character, formatted input, formatted output statements. (2 Hrs)

 

2.6 Decision making, Branching and looping

Decision making with IF statement, simple IF statement The IF-ELSE Statement, nesting of IF .. ELSE statements, The ELSE --IF ladder, The switch statement, The ?: operator, The GOTO statement, The WHILE statement, The

Do Statement, The FOR statement, jumps in loops.                                       (5 Hrs)

2.7 Arrays:

One dimensional array, Two dimensional arrays, initializing two dimensional array, Multidimensional arrays. (4 Hrs)

2.8 Handling of character strings:

Declaring and initializing string variables, reading string from terminal, writing string to screen, arithmetic operations on characters, putting strings together. Comparison of two strings, string handling functions-strlen, strcat, strcmp,

strccpy                                                                                                                         (4 Hrs)

2.9 User defined functions:

Need for user-defined functions, a multi-functional program, the form of 'C' function, Return values and their types, calling a function, category of functions - No arguments and no return values, arguments but no return values, arguments with return values, handling of non-integer functions, nesting of

functions, recursion, functions with arrays.                                                     (4 Hrs)

2.10 Structure and union:

Structure definition, giving values to members, structure initialization, comparison of structures variables, array as structure, array within structure, union (5 Hrs)

2.11 Pointers:

Understanding pointers, accessing the address of variables, declaring and initializing pointers, accessing a variable through its pointer. (3 Hrs)

Text Book:

  1.  
  2. Kamthane, Programming with ANSI and Turbo C. Pearson Education 2003

References:

  1. Yashawant Kanetkar : "Let us C"
  1. Rajesh Hongal : "Computer Concepts & C language"
  1. Brain verminghan & Dennis M. Ritchie "ANSI C Programming " (PHI)
  1. Ramkumar & Rakesh Aggarwal "ANSI C Programming" Tata McGraw Hill
  1. Kernighan, C-Programming Language ANSI C Version. Pearson Education.
  1. Venkateshmurthy, Programming Techniques through C. Pearson Education