GE6151 Computer Programming Handwritten Lecture Notes - Selva Kumar Edition

0
   
Computer Programming (All Units) Handwritten Premium Lecture Notes, Prepared by Lecture Mr.Selva Kumar. Specially for Engineering Candidates. Syllabus Covered based on Anna University First Semester R2008 and R2013 Regulation.

Lamo Attachment : Click Here

Arrow Syllabus :
COMPUTER PROGRAMMING

UNIT-1 (Pages: 54) : INTRODUCTION
UNIT-2 (Pages: 53) : C PROGRAMMING BASICS
UNIT-3 (Pages: 26) : ARRAYS AND STRINGS
UNIT-4 (Pages: 21) : FUNCTION
UNIT-5 (Pages: 16) : STRUCTURE AND UNIONS


Arrow Content :

UNIT-1

INTRODUCTION
Introduction to computer
Definition
Basic operation of a computer
Application of computer
1. Computer in business
2. Computer in industry
3. Computer at home
4. Computers at play
5. Computer in education
6. Computers in traning
Characteristics of computer
1. Speed 
2. Accuracy
3. Automatic
4. Endurance
5. Versatility
6. Storage
Evolution of computer
1. Abacus
2. Napier’s device
3. Slide rule
4. Pascal’s calculating device
The computer generation
1. First generation computer
2. Second generation computer
3. Third generation computer
4. Fourth generation
5. Fifth generation 
Advantages
Disadvantages
Classification of computer
1. Analog computer
2. Digital computer
3. Hybrid computer
Based on utility
1. General purpose computer
2. Special purpose computer
Based on size and capacity
1. Micro computer
2. Mini computer
3. Main frame computer
4. Super computer
Based on mode of use
1. Palmtop computer
2. Laptop computer
3. Personal computer
Basic organization of computers
1. Input unit
2. Central processing unit
3. Output unit
CPU is sub divide into
1. Control unit
2. Arithmetic and logical unit
3. Memory unit
a. Primary storage
b. Secondary storage
Function of a computer
1. Receiving input
2. Processing the information
3. Storing the information
4. Producing output
Components of computer system
1. Hardware
2. Software
Types of memory and devices
1. Primary or main memory
2. Secondary memory
Number system
1. Non-positional number system
2. Positional number system
Decimal number system
Binary number system
Octal number system
Hexa decimal number system
Conversion of number system
Need for logical analysis and thinking
Algorithm
Introduction
Characteristics of algorithm
Qualities of a good algorithm
Flow chart
Pseudocode
Rules for writing pseudocode
Program control structure
Sequence control structure

UNIT-2

PROBLEM FORMULATION AND PROBLEM SOLVING
Introduction
Problem solving
Method of problem solving
Features and application of c language
Structure of c language
Programming rules
Executing a c program
Constants, variables and datatype
1. Sources character set
2. Execution character set
C tokens
Keyword
Variable declaration
Initializing variables
Scope of variables
Statements
1. Assignment statement
2. Null statement
3. Block of statement
4. Expression statement
Operator
Types of operator
1. Arithmetic operator
2. Relational operator
3. Logical operator
4. Assignment operator
5. Increment and decrement operator
6. Conditional operator
7. Bitwise operator
8. Special operator
Type conversion
1. Implicit
2. Explicit
Managing input and output operation
Conditional statement
1. If
2. If else
3. Nested if
4. Else if
The switch statement
Looping statement
While loop
Do while loop
For loop
Nested for loop
The break statement

UNIT-3

ARRAYS AND STRINGS
Array
Array initialization
1. At compile time
2. At run time
Two dimensional array
Multi dimensional array
Insertion sort
Selection sort
Quick sort
Linear search
String operation
Reading and writing string
Enumerated data type
Matrix operation

UNIT-4

FUNCTION
User defined function
Advantages of user defined function
Function definition
Function declaration
Function call
Parameter
Types of variable
1. Local variable
2. Global variable
Function calling
Function prototype
Parameter passing method
1. Call by value
2. Call by reference
Recursion
Pointers
Null pointer
Pointer to pointer
Array and pointer
Accessing array elements using the pointer

UNIT-5

STRUCTURE AND UNIONS
Structure
1. Structure definition
2. Rules for declaring a structure
3. Array vs structure
4. Accessing structure elements
5. Structure initialization
Union
Storage class
File inclusion
Macro substitution
Sample macros
Nested macros
Rules for defining preprocessor

Arrow Attachment : Click Here
New Share your Study Materials with us : Click Here