Download presentation
Presentation is loading. Please wait.
Published byElwin Dorsey Modified over 9 years ago
2
Algorithm is a prescribed set of well defined rules or instructions for the solution of the problem. Algorithmic language is a language or notation used to express clearly an algorithm.
3
1) Linear - Линейный 2) Branching - Разветвляющийся 3) Loop (Cycle) - Циклический
4
High level language – A variety of programming language in which the control and data structures reflect the requirements of the problem. It is translated in to machine code by compiler.(Pascal, Delphi, C, C++, etc) Low level language – A variety of programming language in which the control and data structures directly reflect the underlying machine architecture(Assembler, CIL, etc)
5
Begin Data input Data output End Operations
6
1. Pour milk in the cup 2. Put the cup on the stove 3. Light the match 4. Bring the burning match to the stove 5. Switch on the stove 6. Wait, until milk boils 7. Switch off the stove
7
1. Pour milk in the cup 2. Switch on the stove 3. Light the match 4. Bring the burning match to the stove 5. Put the cup on the stove 6. Wait, until milk boils 7. Switch off the stove
8
Program HW; begin writeln (‘ Pour milk in the cup ’); // shows on the screen writeln (‘ Put the cup on the stove ’); writeln (‘ Light the match ’); writeln (‘ Bring the burning match to the stove ’); writeln (‘ Switch on the stove ’); writeln (‘ Wait, until milk boils ’); writeln (‘ Switch off the stove ’); End.
9
Program HW; begin writeln (‘Hello world’); // shows on the screen End. print "Hello, world!“ #include int main(void) { printf("Hello, world\n"); //shows on the screen return 0; } <?php echo "Hello, world!"; ?>
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.