Over view and Course Outline
Introduction To Computer Programing C And C++
Programming fundamentals
Course Objective
Programming fundamentals” aims to familiarize the students with the fundamental concepts of computer and computer programming. The students will learn basic concept of IT, fundamental concepts of programming by developing and executing programs in C and C++. The course will be focused mostly on structured programming and will be completed with the introduction to Object oriented programming.
Course Outline
- Introduction (computer & language)
–Computer components (software, hardware and utility)
–Types of hardware and software
–Languages History
–Language types and levels
- Visual C++ IDE
(Integrated Development Environment)\
- Algorithms and flowcharting
Program Development steps. Algorithms and pseudo code. Flowcharting
- Intro to C Programming
Syntax and Semantics, Key words; Basic data types in C; Operators, arithmetic operators, assignment operators, increment and decrement operators, expressions, equality operators, precedence of operators;
- Program control
If and else structures, nested if structure,
for, while and do while loops; nested loops,
Switch statements; Compound statements;
- Functions and Parameters
Passing by value and by reference
- Recursion
Recursive procedure and recursive functions
- Arrays
Declaration. Array passing to functions, multidimensional arrays, parallel arrays
- Strings
Character strings, string manipulation, library functions
- Pointers
pointers and arrays, pointers and functions
- Structures, Unions and Enumerated data types
Declaration and initialization structures, unions and numerated data types.Accessing members, passing structures to functions, pointers and structures.
- Bitwise Operators
Displaying an Unsigned Integer in Bits
Making Function displayBits; Using the Bitwise AND, Inclusive OR, Exclusive OR and Complement Operators
Bit fields
- File Processing
Creating Reading and Writing to sequential access files; Creating Reading and Writing to random access files. case study using files.
- I/O Streams of C++,
- Difference between C and C++
- Introduction to OOP