KTurtle/C3/Control-Execution/Khasi

From Script | Spoken-Tutorial
Jump to: navigation, search
Time Narration
00:01 Khublei Ia phi baroh.
00:03 Pdiang sngewbha ia phi sha ka jinghikai halor ka Control Execution ha ka KTurtle
00:10 Ha kane ka jinghikai, ngin pule shaphang ka
00:13 'while' loop bad
00:15 'for' loop
00:17 Ban record ia kane ka jinghikai Nga pyndonkam da ka: Ubuntu Linux OS Version 12.04

KTurtle version 0.8.1 beta.

00:32 Ngi tharai ba phi don khyndiat ki jingtip shaphang ka Kturtle.
00:38 Lada ym don, ia ki jinghikai baiadei, sngewbha ban leit sha ka website jong ngi. http://spoken-tutorial.org
00:45 To ngin plie ia ka KTurtle Application bathymmai.
00:48 Klik ha ka Dash home.
00:50 Ha ka Search bar, type KTurtle.
00:53 Klik ha ka option. Ka KTurtle Application ka plie.
00:59 Ngan batai nyngkong shaphang, kaei ka control execution.
01:05 Control execution kadei kaba control/pyniaid ia ka rukom iaid jong ka program.
01:10 Bunjait ki conditions la pyndonkam ban pyniaid/control ia ka program execution.
01:16 Loop kidei ki block jong ki code ba execute bunsien haduh da la ioh ia ka jubab ba dei.
01:25 Nuksa: “while” loop bad “for” loop
01:30 To ngin sdang ia kane ka jinghikai da ka “while” loop
01:34 Ha ka “while” loop, ki code ba hapoh ka loop ki iai mih bunsien haduh ba ki boolean ki pynmih sha ka 'false'.
01:42 To Ngan batai ia ka rukom ban thoh ia ka “while” loop.

while loop condition {

do something

with loop increment variable }

01:56 Nga la don lypa ia ki code ha ka text editor.
01:59 Ai ba ngan copy ia ka program na ka text editor bad paste ia ka ha ka KTurtle editor
02:07 Sngewbha ban pynsangeh shiphang /pause ia ka jinghikai hangne bad type ia ka program ha ka KTurtle editor jong phi.
02:13 Bteng biang ia kane ka jinghikai hadien ba la dep type ia ka program
02:18 To ngan zoom ia ka program text, ka lah ban long ka bym da shai bha.
02:25 To ngan batai ia ki code.
02:27 # sign u ai jingmut ia u lain ba thoh hadien jong u.
02:32 Ka mut, ba kane ka lain kan ym executed ha ka por ba run ia ka program.
02:38 reset command ka buh ia ka “Turtle” sha ka default jaka ne bynta kumba ka long .
02:43 $x=0 ka sdang ia ka value jong u x sha zero.
02:52 Ia ki jingthoh ha ka program la ai hapoh double quotes hadien jong ka keyword message " "

“message” command ka shim ia u “string” kum input.

03:04 Ka pyni ia ka pop-up dialog box ba don ia ki dak na u string.
03:11 while $x<30 ka checks ia ka “while” condition.
03:17 $x=$x+3 ka pynkiew ia ka value jong ka variable $x da 3
03:27 fontsize 15 ka buh ia ka jingheh jong ka font bapyndonkam da ka print command.
03:35 Fontsize ka shim ia ki number kum ki input, ba buh ha ki pixels.
03:42 forward 20 ka phah ia ka “Turtle” ban iaid 20(arphew) synjam shakhmat ha ka canvas.
03:52 print $x ka pyni ia ka value jong u variable x ha ka canvas.
04:01 To ngan klik ha ka “Run” button ban run ia ka program.
04:05 Ka message ne khubor dialog box ka mih. To ngan klik OK.
04:11 Ki sien (Multiples) jong u 3 naduh 3 haduh 30 la pyni ha ka canvas.
04:17 “Turtle” ka iaid 20 synjam (steps) shakhmat ha ka canvas.
04:22 Babud to ngin iatrei bad ka “for” loop .
04:26 “for” loop kadei ka counting loop .
04:29 Man ka por ba ka code hapoh ka “for” loop la executed,
04:34 ki jingkhein ne value jong ki variable la pynkiew, haduh ban kin da poi ha ka value bakhatduh.
04:41 To ngan batai ia ka rukom ban thoh jong ka “for” loop.
04:46 for variable = start number to end number { Statement}
04:55 To ngan pynkhuid ne weng ia ka program kaba mynta.
04:59 To ngan type clearcommand bad run ban pynkhuid ia ka canvas.
05:05 To ngan copy ia ka program na ka text editor bad paste ia ka hapoh ka KTurtle editor
05:14 Sngewbha ban pynsangeh shiphang ia kane ka jinghikai hangne bad type ia ka program hapoh KTurtle editor jong phi.
05:20 Sdang biang ia kane ka jinghikai hadien ba la dep type ia ka program.
05:25 To ngan zoom ne pynheh ia ki dak jong ka program ki lah ban long ki bym da shai bha.
05:32 To ngan batai ia ka program.
05:34 # sign u ai jingmut ia u line bathoh hadien jong u.
05:39 reset command ka buh ia ka “Turtle” sha ka default jaka.
05:44 $r=0 ka sdang ia ka value jong u variable r sha zero.
05:52 for $x= 1 to 15 ka checks ia ka “for” condition na 1 sha 15.
06:01 $r=$x*($x+1)/2 ka niew ia ka value jong u variable r.
06:12 fontsize 18 ka buh ia ka size jong ka font ba pyndonkam da ka print command.
06:19 print $r ka pyni ia ka value jong u variable r ha ka canvas
06:26 forward 15 ka phah ia ka Turtle ban iaid 15 synjam (steps) shakhmat ha ka canvas.
06:34 go 10,250 ka phah ia ka Turtle ban iaid 10 pixels na ka diang jong ka canvas bad 250 pixels na shalor jong ka canvas.
06:48 “Turtle” ka pyni ia baroh ki print commands khlem kano kano ka jingiapher ha ka por.
06:54 “Wait 2” command ka pynlong ia ka Turtle ban ap da 2 seconds shwa ban execute ia ka command babud.
07:04 “print” command ka pyni ia ka “string” hapoh double quotes bad ruh pyni ia ka variable $r.
07:13 To ngan nion ha ka “ Run” button ban run ia ka program.
07:17 Ka series jong ka jingkheinlang jong ki 15 tylli ki natural nombar ba nyngkong bad ka jingkheinlang jong ki 15 tylli ki natural nombar ba nyngkong la pyni ha ka canvas.
07:27 Turtle ka iaid 15 steps shakhmat ha ka canvas.
07:32 Da kane ngi la poi sha bakut jong kane ka jinghikai.
07:37 To ngin ia batai kyllum .
07:40 Ha kane ka jinghikai ngi la pule kumno ban pyndonkam,
07:44 “while”' loop bad “for” loop
07:47 Kum ka assignment Nga kwah ia phi ban thoh ia ka program ban ban wad ia ki jingkhein jong
07:54 ki sien jong 2, dakba pyndonkam da ka “while” loop
07:58 ka Multiplication table jong u number, da kaba pyndonkamg da ka “for” loop
08:03 Peit ia ka video badon ha ka URL:http://spoken-tutorial.org/What is a Spoken Tutorial
08:08 Ka batai kyllum ia ka Spoken Tutorial project
08:12 Lada phim don ia ka bandwidth babiang, phi lah ban download bad sa peit
08:17 Ka Spoken Tutorial Project Team :
08:20 ka pynlong ia ki workshop da kaba pyndonkam da ki spoken tutorials
08:23 Ai certificates ia kito ba pass ha ka online test
08:27 Ia ki jingtip ba khambun, sngewbha ban thoh sha: contact@spoken-tutorial.org
08:36 Spoken Tutorial Project ka dei ka bynta jong ka Talk to a Teacher project
08:41 La kyrshan ia ka da ka National Mission on Education lyngba ka ICT, MHRD, sorkar jong ka India
08:48 Ki jingtip ba khambun halor kane ka Mission ki don ha kane ka link http://spoken-tutorial.org/NMEICT-Intro ]
08:54 La dubbed ia kane jinghikai da u Thawlad miki na Meghalaya, signing off. Khublei shibun ba phi la iasnohlang..

Contributors and Content Editors

PoojaMoolya, Thaw