Basic Concept of Programming Language PDF
Basic Concept of Programming Language PDF
OF
PROGRAMMING
LANGUAGE
DHANUSHKA AKILA SAMARANAYAKE
• Variables
• Variables are the backbone of any program, and thus the backbone of any computer programming language.
• Control statements
• IF CONDITIONS
• LOOPING
• Data Structures
• In computer science, a data structure is a particular way of storing and organizing data in a computer so that it can be used
efficiently
• Tools (IDE)
WHAT IS AN ALGORITHMS
1. Exercise 1
• Write the algorithm and draw a flow chart for adding two numbers entered by the user.
2. Group Exercise 1
• Write the algorithm and draw a flow chart to find the largest among three different numbers
entered by the user.
PSEUDO CODE
• Pseudo code is a term which is often used in programming and algorithm-based fields.
• It is a methodology that allows the programmer to represent the implementation of an
algorithm.
• It’s simply an implementation of an algorithm in the form of annotations and informative
text written in plain English
• It has no syntax like any of the programming language and thus can’t be compiled or
interpreted by the computer.
PSEUDO CODE …
• WRITE A PSEUDOCODE TO
FIND THE GREATEST OF
THREE NUMBERS.
SUMMARY