Documente Academic
Documente Profesional
Documente Cultură
Asif Jamal
Prerequisites: Programming Fundamentals
Reference Materials:
◦ C++: How to Programme, Deitel and Deitel, 8/e, Pearson
◦ Object Oriented Programming in C++, 4rth Edition, Robert Lafore
◦ https://www.tutorialspoint.com/cplusplus/cpp_object_oriented.htm
Instructor:
◦ Engr. Asif Jamal
Block A ,Office A102
Lab Engineer:
◦ Mr. Shahzad Adil
◦ Block A, 2nd Floor
This course provides an introduction to the concepts and
methodology of Object-Oriented Programming. The concepts
of this paradigm will be strengthened through programming
language C++.
Purpose of C++
◦ Adding feature of OOP to C programming language
◦ Basic unit of OOP is Object
An algorithm is a step-by-step process.
11
Programming languages allow programmers to develop software.
The three major families of languages are:
◦ Machine languages
◦ Assembly languages
◦ High-Level languages
Comprised of 1s and 0s
The “native” language of a computer
Difficult to program – one misplaced 1 or 0 will cause the
program to fail.
Example of code:
1110100010101 111010101110
10111010110100 10100011110111
Assembly languages are a step towards easier
programming.
Assembly languages are comprised of a set of elemental
commands which are tied to a specific processor.
Assembly language code needs to be translated to machine
language before the computer processes it.
Example:
ADD 1001010, 1011010
High-level languages represent a giant leap towards easier
programming.
The syntax of HL languages is similar to English.
Example:
grossPay = basePay + overTimePay
e.g. Fortran, COBOL and C e.g. C++, C#, Java, Perl and Python
1. Functions
2. Arrays
3. Pointers
4. Structures