Sprite gets on the bus
Sprite gets on the bus Scenariusz
Lesson plan
Duszek wsiada do autobusu You will learn
to apply iterative instructions, to apply conditional instructions, to create new variables.
Nagranie dostępne na portalu epodreczniki.pl
Source: GroMar, licencja: CC BY 3.0.
nagranie abstraktu
Imagine a situation in which a bus comes to the bus stop and passengers get on it. Create a simple story about the sprite that gets on the bus. Consider what actions the sprite should perform. Select the appropriate backdrop and modify it according to your idea.
Nagranie dostępne na portalu epodreczniki.pl
Source: GroMar, licencja: CC BY 3.0.
nagranie abstraktu
To make sure that your work on writing a script runs smoothly, think the consecutive steps over. Before you start writing a script, think about what the sprite at the bus stop should do, and what should be included in the script belonging to the bus‑sprite. It's always worth writing your ideas on a piece of paper or in a text file.
Task 1
Nagranie dostępne na portalu epodreczniki.pl
Source: GroMar, licencja: CC BY 3.0.
nagranie abstraktu
Use the selected backdrop. Place the bus at the starting position. After driving the entire route, the bus will disappear from the view.
Sprite gets on the bus
Source: licencja: CC 0.Task 2
Nagranie dostępne na portalu epodreczniki.pl
Source: GroMar, licencja: CC BY 3.0.
nagranie abstraktu
Place the sprite at the bus stop. When the bus comes to the bus stop, it has to stop. The sprite does not get on the bus yet.
Source: GroMar, licencja: CC BY 3.0.
Condi onal instruc on Source: GroMar, licencja: CC BY 3.0.
Task 3
Nagranie dostępne na portalu epodreczniki.pl
Source: GroMar, licencja: CC BY 3.0.
nagranie abstraktu
The sprite gets on the bus. The bus leaves.
Nagranie dostępne na portalu epodreczniki.pl
Source: GroMar, licencja: CC BY 3.0.
nagranie abstraktu
While watching a slideshow, you can learn one of the possible solutions.
Source: GroMar, licencja: CC BY 3.0.
Task 4
Nagranie dostępne na portalu epodreczniki.pl
Source: GroMar, licencja: CC BY 3.0.
nagranie abstraktu
Your sprite can already get on the bus. But not every bus is suitable for him. Create a script in which several buses come, but the sprite will only get on the one that has the right number.
Nagranie dostępne na portalu epodreczniki.pl
Source: GroMar, licencja: CC BY 3.0.
nagranie abstraktu
Use of conditional instructions helps to solve a lot of problems.
Exercises
Exercise 1
Determine which sentences are true.
The sprite recognizes other sprite by means of the sensor touching ...
Spirits can send each other messages.
Blocks starting with a word “if” are conditional statements.
Comments added to the script interfere with its operation.
zadanie Source: Gromar.
Exercise 2
Modify your script so that other vehicles also take part in traffic.
Exercise 3
Describe in English how the spirits can send information to each other.
Exercise 4
Indicate which pairs of expressions or words are translated correctly.
instrukcja warunkowa - conditional instruction warunek - condition
przystanek autobusowy - bus stop czujnik - sensor
działanie - story zadanie
Source: GroMar, licencja: CC BY 3.0.
Match Polish terms with their English equivalents.
sensor story historia
bus stop
przystanek autobusowy condition
conditional instruction czujnik
warunek
instrukcja warunkowa
Source: Zespół autorski Politechniki Łódzkiej, licencja: CC BY 3.0.
Glossary
ac ons działanie
Nagranie dostępne na portalu epodreczniki.pl
Source: GroMar, licencja: CC BY 3.0.
wymowa w języku angielskim: actions
bus stop
przystanek autobusowy
Nagranie dostępne na portalu epodreczniki.pl
Source: GroMar, licencja: CC BY 3.0.
wymowa w języku angielskim: bus stop
condi on warunek
Nagranie dostępne na portalu epodreczniki.pl
Source: GroMar, licencja: CC BY 3.0.
wymowa w języku angielskim: condition
condi onal instruc on instrukcja warunkowa
Nagranie dostępne na portalu epodreczniki.pl
Source: GroMar, licencja: CC BY 3.0.
wymowa w języku angielskim: conditional instruction
sensor czujnik
Nagranie dostępne na portalu epodreczniki.pl
Source: GroMar, licencja: CC BY 3.0.
wymowa w języku angielskim: sensor
story
opowiadanie
Nagranie dostępne na portalu epodreczniki.pl
Source: GroMar, licencja: CC BY 3.0.
wymowa w języku angielskim: story
Keywords
bus stop condition
conditional instruction sensor
story
Scenariusz
Temat
Duszek wsiada do autobusu Etap edukacyjny
Drugi
Podstawa programowa Klasy IV‑VI
I. Rozumienie, analizowanie i rozwiązywanie problemów. Uczeń:
2) formułuje i zapisuje w postaci algorytmów polecenia składające się na:
c) sterowanie robotem lub obiektem na ekranie;
3) w algorytmicznym rozwiązywaniu problemu wyróżnia podstawowe kroki: określenie problemu i celu do osiągnięcia, analiza sytuacji problemowej, opracowanie rozwiązania, sprawdzenie rozwiązania problemu dla przykładowych danych, zapisanie rozwiązania w postaci schematu lub programu.
II. Programowanie i rozwiązywanie problemów z wykorzystaniem komputera i innych urządzeń cyfrowych. Uczeń:
1) projektuje, tworzy i zapisuje w wizualnym języku programowania:
a) pomysły historyjek i rozwiązania problemów, w tym proste algorytmy z wykorzystaniem poleceń sekwencyjnych, warunkowych i iteracyjnych oraz zdarzeń,
b) prosty program sterujący robotem lub innym obiektem na ekranie komputera;
Czas 45 minut Cel ogólny
Tworzy prostą animację.
Cele szczegółowe
1. Stosuje polecenia iteracyjne.
2. Stosuje polecenia warunkowe.
3. Tworzy nowe zmienne.
Efekty uczenia Uczeń:
- projektuje i tworzy prostą animację,
- stosuje polecenia iteracyjne, warunkowe oraz tworzy nowe zmienne.
Metody kształcenia 1. Dyskusja.
2. Praca z komputerem.
Formy pracy
1. Praca indywidualna.
2. Praca grupowa.
Etapy lekcji
Wprowadzenie do lekcji
Wyobraź sobie sytuację, w której na przystanek podjeżdża autobus, a pasażerowie do niego wsiadają.
Stwórz prostą historyjkę o duszku, który wsiada do autobusu.
Zastanów się, jakie czynności powinien wykonać duszek.
Wybierz odpowiednie tło i zmodyfikuj je według swojego pomysłu.
Realizacja lekcji
Aby praca przy pisaniu skryptu przebiegała sprawnie, przemyśl dobrze kolejne kroki. Nim zaczniesz pisać skrypt zastanów się, co powinien robić duszek czekający na przystanku, a co należy umieścić w skrypcie należącym do duszka‑autobusu. Warto zawsze zapisać swoje pomysły na kartce papieru lub w pliku tekstowym.
Polecenie 1
Wprowadź wybrane tło. Ustaw autobus na pozycji startowej. Po przejechaniu całej trasy autobus ma zniknąć z pola widzenia.
Polecenie 2
Umieść duszka na przystanku. Gdy autobus podjedzie na przystanek, ma się zatrzymać. Duszek jeszcze nie wsiada do autobusu.
Przykładowe tło:
[Ilustracja 1]
Wskazówka:
Autobus może się poruszać, jeśli nie dotknie kotka. Możesz skorzystać z bloczka powtarzaj aż ... oraz czujnika dotyka ... .
[Ilustracja 2]
Polecenie3
Duszek ma do niego wsiąść. Autobus odjeżdża.
Wskazówka:
Problem wsiadania duszka do autobusu możesz rozwiązać na różne sposoby. Np. zatrzymujący się autobus nadaje wiadomość, że można już do niego wsiadać. Duszek odbiera wiadomość i podchodzi do autobusu.
Oglądając pokaz slajdów możesz zapoznać się z jednym z możliwych rozwiązań.
[Slideshow]
Polecenie 4
Twój duszek potrafi już wsiąść do autobusu. Ale nie każdy autobus jest dla niego odpowiedni. Stwórz skrypt, w którym będzie podjeżdżało kilka autobusów, ale kotek będzie wsiadał tylko do tego, który ma odpowiedni numer.
Wskazówka:
Skorzystaj z instrukcji warunkowej.
Podsumowanie lekcji
Korzystanie z instrukcji warunkowych ułatwia rozwiązywanie wielu problemów.
Lesson plan
Topic
Sprite gets on the bus Level
Second
Core curriculum Grades IV‑VI
I. Understanding, analyzing and solving problems. The student:
2) formulates and writes in the form of algorithms commands consisting of:
c) controlling the robot or object on the screen;
3) distinguishes basic steps in algorithmic problem solving: determination of the problem and goal to be achieved, analysis of the problem situation, developing a solution, checking the problem solution for example data, writing the solution in the form of a diagram or program.
II. Programming and solving problems with the use of computer and other digital devices. The student:
1) designs, creates and writes in a visual programming language:
a) ideas of stories and solutions to problems, including simple algorithms using sequential, conditional and iterative commands and events,
b) a simple program that controls a robot or other object on the computer screen;
Timing 45 minutes General objective
Creates a simple animation.
Specific objectives
1. Applies iterative instructions.
2. Applies conditional instructions.
3. Creates new variables.
Learning outcomes The student:
- designs and creates a simple animation,
- applies iterative and conditional instructions and creates new variables.
Methods 1. Discussion.
2. Work with computer.
Forms of work 1. Indiviudal work.
2. Group work.
Lesson stages Introduction
Imagine a situation in which a bus comes to the bus stop and passengers get on it. Create a simple story about the sprite that gets on the bus.
Consider what actions the sprite should perform.
Select the appropriate backdrop and modify it according to your idea.
Procedure
To make sure that your work on writing a script runs smoothly, think the consecutive steps over. Before you start writing a script, think about what the sprite at the bus stop should do, and what should be included in the script belonging to the bus‑sprite. It's always worth writing your ideas on a piece of paper or in a text file.
Task 1
Use the selected backdrop. Place the bus at the starting position. After driving the entire route, the bus will disappear from the view.
Task 2
Place the sprite at the bus stop. When the bus comes to the bus stop, it has to stop. The sprite does not get on the bus yet.
Sample background:
[Illustration 1]
Tip:
The bus can move if it does not touch the cat‑sprite. You can use the block repeat until ... and the sensor touching ... .
[Illustration 2]
Task 3
The sprite gets on the bus. The bus leaves.
Tip:
You can solve the problem of getting the sprite on the bus in various ways. For example, the approaching bus broadcasts a message that you can get on it. The sprite receives the message and gets on the bus.
While watching a slideshow, you can learn one of the possible solutions.
[Slideshow]
Task 4
Your sprite can already get on the bus. But not every bus is suitable for him. Create a script in which several buses come, but the sprite will only get on the one that has the right number.
Tip:
Use the conditional instruction.
Lesson summary
Use of conditional instructions helps to solve a lot of problems.
Selected words and expressions used in the lesson plan actions
bus stop condition
conditional instruction sensor
story