Download presentation
Presentation is loading. Please wait.
Published byHollie Conley Modified over 8 years ago
1
Educational software development ideas "It is the supreme art of the teacher to awaken joy in creative expression and knowledge.“ Albert Einstein
2
Presenting a theoretical notion Animations Films Feedback
3
Control structures By control structure we understand a form of jointing the operations the algorithm works with. These are: -linear structure -alternative structure -repetitive structure
4
Alternative structure Example: In our daily lives we hear statements such as: IF I pass all classes, THEN I go to the summer camp, ELSE I stay to study. Three words with an important role can be observed: IF, THEN, ELSE.
5
A statement is formed out of 3 components: a condition, in this case “I pass all classes”, condition which we will name C; the action, in this case “I go to the summer camp ”, named S1, action associated with THEN, namely it will be executed only if “I pass all classes”; the action “stay to study”, named S2, action associated with ELSE, namely it will be executed only if not “I pass all classes”; To be very clear, the statement can be written as: if C then S1 else S2 Definition The alternative structure is defined through the selection between two or more actions depending on the condition’s (logical expression) truth value.
6
Graphical representation I pass all classes TrueFalse I go to the summer camp Stay to study Previous problem The representation of the alternative structure as a logical scheme. According to the notations C TrueFalse S2S1
7
C TrueFalse
8
C TrueFalse S1
9
C TrueFalse S2
10
List all the cases in which you can’t use the computer. IF I pass all classes AND all grades are over 7, THEN I can replace my computer with a better one, ELSE I remain with the old one.
12
Exemplu Car placing in a car park m columns I variesI varies n lines J varies
13
Bubble sort
14
Merge sort
15
Good luck in projecting and using the educational software!
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.