1 / 35

לוגו – שיעור 1

לוגו – שיעור 1. שיעור 2 קורס הכרת ותכנות המחשב בית ספר ניל"י – זכרון יעקב. המחשב עושה מה שאומרים לו. מצב התחלתי. - קדימה forward ( fd ) 100. Right ( rt ) 90 - ימינה. Back ( bk ) 100 - חזור. Left ( lt ) 90 - שמאלה. Clearscreen ( cs ) – נקה מסך. אפשר לכתוב את הפקודות בשורה אחת.

Download Presentation

לוגו – שיעור 1

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. לוגו – שיעור 1 שיעור 2 קורס הכרת ותכנות המחשב בית ספר ניל"י – זכרון יעקב

  2. המחשב עושה מה שאומרים לו

  3. מצב התחלתי

  4. - קדימהforward (fd) 100

  5. Right (rt) 90 - ימינה

  6. Back (bk) 100 - חזור

  7. Left (lt) 90 - שמאלה

  8. Clearscreen (cs) – נקה מסך

  9. אפשר לכתוב את הפקודות בשורה אחת

  10. fd 100 rt 120 fd 100 rt 120 fd 100

  11. מצב התחלתי

  12. Penup (pu) – הצב מרים את העט מהדף ומפסיק לצייר

  13. Pendown (pd) – הצב מוריד את העט לדף וחוזר לצייר

  14. Hideturtle (ht) – הצב מתחבאShowturtle (st) – הצב יוצא ממחבואו

  15. Setpencolor - קובע את הצבע שהצב מצייר בו

  16. Setpensize – קבע את עובי העט של הצב

  17. Setcolor “green fd 100 rt 90 fd 100 rt 90 fd 100 rt 90 fd 100 ht

  18. Arc 360 100 –צייר קשת

  19. Arc 180 50

  20. Fill - ממלא את האזור בצבע

  21. Label “Shalom123 – כתוב מילה

  22. Setlabelheight 30 – קובע את גודל האותיות

  23. Random – בוחר מספר אקראי

  24. Repeat – חזור על פעולה

  25. Repeat 4 [fd 100 rt 90]

  26. setlabelheight 30 repeat 4 [label "Nirrt 90]

  27. repeat 4 [repeat 4 [fd 100 rt 90] rt 90]

  28. repeat 180 [repeat 4 [fd 100 rt 90] rt 2]

  29. For [i 1 4] [fd 90 rt 90]

  30. for [i 10 100 10] [fd :irt 90] ht

  31. for [i 1 10] [label :ifd 30]

  32. החלון • כשצב מגיע לסוף החלון הוא ממשיך לצד השני • אפשר למנוע זאת על ידי הפקודה fence (הפקודה ששוב מאפשרת לו היא wrap). • גודל החלון הוא 250 לאורך, 485 לרוחב. • נקודת האמצע נקראת 0,0

  33. לא מבין אתכם!

  34. טיפים • לנסות • לתכנן • לא להתעצבן

  35. יאללה למחשבים!

More Related