Professional Documents
Culture Documents
Lecture 1
-3-
Programming Languages
-4-
Machine Language
Low-Level Languages:
Refer to machine code, the
binary instructions (0 and 1)
that a computer understands.
-5-
High Level Languages
High-Level Languages:
Programming statements are easy to read and understand
as the language used is closer to human language.
Examples:
C++, C# , Java, Pascal, Python, Visual Basic
-6-
High Level Languages
-7-
Compiler
-8-
Interpreter
… Outp ut
area = 5 * 5 * 3 .14 15; Interp reter
...
-9-
High Level Languages
-10-
Problem Solving
11
Problem Solving
-12-
Flowchart
-14-
Flowchart Symbols
-15-
Programming using C++
16
Programming Using C++
C++ is an extension of C.
-17-
A Simple C++ Program
-18-
Program Execution
-19-
Syntax and Structure of C++ program
-20-
Comments
Multiple line
/*
You can include comments that can
occupy several lines.
*/
-21-
Thank You