Chapter overview
Programming Concepts and Object-Oriented Programming
Study Note: Programming in C
Note
Programming in C
An algorithm is a finite set of clear steps; a flowchart shows it graphically (oval: start/stop, parallelogram: input/output,
rectangle: process, diamond: decision). A compiler translates the whole program at once; an interpreter line by line.
Paradigms: procedural, structured, object-oriented (class, object, encapsulation, inheritance, polymorphism).
C (Dennis Ritchie, Bell Labs, 1972): data types int, float, char, double; operators; if-else, switch; loops for, while, do-while; arrays;
functions; structures and unions; pointers (variables holding addresses: int *p = &x;). Every C program starts executing at main().
Programming Language Translators, Pseudo code, Algorithm and Flow chart
Programming in QBasic, Opening, reading and writing data file, modular programming approach, function and Sub procedure
Programming Language types and generations
C-Programming
C-Programming: Key words, identifier's, data types, constants and variables, input, output and control statement, functions, array, pointer, structure and file handling concept
Object Oriented Programming (OOP)
Object Oriented Programming (OOP): Class, Object, Encapsulation, Polymorphism and Inheritance, Object Oriented Programming with C++ and Java Programming