Ovo je stara izmjena dokumenta!
Topic: How the data enter in computer?
5 and 8 period
Comment for the teacher: The assignments are done in two steps. The first step is that children read aloud the questions, and in second step they solve the assignment using their Memas.
The children have in front of them their Memas and a handful of beans or other grains of similar size.
Questions and assignments:
Empty all drawers. How many grains are in all drawers together? (correct answer is zero or none)
Instead by words we can give the instructions for working with Mema by drawing
Comment for the teacher:
Example: An instruction given by drawing
This instruction mens: Put as many grains you wont in the blue drawer.
Question: Say what does this instruction do?
Answer: This instruction require to put a number of grains we wont in the green drawer, In other words this instruction requires input of data in the green drawer.
Assignment: Draw the instruction which requires to put as many grains you want in the red drawer.
Answer:
Assignment: Draw the instruction which requires to put as many grains you want in the blue drawer, as many grains you want in the red drawer (same or different number), as many grains you want in the green drawer and as many grains you want in the yellow drawer.
Answer:
Emphasize: There we have a sequence of many instruction, and we can call it a PROGRAM.
Assignment: (Having reference to previous picture) Execute the program using 7,8,1 and 5 as inputs.
Solution: The input in the blue drawer is 7 grains,in the red drawer is 8 grains, in the green is one grain and in the yellow drawer is 5 grains.
Question: Way the contents of red should be 8?
Question: Could we say: Execute this program with 7, 8, 1 and 5 as inputs.
Answer: Yes, we could. And the solution would be the same as before.
Assignment: Execute the same program with 5, 6, 2 and 4 as inputs.
Problem: The drawers we use are not empty. We have to put 5 grains in the blue drawer, and we have already some grains in this drawer.
Konačno rješenje: Crveni pretinac treba najprije isprazniti, a nakon toga u njega unjeti traženi broj (u ovom slučaju 6 zrna).
Međupitanja: Kako treba postupiti? (Odgovore kao “Dodati onaj broj koji se već nalazi u pretincu još 6 zrna” ili “nadopuniti broj” ili slično treba otkloniti i pričekati da netko dade konačno rješenje. Ako nitko ne dođe na ideju konačnog rješenja, možete pokušati s potpitanjem: “Ako u čaši ima vode, a netko ti naredi da u nju umjesto toga staviš ulje kako bi postupio?”)
Napomena: Ovime se usvaja jedan od osnovnih pojmova vezanih uz programiranje: //novi sadržaj dolazi umjesto starog i time se stari sadržaj briše.//
Zadatak: Izvrši ove četiri naredbe:
Uputa:
Klikom na poveznicu IZLAZ možete pronaći upute za usvajanje novih informatičkih termina povezanih s izlaznom varijablom koju učenici usvajaju tijekom 7. i 8. školskog sata.