2-Προτεινόμενα Εκπαιδευτικά Σενάρια_ΠΑΚΕ_ΠΕ19_Έκδοση1
-
Upload
vasiliki-kotti -
Category
Documents
-
view
221 -
download
0
Transcript of 2-Προτεινόμενα Εκπαιδευτικά Σενάρια_ΠΑΚΕ_ΠΕ19_Έκδοση1
-
8/3/2019 2- __19_1
1/444
.. , (2007 2013)
: 19/20
&
, 2011
-
8/3/2019 2- __19_1
2/444
2
1. Logo MSWLogo ....................................................................... 3
2. 1: ............................................................. 21
3. 2: ................................................ 284. 3: ........................................................ 38
5. EasyLogo 1: EasyLogo ............. 46
6. EasyLogo 2: ................................... 52
7. StarLogoTNG: ( ).............................. 58
8. Scratch 1: Scratch ... 63
9. Scratch 2 : Scratch 80
10. Scratch 3: Scratch .................. 94
11. Scratch 4: Scratch (
) .................................................................................. 107
12. Scratch 5:
Scratch ........................................................................................ 117
13. ScratchByob: ,
Byob ................................................................................................. 135
14. Lego Wedo 1: Lego
WeDoTM
................... 181
15. Lego Wedo 2: Lego
WeDoTM
...................................................................................................................... 191
16. Lego MindStorms: ....................................................... 198
17. 1:
objectKarel ......................................... 215
18. 2:
() objectKarel .................................................. 228
19. 3:
() objectKarel ........................................... 243
20. ECLiP :
e-ECLiP.................................................................................................... 259
21. Games: Game Maker
.......................................................................................................... 271
22. Hot Pototoes:
........................................................................................................... 292
23. CmapTools:
......................................................................................... 32824. : SCALE
.................................................................................................................................... 348
25. 1:
................................................................................................................. 367
26. 2: ALMA . 377
27. 3: ETHERNET OKEN RING
NETWORKS ................................................................. 393
28. 4:
RETUDIS ................................................... 401
29. : / ..................................................................................................................... 423
-
8/3/2019 2- __19_1
3/444
3
1. Logo MSWLogo
.
, ,
, .
,
: ,
, , ,
, , .
,
.
, , :
(
,
- xcel
);
;
;
;
;
,
; ;
;
,
( ;);
(
);
( )
; ;
Logo ,
,
.
-
8/3/2019 2- __19_1
4/444
4
/
MSWLogo
Logo,
Logo. MSW Logo,
. MSWLogo
site ,
, (
)
2.8: MSWLogo
MSWLgo ,
.
2.9: MSWLogo
-
8/3/2019 2- __19_1
5/444
5
1
MSW Logo
MSW Logo
.
.. .
..
Enter, .
;
-
8/3/2019 2- __19_1
6/444
6
, .
FD xx xx . FD 50.
50
:
BKxx xx . BK 50.
50 .
RT xx xx . RT 90
90 ( ),
LT 90 90 :
-
8/3/2019 2- __19_1
7/444
7
CS ( ) . ( ).
CT . (
).
:
PU .
PD .
ST
, :
FD 50
PU
FD 40
PD
FD 50
Logo.
, , MSW Logo
.
,
.
. ,
Logo :
-
8/3/2019 2- __19_1
8/444
8
i , ( Logo)
, ,
( ).
, ,
:
.
,
, , ,
()
,
.
,
.
Logo, .
:
( )
.
. ,
(..
).
, , ,
.
Logo ,
.
, , ,
, ,
, . , , Logo ,
, Scratch,
,
, interface .
: ,
Logo Scratch,
Logo .
, ( ,
, ...),
Scratch.
-
8/3/2019 2- __19_1
9/444
9
, ,
,
,
, .
, Logo,
.2
FD 100
RT 90
;
:
FD 100
RT 90
FD 100
RT 90
FD 100
RT 90
FD 100
RT 90
; , :
CSrepeat 4 [fd 60 rt 90]
To ;
repeat
.
:
-
8/3/2019 2- __19_1
10/444
10
CS
repeat 3 [fd 120 rt 60]
; .
:
( Logo arvey Brian).
, ,
: , ,
, 90 ,
.
.
.
,
-
8/3/2019 2- __19_1
11/444
11
(
, ).
,
,
polygono 100 9,
.
Logo .
, ,
.
3
IFELSE [] [] 2 .
ifelse (53) [print "MEG] [print "MIK]
.
, .
.
Edit ,
triangle:
-
8/3/2019 2- __19_1
12/444
12
File Edit
.
Editor.
Editor
,
:
to name_procedure
name_procedure
( : triangle)
:
end
A ,
:
(arguments):
, pleura: :
to tetragono :pleura
repeat 4 [fd :pleura rt
90]
end
H Logo
pleura.
,
,
pleura
-
8/3/2019 2- __19_1
13/444
13
tetragono 100
.
120;
Logo :
TO TETRAGONO
REPEAT 4 [FD 60 RT 90]
END
TO SIMAIAFD 80
TETRAGONO
BK 80
END
TO TETRAGONO
REPEAT 4 [FD 60 RT 90]
END
TO SIMAIA
FD 80
TETRAGONO
BK 80
END
TO POLLES_SIMAIES
REPEAT 8 [SIMAIA RT 45]
END
H Logo tetragono,
pleura 100
-
8/3/2019 2- __19_1
14/444
14
:
M kathsima ;
;
; ;
:
-
8/3/2019 2- __19_1
15/444
15
, . ,
,
:
.
, ,
.
:
, Logo .
:
.
,
,
.
, ,
: ,
, ..
-
8/3/2019 2- __19_1
16/444
16
4
:
print 8 + 9
;
:
make x 8
print :x + 9
;
make x 8 ;
make x 8
make z 25
print :x + :z ;
.
, .
, :
make x 12
, :
make x [1 2 3 4 6 5]
:
print :x ;
O , . .
.
, :
make x [1 2 3 4 5]
print :x
print first :x
print butfirst :x
print bf :x
print last :x
print butlast :x
print bl :x
;
:print first bf :x ;
-
8/3/2019 2- __19_1
17/444
17
M Logo ( 1 2);
M Logo
( 4 5);
M Logo ;
, :
to prosthesi :a :b
output :a + :b
end
:
print prosthesi 10 20 ;
to athroisma :list
ifelse (bf :list) = [] [output first :list] [output suma (first :list) athroisma (bf :list)]
end
;
print athroisma [10 20 40] ;
;
print athroisma [10 20 40 5 6 7 1] ;
;
to min :a :b
ifelse :a
-
8/3/2019 2- __19_1
18/444
18
to elasson :list
ifelse (bf :list) = [] [output first :list] [output min (first :list) elasson (bf :list)]
end
print elasson [5]
print elasson [5 1]
print elasson [5 4 2]
print elasson [5 12 9 2 74 56 1] ;
;
Logo
.
, Logo . 0 (
1).
anazitissi ;
to anazitissi :a :list
ifelse :list = [] [output 0] [ifelse :a = (first :list) [output :a] [output anazitissi :a (bf :list)]]
end
;
.
;
to hannoi :numberdisks :a :b :c
ifelse :numberdisks = 1 [(print "A "disk "from :a "to :b)]
-
8/3/2019 2- __19_1
19/444
19
[ hannoi :numberdisks - 1 :a :c :b
(print "A "disk "from :a "to :b)
hannoi :numberdisks - 1 :c :b :a
]
end
1 , 2 ,
.
:
to koch :mikos :limit
make "limit :limit - 1
ifelse :limit = 0 [fd :mikos] [fd :mikos / 3 lt 60 koch :mikos / 3 :limit rt 120 koch :mikos / 3
:limit lt 60 fd :mikos / 3]
end
, koch 800 4:
;
To
.
-
8/3/2019 2- __19_1
20/444
20
Logo
.
,
.
.
Logo.
H , , , :
,
: (
) .
,
() .
( Koch)
.
;
, 80. ,
:
.
,
.
(fractals )
( , ,
).
-
8/3/2019 2- __19_1
21/444
21
2. 1:
http://etl.ppp.uoa.gr/_content/download/index_download.htm
Logo (
,, , ...
).
, ,
, X.
( ),
( )
( ).
: ,
.
.
.
,
.
:
()
()
https://lydia.uom.gr/horde2/util/go.php?url=http%3A%2F%2Fetl.ppp.uoa.gr%2F_content%2Fdownload%2Findex_download.htm&Horde2=e8a29a4bc34d73d8c3d955985f405fcbhttps://lydia.uom.gr/horde2/util/go.php?url=http%3A%2F%2Fetl.ppp.uoa.gr%2F_content%2Fdownload%2Findex_download.htm&Horde2=e8a29a4bc34d73d8c3d955985f405fcb -
8/3/2019 2- __19_1
22/444
22
: 2-3 /
: -
:
:
.
.
2-3 .
.
, .
:
-
8/3/2019 2- __19_1
23/444
23
.
.
, (
) ( ).
_
. _
,
.
.
.
,
, ,
. , ,
:
: :
: [ : _ :]
:
3 [ : 120]
_ :
90
(:*sqrt(3))/2
90
-
8/3/2019 2- __19_1
24/444
24
:
,
,
.
() _
,
. .
-
8/3/2019 2- __19_1
25/444
25
.
:
;
;
;
;
;
,
,
.
:
_ : :
90
:*(:*sqrt(3))/2
90
:
180
-
8/3/2019 2- __19_1
26/444
26
,
.
, ,
.
:
: : :
: [ : : _ : :]
-
8/3/2019 2- __19_1
27/444
27
() .
.
.. :
;
;
;
:
)
)
) (.. )
.
.. .
, ,
.
-
8/3/2019 2- __19_1
28/444
28
3. 2:
: ,
.
,
.
:
,
, .
: 2-3 /
.
: -
-
8/3/2019 2- __19_1
29/444
29
:
:
.
.
4-5 .
,
, ,
.
(, , ) .
. : 1
, ,
. : 1
( )
( )
. : 1
-
8/3/2019 2- __19_1
30/444
30
.
: 1-2
, , ,
.
.
,
.
.
,
.
() (
).
:
:
()
()
:
-
8/3/2019 2- __19_1
31/444
31
.
.
.
.
.
, :
()
.
100
60
100
60
100
60
100
60
100
60
100
60
-
8/3/2019 2- __19_1
32/444
32
:
.
.
:
:
_
6 [ 100 60]
_2 : :
6 [ : :]
_2 50 120
-
8/3/2019 2- __19_1
33/444
33
.
.
. ( ) .
.
,
,.
.
:
:
.
-
8/3/2019 2- __19_1
34/444
34
:
1 -
,
: .
:
( 100 3)
. :
) _
.
: :
: [_2 :]
_3 :
6 [ : 60]
-
8/3/2019 2- __19_1
35/444
35
)
_.
) .
( ).
)
.
)
.
)
, .
:
:
: :
: [_3 : : -60]
-
8/3/2019 2- __19_1
36/444
36
: -60 .
.
.
.
,
.
:
2
.
,
.
:
: : :
: [ 6 [ : :] " :-5]
-
8/3/2019 2- __19_1
37/444
37
, (.. 100 10 60)
-
. ,
() .
:
-
8/3/2019 2- __19_1
38/444
38
4. 3:
: , ,
.
. ,
.
,
.
-, .
:
: 2-3 /
: - -
:
-
8/3/2019 2- __19_1
39/444
39
:
.
.
2-3 .
,
1 .
:
: 30 13
:
: :
: < 1 []
10
:
: - 1 : - 1
-
8/3/2019 2- __19_1
40/444
40
, .
.
,
,
.
.
:
=60, =13
-
8/3/2019 2- __19_1
41/444
41
=56, =45
:
.
,
, .
-
:
(
)
-
8/3/2019 2- __19_1
42/444
42
.
: .
.
,
.
:
20 100,
.
:
:
6 [ : 60]
: :
: < 1 []
:
: - 1 : - 10
:
-
8/3/2019 2- __19_1
43/444
43
,
:
:
;
;
( );
,
;
-
8/3/2019 2- __19_1
44/444
44
,
( ) :.
.
(.. :) .
,
.
:
, .
.
:
,
.
.
.
.
-
8/3/2019 2- __19_1
45/444
45
:
30
2/3 4 .
. ,
:
:
: < 4 []
:
20
:*2/3
40
:*2/3
20
:
30
-
8/3/2019 2- __19_1
46/444
46
5. EasyLogo 1:
EasyLogo
:
( 1139/28-7-2010) logo-like
.
, EasyLogo.
EasyLogo.
:
/ . .
EasyLogo .
()
,
.
EasyLogo ,
.
-
8/3/2019 2- __19_1
47/444
47
, .
(.. )
. .
( ) ( ) ( )
() .
EasyLogo ( ) .
-
8/3/2019 2- __19_1
48/444
48
(),
(),
1 ().
().
, 1
:
90 & 2 :
-
8/3/2019 2- __19_1
49/444
49
:
:
:
:
-
8/3/2019 2- __19_1
50/444
50
:
:
:
-
8/3/2019 2- __19_1
51/444
51
-
8/3/2019 2- __19_1
52/444
52
6. EasyLogo 2:
:
( 1139/28-7-2010) logo-like
.
, EasyLogo.
( ) -.
: EasyLogo, , ( ) .
:
().
(
), .
,
.
, .
-
8/3/2019 2- __19_1
53/444
53
.
1.
2.
3.
-
8/3/2019 2- __19_1
54/444
54
, .
.
1) .
) . :
-
8/3/2019 2- __19_1
55/444
55
)
90
. :
) , . . :
-
8/3/2019 2- __19_1
56/444
56
2) 6 . 6 .
3) 5 . 5 .
-
8/3/2019 2- __19_1
57/444
57
-
8/3/2019 2- __19_1
58/444
58
7. StarLogoTNG: (
) :
logo-like .
, StarLogo TNG.
( ) ( ).
.
:
StarLogo TNG,
( )
()
(.. , , , ),
, , , StarLogo TNG
:
-
- -
- - - -.
,
(Seymour Papert) - . -
..
-
8/3/2019 2- __19_1
59/444
59
, .
( ) .
1) . .
-:
:
-
8/3/2019 2- __19_1
60/444
60
:
- -:
- -:
! .
-
8/3/2019 2- __19_1
61/444
61
2) . . : . .
: .
.
3) -:
( ):
:
-
8/3/2019 2- __19_1
62/444
62
- :
- -:
- :
-
8/3/2019 2- __19_1
63/444
63
8. Scratch 1:
Scratch
:
( 1139/28-7-2010) Logo-like Scratch. ( ) ( ), Scratch .
, Scratch.
Scratch.
: .
. , Scratch . Scratch
Scratch(Brennan, 2011).
Scratch .
) )
) ) (, / ).) Scratch.) (.. )) Scratch.
, .
-
8/3/2019 2- __19_1
64/444
64
Scratch , Scratch ( 1), () , Scratch.
1. Scratch
.
, .
Scratch (Resnick, 2009). (.. )
. .
Scratch Scratch (Getting Started Guide,
http://info.scratch.mit.edu/Support). ( .., 2008).
.
-
8/3/2019 2- __19_1
65/444
65
""
( )
"
" ( ),
""
( )
( )
-
8/3/2019 2- __19_1
66/444
66
.
.
!
.
,
.
!
.
.
(
)
-
8/3/2019 2- __19_1
67/444
67
.
" "
"
"
,
.
'
.
( ).
,
.
-
8/3/2019 2- __19_1
68/444
68
.
.
.
:
.
.
( )
.
().
-
8/3/2019 2- __19_1
69/444
69
" "
.
( )
" ".
.
( )
( )
-
8/3/2019 2- __19_1
70/444
70
" ".
.
.
(
)
-
8/3/2019 2- __19_1
71/444
71
:
" "
" "
( , )
,
,
.
;
;
;
.
.
) )
. :
-
8/3/2019 2- __19_1
72/444
72
Brennan, K. (2011). Computational Thinking Concepts: March 2011 Webinar.
http://scratched.media.mit.edu/resources/computational-thinking-concepts-march-2011-
webinar. 14/4/2011.
Resnick, M., Maloney, J., Monroy-Hernndez, A., Rusk, N., Eastmond, E., Brennan, K.,
Millner, A., Rosenbaum, E., Silver, J., Silverman, B., Kafai, Y. (2009). Scratch: Programming
for All. Communications of the ACM, 52 (11), pp. 60-67.
, ., , ., , ., , ., , ., &
, . (2008). Scratch. .
(.), 4o , (. 615-617).
.
-
8/3/2019 2- __19_1
73/444
73
""
" " ( ),
""
.
-
8/3/2019 2- __19_1
74/444
74
.
!
.
, .
!
. .
.
-
8/3/2019 2- __19_1
75/444
75
" "
" "
, .
'
.
.
.
.
:
-
8/3/2019 2- __19_1
76/444
76
.
.
.
" "
.
-
8/3/2019 2- __19_1
77/444
77
" ". .
" ".
-
8/3/2019 2- __19_1
78/444
78
.
.
:
" "
" "
( , )
;
; ;
) )
-
8/3/2019 2- __19_1
79/444
79
-
8/3/2019 2- __19_1
80/444
80
9. Scratch 2 :
Scratch
:
( 1139/28-7-2010) Logo-like Scratch. , Scratch . .
Scratch.
Scratch, , .
:
Scratch.
(.. ).
,
.
.
:
) ) ,
) )
)
) , .
-
8/3/2019 2- __19_1
81/444
81
, , .
.
. ,
.
. Scratch .
.
-
8/3/2019 2- __19_1
82/444
82
Scratch
.
.
. Nature
() underwater .
.
(
)
-
8/3/2019 2- __19_1
83/444
83
(, , ..).
Scratch.
.
Animals ()
.
(
)
-
8/3/2019 2- __19_1
84/444
84
(
).
.
Scratch
.
.
.
(.. )
.
.
.
.
1
-
8/3/2019 2- __19_1
85/444
85
, .
.
Scratch
:
Scratch
.
.
:
-
8/3/2019 2- __19_1
86/444
86
.
.
: ,
,
-
8/3/2019 2- __19_1
87/444
87
.
.
.
.
.
.
. :
-
8/3/2019 2- __19_1
88/444
88
-
8/3/2019 2- __19_1
89/444
89
Scratch
.
. . Nature ()
underwater .
.
(,
, ..).
Scratch.
.
-
8/3/2019 2- __19_1
90/444
90
Animals ()
.
( ).
.
.
.
-
8/3/2019 2- __19_1
91/444
91
(.. )
.
.
.
1
, .
.
Scratch
:
Scratch
.
-
8/3/2019 2- __19_1
92/444
92
.
.
.
,
-
8/3/2019 2- __19_1
93/444
93
.
.
.
-
8/3/2019 2- __19_1
94/444
94
10. Scratch 3:
Scratch
:
( 1139/28-7-2010) Logo-
like Scratch. . Scratch .
Scratch.
Scratch, (event-driven programming).
: Scratch . .
,
.
.
:) ,
)
)
, , .
.
-
8/3/2019 2- __19_1
95/444
95
. Scratch .
. , .
. , . Scratch .
.
-
8/3/2019 2- __19_1
96/444
96
:
.
.( )
.
( )
-
8/3/2019 2- __19_1
97/444
97
. .
Nature ()
underwater,
.
.
.
.
.
,
.
.
-
8/3/2019 2- __19_1
98/444
98
(
)
( ):
..
" "
.
" "
.
""
.
.
.
)
-
8/3/2019 2- __19_1
99/444
99
!!!!
)
.
;
.
)
,
-
8/3/2019 2- __19_1
100/444
100
.
.
. .
.
.
-
8/3/2019 2- __19_1
101/444
101
.
. :
,
,
-
8/3/2019 2- __19_1
102/444
102
:
.
. Nature ()
underwater, .
.
-
8/3/2019 2- __19_1
103/444
103
.
.
,
.
(
)
( ):
..
" "
.
" "
.
""
-
8/3/2019 2- __19_1
104/444
104
.
.
.
!!!!
.
-
8/3/2019 2- __19_1
105/444
105
; . ,
.
. .
-
8/3/2019 2- __19_1
106/444
106
.
-
8/3/2019 2- __19_1
107/444
107
11. Scratch 4:
Scratch (
)
:
( 1139/28-7-2010)
Logo-like Scratch.
, Scratch .
Scratch.
.
: Scratch. . , .
.
:)
) )
) .) / .
, , .
(Resnick, 2010). O .
. , Scratch
. ,
-
8/3/2019 2- __19_1
108/444
108
. Scratch .
, .
.
.
,
.
Scratch.
. ;_______________________________________________
_______________________________________________
__ ;_______________________________________________
_
_______________________________________________
_
.
-
8/3/2019 2- __19_1
109/444
109
Scratch . .
.
.
.
,
.
1.
2 ; ; ( )
0. ; . ; 2. . ;
,,:
/
,
/
.
-
8/3/2019 2- __19_1
110/444
110
;
_______________________________________________
_______________________________________________
__
;
:
/
.
1 .
:
/
.
0 0.
:
/
. .
-
8/3/2019 2- __19_1
111/444
111
. . 0.
.
.
.
:
-
8/3/2019 2- __19_1
112/444
112
.
. :
/
.
.
.
.
-
8/3/2019 2- __19_1
113/444
113
Resnick, M. (2010)Meaningful and motivating: The use of variables in a game project.
http://scratched.media.mit.edu/stories/meaningful-and-motivating-use-variables-game-
project( 30/5/2011).
http://scratched.media.mit.edu/stories/meaningful-and-motivating-use-variables-game-projecthttp://scratched.media.mit.edu/stories/meaningful-and-motivating-use-variables-game-projecthttp://scratched.media.mit.edu/stories/meaningful-and-motivating-use-variables-game-projecthttp://scratched.media.mit.edu/stories/meaningful-and-motivating-use-variables-game-projecthttp://scratched.media.mit.edu/stories/meaningful-and-motivating-use-variables-game-projecthttp://scratched.media.mit.edu/stories/meaningful-and-motivating-use-variables-game-project -
8/3/2019 2- __19_1
114/444
114
Scratch. .
;___________________________________________________________________________
___________________________________________________________________________
;________________________________________________
________________________________________________
Scratch .
.
.
, .
-
8/3/2019 2- __19_1
115/444
115
1.
2 ; ; ( )
0. ; . ; 2.
. ;
;___________________________________________________________________________
___________________________________________________________________________
______________________________________________________________________________________________________________________________________________________
;
1
.
-
8/3/2019 2- __19_1
116/444
116
0 0.
.
. .
0.
:
.
-
8/3/2019 2- __19_1
117/444
117
12. Scratch 5:
Scratch
:
( 1139/28-7-2010) Logo-like Scratch. , Scratch . .
Scratch.
.
: Scratch. . , . ,
.
.
: :
) )
) Scratch:
) Scratch) Scratch
)
,
, .
.
-
8/3/2019 2- __19_1
118/444
118
(sprites). Scratch .
, .
.
.
,
.
:
.
.
.
-
8/3/2019 2- __19_1
119/444
119
.
:
_.
-
8/3/2019 2- __19_1
120/444
120
->
.
,
.
.
-
8/3/2019 2- __19_1
121/444
121
.
-
8/3/2019 2- __19_1
122/444
122
.
.
, (drag and drop).
.
.
:
. ,
,
.
.
-
8/3/2019 2- __19_1
123/444
123
Scratch
.
.
.
.
.
.
.
.
.. :
-
8/3/2019 2- __19_1
124/444
124
.
.. :
:
.
:
-
8/3/2019 2- __19_1
125/444
125
.
.
( ):
.
-
8/3/2019 2- __19_1
126/444
126
:)
) .
.
.
.
.
:) ) ( ).
.
-
8/3/2019 2- __19_1
127/444
127
. :
.
.
.
.
Scratch
Scratch
.
Scratch
Scratch
.
.
:
-
8/3/2019 2- __19_1
128/444
128
.
.
.
:
-
8/3/2019 2- __19_1
129/444
129
_.
->
.
,
.
.
.
-
8/3/2019 2- __19_1
130/444
130
.
.
, (drag and
drop).
.
.
:
-
8/3/2019 2- __19_1
131/444
131
. , ,
.
Scratch .
.
.
.
.
.
-
8/3/2019 2- __19_1
132/444
132
.
.
.. :
:
.
.. :
-
8/3/2019 2- __19_1
133/444
133
.
:
.
.
( ):
-
8/3/2019 2- __19_1
134/444
134
.
:
) )
.
.
:)
)
( ).
.
-
8/3/2019 2- __19_1
135/444
135
13. ScratchByob: ,
Byob
:10
Byob. Byob
. ( .., 2011), , .,
.
Byob.
, Byob, Scratch Scratch. , Scratch BYOB
. , Scratch Byob
- (, ).
.
.
-
8/3/2019 2- __19_1
136/444
136
, ,
3 :
1. 1
(1
)
. , . ,
, Byob
.
2. 2
(2
)
.
Byob.
3. 3 (3 )
. 1 2
.
! :
:
.
:
,
.
/ :
.
/
.
-
8/3/2019 2- __19_1
137/444
137
1. 1
.
: ) .) .) .) .) .) .) .
) .
) , .) .
: 6
1
1 /
.
1
.ypr ergasia1 .
.
. ;
, ,
, . , !
, ,
()
.
,
.
( )
; , , . -,
.
.
-
8/3/2019 2- __19_1
138/444
138
.
, .
:
1: . 2: .
3: . 4: .
5: .
6: .
7: .
Byob.
1.
1: ergasia1 beach - beach
.
. Costumes->Animals.
1.
.
.
.
( ).
,
( ).
.
-
8/3/2019 2- __19_1
139/444
139
2:
, .
; .
:
2.1: .
2.2: . 2.3: .
2.4: .
2.5: .
2.1 :
.
-
.( )
-
8/3/2019 2- __19_1
140/444
140
.
, .
(0=, 90=, 180=
-90=).
. - ()
.
. 90 ( ) 80 .
. 90 80 .
.
,
.
( ),
( ).
-
8/3/2019 2- __19_1
141/444
141
.
.
.
.
(.. square) ;
; .
. : .
. Byob .
.
.
.
-
8/3/2019 2- __19_1
142/444
142
.
-
.
2)
.
.
.
3)
4)
.
1) category
()
.
-
8/3/2019 2- __19_1
143/444
143
,
,
square.
square.
, square
, .
.
-
8/3/2019 2- __19_1
144/444
144
square .
.
.
( )
-
8/3/2019 2- __19_1
145/444
145
, .
.
2.2:
- .
.
x=66,y=-80
80
x=66,y=-160 x=66,y=-80
,
.
;
.
.
-
8/3/2019 2- __19_1
146/444
146
triangle_left square.
triangle_left :
2.3:
triangle_right. ,
-, Byob
.
:
.
.( )
-
8/3/2019 2- __19_1
147/444
147
triangle_right :
.
2.4:
- -
(x=106, y=-80) - -
160 , .
triangle_up. triangle_right triangle_left. .
:
.
triangle_right.
-
8/3/2019 2- __19_1
148/444
148
2.5:
rectangular, 30 20 .
.
( x=106,y=80).
rectangular :
.
.
( )
triangle_up.
( )
rectangular
( )
-
8/3/2019 2- __19_1
149/444
149
.
.
,
, . square
.
;
. .
;
(, , ) .
.
(+)
.
.
-
8/3/2019 2- __19_1
150/444
150
(
).
for
. +
x .
mexri +
, .
;
,
:
. Byob . Scratch.
Byob
.
:
,
,
.
/
.
( )
-
8/3/2019 2- __19_1
151/444
151
nea
.
.
-
.
.
.
,
.
,
.
square steps .
square .
square .
.
-
8/3/2019 2- __19_1
152/444
152
,
() square.
steps
square
.
( )
square. ;
.
triangle triangle_left, triangle_right triangle_up
(x=66,y=-80).
triangle
.
-
8/3/2019 2- __19_1
153/444
153
.
.
triangle
,
triangle_left,
triangle_right
triangle_up.
( )
triangle (direction), (steps) (x, y).
, .
(x=66,y=-80)
(steps). step 70.
triangle
triangle_left,
triangle_right
triangle_up.( )
, ,
.
-
8/3/2019 2- __19_1
154/444
154
.
.
2 .
.
-
8/3/2019 2- __19_1
155/444
155
karavi
.
Karavi.
x y .
color1, color2, color3
.
.
,
, , .
.
karavi
-
8/3/2019 2- __19_1
156/444
156
:
:
3:
.
,
karavi
.
( )
triangle
karavi.
( )
-
8/3/2019 2- __19_1
157/444
157
.
.
. triangle2 steps.
trees.
, trees (x,y).
x,y (
: x=-228,y=61) . :
.
. ,
triangle2.
triangle2
trees
.
( )
-
8/3/2019 2- __19_1
158/444
158
.
.
base ,
,
.
trees : triangle2
trees,
.
( )
.
.
.
,
.
()
.
.
.
.
-
8/3/2019 2- __19_1
159/444
159
6
.
4:
.
() anemomylos
. :
. ; ,
.
( )
-
8/3/2019 2- __19_1
160/444
160
72 ; ;
Anemomylos: x0, y0
x=x0 y=y0.
40 . x=-24 y=90.
x=x0 y=y0.
x=-24 y=102.
72 .
.
72 .
.
72 . .
72 .
.
72 .
.
anemomylos
. ,
.
-
8/3/2019 2- __19_1
161/444
161
2. 2
.
: ) .) .
: 2
2
2 / .
2
-
8/3/2019 2- __19_1
162/444
162
1
.
.
.
: 72 .
.
( ); , ;
; , ,
.
() .
,
.( )
.
-
8/3/2019 2- __19_1
163/444
163
,
(.. 10 ).
.
.. :
.
-; Byob . -,
.
..
.
( )
,
.
( )
-
.
-
8/3/2019 2- __19_1
164/444
164
, .
:
,
, .
- :
-, karavi, 30 70
.
:
.
,
.
-
8/3/2019 2- __19_1
165/444
165
. 5.
1: .
2: .
3: .
4: . 5: .
6: .
7: .
5:
umbrella
(x=-228, y=-76). .
aktina 20.
umbrella
.
.
-
8/3/2019 2- __19_1
166/444
166
.
.
,
.
...( )
. :
= 2** , = 3.14
-
8/3/2019 2- __19_1
167/444
167
4
.
6:
,
.
( )
.
aktina.
;
-
8/3/2019 2- __19_1
168/444
168
ilios, .
.
30
x=189,y=144 . ( ) ,
, 10 20
.
-
8/3/2019 2- __19_1
169/444
169
3. 3
, ,
.
: ) , ,
) ,) ,
) .
: 2
3
3 /
.
3
1
2
. .
.
5. ! .
x=66,y=-80 x=-123,y=-51, x=-184,y=-51, x=-235,y=-37, x=-151,y=-13.
.
-
8/3/2019 2- __19_1
170/444
170
,
.
.
karavi,
.
umbrella,
.
.
.
trees .
trees no
.
x 22 y 8.
no, trees :
trees.
-
8/3/2019 2- __19_1
171/444
171
, x=-45,y=5 x=189,y=144.
trees
triangle2
base.
( )
.
.
( )
-
8/3/2019 2- __19_1
172/444
172
.
(start)
(.. ).
.
. ball (x=-51, y=-
94) .
.
ball .
;
/
.
,
.
( )
/
-
8/3/2019 2- __19_1
173/444
173
.
, ,
.
.
3
.
.
.
.
.
.
.
.
.
.
, ,
.
.
.
.
.
.
.
.
/
.
.
.
.
.
-
8/3/2019 2- __19_1
174/444
174
.
.
.
, .
.
.
.
.
/.
, . .. (2011). . 2 , 2011.
-
8/3/2019 2- __19_1
175/444
175
site (http://byob.berkeley.edu/) greek
translation (el.po) Downloads. el.po BYOB\locale. ,
.
,
O Sprite1
http://byob.berkeley.edu/http://byob.berkeley.edu/http://byob.berkeley.edu/http://byob.berkeley.edu/ -
8/3/2019 2- __19_1
176/444
176
anemomilos
ilios
karavi
-
8/3/2019 2- __19_1
177/444
177
O rectangular O square
-
8/3/2019 2- __19_1
178/444
178
O triangle O triangle2
-
8/3/2019 2- __19_1
179/444
179
trees
O umbrella
O ball
-
8/3/2019 2- __19_1
180/444
180
-
8/3/2019 2- __19_1
181/444
181
14. Lego Wedo 1:
Lego
WeDoTM
:
( 1139/28-7-2010) , . .
, Scratch. Lego
WeDo
TM .
Scratch Lego
WeDo
TM.
: Scratch. , . .
:A) LEGO
) )
Scratch.)
.
, , .
.
.
(3-4 ).
-
8/3/2019 2- __19_1
182/444
182
1. : .
.2. :
. , .
Scratch
. , . ( )
LEGO.
-
8/3/2019 2- __19_1
183/444
183
-
8/3/2019 2- __19_1
184/444
184
-
8/3/2019 2- __19_1
185/444
185
-
8/3/2019 2- __19_1
186/444
186
:
. ,
. USB .
-
8/3/2019 2- __19_1
187/444
187
O .
Scratch
.
. )
-
8/3/2019 2- __19_1
188/444
188
.
. ;
.
; .
)
Scratch
.
.
)
-
8/3/2019 2- __19_1
189/444
189
.
() .
Scratch
().
:
. :
-
8/3/2019 2- __19_1
190/444
190
.
.
-
8/3/2019 2- __19_1
191/444
191
15. Lego Wedo 2:
Lego
WeDoTM
( 1139/28-7-2010)
, .
.
, Scratch. Lego
WeDo
TM . ()
. Scratch Lego
WeDo
TM.
:
Scratch. , , .
:A) LEGO) (
))
.
) .
, , .
.
. (3-4 ).
-
8/3/2019 2- __19_1
192/444
192
. , .
.
( ) . 12 Lego WeDoTM. (x1)LEGO USB Hub (x1)
(x1) (x1)
6 (x1) 8 (x1) 4 (x2)
6 (x2)
15 (x1) 7 (x2) 1 (x1) (x1)
() 1 (x1)
-
8/3/2019 2- __19_1
193/444
193
2:
. .
3: . 6, . 11 . 12
.
-
8/3/2019 2- __19_1
194/444
194
4: . 11 / . 10 ( ).
. 9 ( 15 7) . 10 ( 1).
USB .
-
8/3/2019 2- __19_1
195/444
195
Lego WeDoTM.
( ).
,
.
.
.
.
)
) .
)
-
8/3/2019 2- __19_1
196/444
196
( )
.
, .
.
,
. ;
. :
LEGO
,
(
)
.
-
8/3/2019 2- __19_1
197/444
197
.
/
/
.
-
8/3/2019 2- __19_1
198/444
198
16. Lego MindStorms:
:
,
, . Lego ( Lego Mindstorms) .
.
10 . , .
(, ) ( , ). , ,
, ( ).
. Lego Mindstorms. Lego Mindstrorms Edu NXT.
Lego Mindstorms.
:
. .
, ,
. :
-
8/3/2019 2- __19_1
199/444
199
: .
, , .
(, , ).
( , , ).
, , .
.
: . .
. .
:
. ,
.
, , .
.
. , , , . : , ,
, ,
1.
: 1 1:
, . video . . , Education Robots Dot Com,
http://www.educationrobots.com, (Education List/ Cornell Univesity0 Nasa,http://marsrovers.nasa.gov/gallery/, Mars Exploration Rover. , , Lego
(http://mindstorms.lego.com/nxtlog/ProjectList.aspx). : ;, ;.
http://marsrovers.nasa.gov/gallery/http://marsrovers.nasa.gov/gallery/http://marsrovers.nasa.gov/gallery/ -
8/3/2019 2- __19_1
200/444
200
3 1: , , 4 , . , , -. - . -, , poster .
2.
: 3 2: -, 3: : 4: !
: ,
( 2: ). ,
. ( , ) Lego Mindstrorms Edu NXT( Robot Educator 3/Drive Forward). .
,
( 1).
1: .
4 3 2 1 ; ;
;
;
;
;
: , . 3: . , MOVE ( 1). , ( 2). ( 2). . , ( , 3). , ( 4).
, ( , 4: !).
-
8/3/2019 2- __19_1
201/444
201
3.
: 2 5:
, . . , /.
: ; ; ;
; ; ;
5:
. .
4.
: 2 6: , ,
.
, . .
, ,
. , , , , , , . ( 2)
2: .
:
;
;
;
;
;
:
;
;
;
/ ;
:
/ ;
;
;
5.
-
8/3/2019 2- __19_1
202/444
202
: 2 7:
. , : i) , ii) iii) . 7: . . , . . , ,
( 2).
-
8/3/2019 2- __19_1
203/444
203
1:
1.
2. :
3. 1.
(*);
(*) , Try me/Try Touch ()
, ,
.
:..
: ..
4.
3 ( );
-
8/3/2019 2- __19_1
204/444
204
..
..
5. ;
6.
- :
-
8/3/2019 2- __19_1
205/444
205
2:
-
1. - . Lego Mindstrorms Edu
NXT ( Robot Educator/Common Palette/3. Drive Forward)
.
1
2
3
4
-
8/3/2019 2- __19_1
206/444
206
5
2. (*).
(*) :
, , , , , , , ,
, , , , , , , .
2.
( , );
3. :
-
8/3/2019 2- __19_1
207/444
207
3:
:
.
1:
,
LEGO MINDSTRORMS Edu NXT.
1: ()
- MOVE.
. Move_fd.
2: , .
.
C, B.
3: .
download .
NXT.
: .
;
2:
VE
.
.
1: 4.
;
2: 5 :
rotations, seconds, degrees, unlimited.
3: 3 .
;
4: Brake, Coast;
5: 1 2 .
-
8/3/2019 2- __19_1
208/444
208
3:
,
. -
.
.
.
4:
,
. ( loop).
. .
-
8/3/2019 2- __19_1
209/444
209
4:
!
. , .
.
.
.
1:
.
. , ,
. .
;
.
( , 40).
.
.
2:
2.
. - Wait for/Light. (
).
2. ;
: ,
.
-
8/3/2019 2- __19_1
210/444
210
2. ( ).
;
.
;
3:
2
.
;
.
;
Switch
;
-
8/3/2019 2- __19_1
211/444
211
5:
1. :
2. :
3. . :
:
;
;
;
4. , .
/
.
.
!
-
8/3/2019 2- __19_1
212/444
212
6:
, ,
.
2. .
.
.
3. . :
:
;
;
;
4. .
.
.
-
8/3/2019 2- __19_1
213/444
213
.
,
.
5. .
:
.
.
. .
, .
. .
.
:
, /
.
, .
. .
, .
-
8/3/2019 2- __19_1
214/444
214
7:
.
& .
.
.
.
,
.
.
.
.
.
.
& .
.
.
.
.
.
,
.
.
.
.
.
.
.
,
,
.
.
,
.
.
-
-
. ,
, ,
.
.
.
. , ,
. .
.
. .
.
.
.
.
.
-
8/3/2019 2- __19_1
215/444
215
17.
1:
objectKarel
:
( )
objectKarel. ,
.
,
.
. , , , .
:
, , .
, .
.
() .
, .
.
, .
.
. , , .
-
8/3/2019 2- __19_1
216/444
216
.
objectKarel ,
, .
, .
1
1: .
. objectKarel.zip objectKarel.exe.
2:
( ). objectKarel
( ).
3: 4 (move(), turnLeft(), putBeeper(), pickBeeper())
( ).
4: 4 Karel,
( ). , , :
.()
2
1:
Primitive_Robot. Primitive_Robot ( ).
2: , .
:
, ( ) ,
, .
( )
-
8/3/2019 2- __19_1
217/444
217
3
:
i) , .
, , () (). ,
.
ii) .
. Primitive_Robot Nik .
, .
iii) .
, .
iv) .
.
- .
2
.
4
,
-
8/3/2019 2- __19_1
218/444
218
, . . .
-
8/3/2019 2- __19_1
219/444
219
objectKarel
1 :
1: objectKarel
1. objectKarel2. Options Language Greek ( 1),
- ( 2).
2. objectKarel.
( 2) :
: .
: , , .
: ( )
.
:
.
: .
2: ( )
1. objectKarel (3).
2.
.3. , ,
() .
1. objectKarel.
-
8/3/2019 2- __19_1
220/444
220
3: (
)
. :
; ;
4: (
)
1. ( 4).
2. Karel (1,9).
Karel move(), turnLeft(), pickBeeper()putBeeper().
4. .
3. ( )
-
8/3/2019 2- __19_1
221/444
221
Karel , ( ). Karel ( , Karel move() !). , , ( 5).
5. .
-
8/3/2019 2- __19_1
222/444
222
objectKarel
2 :
1: ( )
. :
; ; ;
() ;
;
2:
( )
1. ( 1).
2.
() ().3. ( 2)
, . .
1. .
-
8/3/2019 2- __19_1
223/444
223
2. .
4.
. ( 3) .
3. .
( 4):
, , , ( , )
. .
-
8/3/2019 2- __19_1
224/444
224
4. () .
5.
(1,9).
( ). .
-
8/3/2019 2- __19_1
225/444
225
objectKarel
3 :
, :
.
:task
{
Primitive_Robot Nik ( 2, 1, East, 0 );
Primitive_Robot Maria ( 3, 3, South, 0 );
Nik.move();Nik.pickBeeper();
Nik.move();Nik.putBeeper();
Maria.move();
Maria.pickBeeper();
Maria.pickBeeper();
Maria.turnLeft();
Maria.move();Maria.pickBeeper();
Maria.move();
Maria.pickBeeper();
Maria.turnLeft();
Maria.move();Maria.turnLeft();
Maria.turnLeft();
Maria.turnLeft();
Maria.move();
Maria.turnLeft();
Maria.turnLeft();Maria.turnLeft();
Maria.move();
Maria.putBeeper();
Maria.putBeeper();
Maria.putBeeper();
Maria.putBeeper();
Maria.turnLeft();Maria.turnLeft();
Maria.move();
}
:v) ,
.vi) .vii) .viii) .
-
8/3/2019 2- __19_1
226/444
226
objectKarel
4
1 .) H Primitive_Robot .
) Primitive_Robot .
) () () .
) .
2
) Primitive_Robot
.) () , .
) Primitive_Robot .
3
) .
) .) .
4
) Primitive_Robot
.
) Primitive_Robot .
) .
5
) .)
.
) .
6
) .
) .) .
-
8/3/2019 2- __19_1
227/444
227
Bergin, J., Stehlik, M., Roberts, J. & Pattis, R. Karel++ - A Gentle Introduction to the Art of
Object-Oriented Programming (John Wiley and Sons. New York, 2nd edition, 1997)
Xinogalos, S., Satratzemi, M. & Dagdilelis, V. An Introduction to object-oriented
programming with a didactic microworld: objectKarel, Computers & Education, Volume 47,
Issue 2, September 2006, 148-171, Elsevier Publishers.
Xinogalos, S., Satratzemi, M. & Dagdilelis, V. (2006), An Objects-First Approach to
Teaching Object Orientation based on objectKarel, Proceedings of the 5th
WSEAS
International Conference on Education and Educational Technology, 16-18 December 2006,
Tenerife, Spain,93-98.
Xinogalos, S., Satratzemi, M. (2005) Using Hands-on Activities for Motivating Students with
OOP Concepts Before They Are Asked to Implement Them, ACM SIGCSE Bulletin, Vol. 37,
Number 3, September 2005, 380.
Xinogalos, S., Satratzemi, M. (2005), The Hands-on Activities of the Programming
Microworld objectKarel,ACM SIGCSE Bulletin, Vol. 37, Number 3, September 2005, 384.
, . (2006),
objectKarel: , , EMATA : : , , , , 7:3, 305-327, .
, . (2003), objectKarel, 6
, , 10-13 2003, 317-326.
, . (2002), :
, , , , . 569.
-
8/3/2019 2- __19_1
228/444
228
18.
2:
() objectKarel
: () objectKarel
:
( )
objectKarel. ,
.
,
.
( ). , objectKarel
.
:
objectKarel.
()
.
,
.
objectKarel
, , , , , &
.
, , .
. .
-
8/3/2019 2- __19_1
229/444
229
. , . , , objectKarel .
objectKarel, .
, .
1
, , objectKarel.
1: .
.
2
: .
3: .
4: .
5: .
. , .
. , , . . , ,
( ). 6: . , .
7: .
,
.
-
8/3/2019 2- __19_1
230/444
230
. .
8: .
( Karel ) .
9: { ,
. . , - .
10: , . ( )
( ). .
.
11: move pickBeeper
. ,
. (,
), . , move , .
12: (
)
-
8/3/2019 2- __19_1
231/444
231
&
2
,
.
,
.
,
. ,
. ,
.
. ()
,
.
,
( ),
.
beepers
, .
.
.
,
,
. , . ,
-
8/3/2019 2- __19_1
232/444
232
,
. .
-
8/3/2019 2- __19_1
233/444
233
objectKarel
1 : , , &
Karel - , beeper, . Karel . 1, Karel
( & ) .
1. .
:1
2
3
4
5
67
8
9
10
11
1213
14
15
16
17
18
1920
21
22
23
24
25
26
27
28
2930
31
3233
task
{
Primitive_Robot Karel ( 3, 4, West, 0 );
Karel.turnLeft();
Karel.turnLeft();
Karel.turnLeft();Karel.move();
Karel.move();
Karel.turnLeft();
Karel.move();
Karel.move();
Karel.turnLeft();Karel.move();
Karel.move();
Karel.turnLeft();
Karel.move();
Karel.pickBeeper();
Karel.turnLeft();
Karel.move();Karel.turnLeft();
Karel.move();
Karel.turnLeft();
Karel.turnLeft();
Karel.turnLeft();
Karel.move();
Karel.turnLeft();
Karel.turnLeft();
Karel.turnLeft();
Karel.move();Karel.move();
Karel.turnLeft();
Karel.turnLeft();Karel.turnLeft();
-
8/3/2019 2- __19_1
234/444
234
34
35
36
3738
39
Karel.move();
Karel.move();
Karel.turnLeft();
Karel.turnLeft();Karel.turnLeft();
}
1:
( 1) .
( 2) :
, , ,
,
&
.
2. .
1. objectKarel.
-
8/3/2019 2- __19_1
235/444
235
2:
3. , 3.
4. .
5. , .
: projects
kpp, objectKarel.
3. .
3:
1. 1.
2. ,
( wld).:
,
- .
:
, .
beepers beepers .
:
.
beepers beepers .
4:
, ( 4). .
-
8/3/2019 2- __19_1
236/444
236
4. : 0 0 .
:
.
5:
1. F8 . , . , .
2.
F7.
6:
objectKarel . . :
1. .
( 5).2.
(5). .
: ,
.
-
8/3/2019 2- __19_1
237/444
237
5. , , .
7:
1. (
, 5).
2.
.
;
8:
;
( 6) 35 . ;
; 35 ; . ;
;
6. .
-
8/3/2019 2- __19_1
238/444
238
, . , Nikos, ; .
9 : {
.
.
( 7). , .
7. .
10: ,
; ; ( 8) .
8. .
11 : move pickBeeper,
; 8 11.
;
-
8/3/2019 2- __19_1
239/444
239
objectKarel
2 :
1. 1 . (/) Primitive_Robot ( ), , beeper. . Primitive_Robot super- , . .
.
.
1. .
2. super market, 2 . 2. (/) Primitive_Robot ( ), ( beepers)
.
2. .
-
8/3/2019 2- __19_1
240/444
240
3. 3 . (beepers) 3. (/) Primitive_Robot
( ) . 4 ( 3).
. .
3. .
4. 4 . 4. :
(3, 3) (beeper) . (3, 7)
2 (3, 7)
(6, 8) .
4 (3, 3) .
(/) Primitive_Robot ( ) .
4. .
-
8/3/2019 2- __19_1
241/444
241
5. 5 . beepers , 5. ( ).
.
5. .
6. 4 6 . 4
6 3 (beepers), . / Primitive_Robot,
, .
6. .
-
8/3/2019 2- __19_1
242/444
242
Xinogalos, S., Satratzemi, M. & Dagdilelis, V. An Introduction to object-oriented
programming with a didactic microworld: objectKarel, Computers & Education, Volume 47,
Issue 2, September 2006, 148-171, Elsevier Publishers.
Xinogalos, S., Satratzemi, M. & Dagdilelis, V. (2006), An Objects-First Approach toTeaching Object Orientation based on objectKarel, Proceedings of the 5
thWSEAS
International Conference on Education and Educational Technology, 16-18 December 2006,
Tenerife, Spain, 93-98.
Xinogalos, S., Satratzemi, M. (2005) Using Hands-on Activities for Motivating Students with
OOP Concepts Before They Are Asked to Implement Them, ACM SIGCSE Bulletin, Vol. 37,
Number 3, September 2005, 380.
Xinogalos, S., Satratzemi, M. (2005), The Hands-on Activities of the Programming
Microworld objectKarel,ACM SIGCSE Bulletin, Vol. 37, Number 3, September 2005, 384.
, . (2006),
objectKarel: , , EMATA : :
, , , , 7:3, 305-327, .
, . (2003), objectKarel, 6
, , 10-13 2003, 317-326.
, . (2002), : , ,
, , . 569.
-
8/3/2019 2- __19_1
243/444
243
19.
3:
() objectKarel
: -
( )
objectKarel. ,
.
,
.
,
. , .
:
. ,
, .
/ .
.
() ().
, .
.
-
8/3/2019 2- __19_1
244/444
244
. , ( ) , ( - ). . , . . , .
, .
, .
1
, objectKarel.
1
. . , .
1: -
. , , , , .
. , , - Primitive_Robot.
. , ( ) Primitive_Robot. , .
2: -
Klm_Walker ( ) , ,
-
8/3/2019 2- __19_1
245/444
245
. . . , . , , . , Karel Klm_Walker moveKlm() Karel move() moveKlm().
3: ( ) .
1
Primitive_Robot, 2
. . :
( ), ()
, . .
, .
-
8/3/2019 2- __19_1
246/444
246
2
2 . . , : , , . , objectKarel. 2
. .
&
3
,
.
,
,
.
,
.
. , ( ) 1,
, 4
. , ,
. ,
, turnRight()
,
,
() .
,
, 7,
, : ,
,
( ).
-
8/3/2019 2- __19_1
247/444
247
( 8
),
. , ,
.
-
8/3/2019 2- __19_1
248/444
248
objectKarel
1 :
1: (
)
1 2
2
10 ( 1 = 8 ), beeper 5 . -, . Primitive_Robot
. 120 move()!!
task{
Primitive_Robot Karel (1, 2, East, 0);
Karel.move(); // 80
Karel.pickBeeper();
Karel.turnLft();Karel.move(); // 80
}
. ; ;
2:
- ( )
&
class :
{
};
void ::
(){
}
class Klm_Walker : Primitive_Robot
{void moveKlm();
};void Klm_Walker :: moveKlm()
{move();
move();
move();
move();
move();
move();
move();
move();
}
120 , :task
{
-
8/3/2019 2- __19_1
249/444
249
Klm_Walker Karel (1, 2, East, 0);
Karel.moveKlm();
Karel.moveKlm();Karel.moveKlm();
Karel.moveKlm();
Karel.moveKlm();
Karel.moveKlm();Karel.moveKlm();
Karel.moveKlm();Karel.moveKlm();
Karel.moveKlm();
Karel.pickBeeper();
Karel.turnLeft();
Karel.moveKlm();
Karel.moveKlm();
Karel.moveKlm();
Karel.moveKlm();
Karel.moveKlm();
}
moveKlm(), , move() ; ( ) () Klm_Walker;
;
3:
( )
3. .
4. .
. ; 10 ;
, 100,
100 - sweepStair() ;
;
-
8/3/2019 2- __19_1
250/444
250
objectKarel
2 :
,
objectKarel:
class Stair_Sweeper : Primitive_Robot
{
void turnRight();void sweepStair();
};
void Stair_Sweeper :: turnRight ( )
{
// 90 turnLeft();
turnLeft();turnLeft();
}
void Stair_Sweeper :: sweepStair ( )
{
// "" beeper
turnLeft();
move();
turnRight();move();
pickBeeper();
}
task
{Stair_Sweeper Marta (1, 1, East, 0);
Marta.sweepStair();
Marta.sweepStair();
Marta.sweepStair();Marta.sweepStair();
}
,
:
1. (-) .
2. , class : .
, Primitive_Robot Robot( Primitive_Robot) .
3.
(void = , bool = ) .
-
8/3/2019 2- __19_1
251/444
251
4. . , , .
, 3 4. , .
.
:
:
1. (-) , 1
.
2. ( 1) : , .
class , . , ,
Primitive_Robot Robot .
void bool .
. ( ),
. . .
. .
, .
-
8/3/2019 2- __19_1
252/444
252
3. ( 2) : . , ,
. 2,
. ,
. . , .
4. - A,
. , .
, .
1. .
-
8/3/2019 2- __19_1
253/444
253
2. .
/ .
1 & 2 .
3 .
3. .
: , ,
.
:1.
.
2.
-
8/3/2019 2- __19_1
254/444
254
objectKarel
3 :
7. AugmentedRobot, :a. turnRight: 90 b. turnAround: 180
( AugmentedRobot), 1, turnRight turnAround ( ).
1. .
8. (/) . ( beepers) . ,
(/) ( )
2. , beeper . beepers .
2. .
9. ,
( ) .
-
8/3/2019 2- __19_1
255/444
255
3 . (beepers) 3.
(/) ( ) . 4
( 3).
. .
3. .
10. beepers 4. beeper. . 4.
. .
4. .
-
8/3/2019 2- __19_1
256/444
256
11. 12beepers 5.
5. .
12. bowling.
, 6. beepers
.
. .
6. .
13. class Builder : Primitive_Robot
{void buildWall();
void buildFence();
};
class Worker : Primitive_Robot
{void work();
};
class BuildingSupervisor: Builder
{bool buildingIsFinished();
void buildWall();
};
task
{Builder Karel (1, 2, East, 50);
Worker Maria (3, 1, East, 0);
BuildingSupervisor Nik (10,8,North,40);
}
-
8/3/2019 2- __19_1
257/444
257
:ix) ,x) xi) ,
.
14. . , - - .
: AugmentedRobot (
) Primitive_Robot, ()
turnRight 90 . Planter ( )
AugmentedRobot, ()
plant2 2 2 plant3 3 3 .
Gardener ( ) Planter, () plantFlowerBed
7. Farmer ( )
Planter, () plantFarm
7.
.
, (/) Gardener Farmer ( )
, .
.
7. .
-
8/3/2019 2- __19_1
258/444
Bergin, J., Stehlik, M., Roberts, J. & Pattis, R. Karel++ - A Gentle Introduction to the Art of
Object-Oriented Programming (John Wiley and Sons. New York, 2nd edition, 1997)
Xinogalos, S., Satratzemi, M. & Dagdilelis, V. An Introduction to object-oriented
programming with a didactic microworld: objectKarel, Computers & Education, Volume 47,Issue 2, September 2006, 148-171, Elsevier Publishers.
Xinogalos, S., Satratzemi, M. & Dagdilelis, V. (2006), An Objects-First Approach to
Teaching Object Orientation based on objectKarel, Proceedings of the 5th
WSEAS
International Conference on Education and Educational Technology, 16-18 December 2006,
Tenerife, Spain, 93-98.
Xinogalos, S., Satratzemi, M. (2005) Using Hands-on Activities for Motivating Students with
OOP Concepts Before They Are Asked to Implement Them, ACM SIGCSE Bulletin, Vol. 37,
Number 3, September 2005, 380.
Xinogalos, S., Satratzemi, M. (2005), The Hands-on Activities of the Programming
Microworld objectKarel,ACM SIGCSE Bulletin, Vol. 37, Number 3, September 2005, 384., . (2006), objectKarel: , , EMATA : : , , , , 7:3, 305-327, .
, . (2003), objectKarel, 6
, , 10-13 2003, 317-326.
, . (2002), : , ,
, , . 569.
-
8/3/2019 2- __19_1
259/444
259
20. ECLiP :
e-ECLiP
:4
,
.
.
, ECLiP e-
ECLiP ,
.
ECLiP
.
e-ECLiP,
, . ,
.
.
. ,
. ,
e-ECLiP
.
.
,
,
/ ,
-
8/3/2019 2- __19_1
260/444
260
.
ECLiP ,
(, & , 2008; , &, 2009): (i) , (ii)
+(iii) .
-,
.
.
e-ECLiP
. , e-ECLiP
/
.
,
.
(
),
. 1, e-ECLiP 7
.
.
(i)
1
.
/
.
-
8/3/2019 2- __19_1
261/444
261
1. e-
ECLiP: 1 1, 4 2 2 3
1
,
,
...".
;
1. music4u
music4u
:
-
8/3/2019 2- __19_1
262/444
262
.
(ii) +
. 4 ,
. :
1 ,
.
- (Haberman & Kolikant, 2001), (1
& 2
)
( ). (3 & 4 ),
3 .
2 ;,
temp.
(Lischner, 2001),
,
,
.
3 ,
.
,
.
4 ,
.
1
1. CD o bubble1.ppt
cd (5) , . :
-
8/3/2019 2- __19_1
263/444
263
1. 1
, "" ;
, ;2. '" .
3. , ;
2. bubble2.xls,
10 .
.
- ;
- 1
, ;
- ...
- 10 . ;
9
10
11
3. 3 ;
1
2 :
[1] 15
[2] 27
[3] 2
!!! .
1 a: [3]
-
8/3/2019 2- __19_1
264/444
264
2 b:
[3]
3 c: [2] [1]
4 d:
[2][2],
h:
[2]
4. .
bubblesort1.doc.
2
;
. ; 2 , :
cd[1] 200
cd[2] 120
1. ; j=2, :
cd[j-1] > cd[j]
temp
-
8/3/2019 2- __19_1
265/444
265
cd[j]
cd[j-1]