KTurtle/C3/Question-Glues/Khasi

From Script | Spoken-Tutorial
Revision as of 13:45, 15 March 2017 by Thaw (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Time Narration
00:01 Khublei bad Pdiang sngewbha ia phi sha ka jinghikai halor ka Question Glues ha ka KTurtle.
00:08 Ha kane ka jinghikai ngin ia pule ia kine ki question glues and, not
00:16 Ban rikod ia kane ka jinghikai, nga pyndonkam da ka Ubuntu Linux OS Version 12.04. KTurtle version 0.8.1 beta.
00:29 Ngi tharai ba phi la don khyndiat ki jingtip shaphang ka KTurtle bad ka “if-else” statement ha ka KTurtle
00:39 Lada em,ia ki jinghikai ba iadei bad kane sngewbha ban leit sha ka website jong ngi. http://spoken-tutorial.org
00:46 Shwa ban ngin sdang, to ai ngan batai ia ki kyntien(words) question glue.
00:51 Ki kyntien Question glue ki pynlah ia ngi ban glue (ne pyniasoh) ia ki jingkylli kiba barit sha tang kawei ka jingkylli baheh
01:00 “and”, “or” bad “not” ki dei katto katne ki glue-words . Ia ki Glue-words (ne kyntien pyniasoh) la pyndonkam ryngkat bad ka if-else conditions.
01:11 To ngin plie ia ka KTurtle Application bathymmai.
01:15 Klik ha Dash home.
01:18 Ha ka Search bar, type KTurtle.
01:22 bad klik ha ka option.
01:24 To ngin sdang ia ka jinghikai da ka glue word and.
01:28 Nga la don lypa ia ka program haka text editor.
01:33 To ngan copy ia ka code na text editor bad paste ia ka ha ka KTurtle editor.
01:40 Sngewbha ban pynsangeh shiphang ia ka jinghikai hangne bad type ia ka program ha ka KTurtle editor jong phi.
01:46 Bteng biang ia ka jinghikai hadien ba la dep thoh ia ka program.
01:50 Ngan zoom ne pynheh ia ki dak jong ka program .
01:52 Ka lah ban long ka bym da shai bha.
01:56 To ngin peit ia ki code.
01:59 reset command ka buh ia ka Turtle sha ka jaka defaultne kumba ka long.
02:04 Message ha ka program la ai hapoh ki double quotes hadien jong kyntien message " " .
02:10 “message” command ka shim ia u “string” kum ka input.
02:14 Ka pyni ia ka pop-up dialog box ba don ia ki dak na u string bad pymih ia ka jingpah n aka bynta ki null string .
02:24 $a, $b bad $c ki dei variables kiba buh ia ki input jong ki user.
02:30 “ask” command ka ka pan ia ki input jong ki user ban buh ha ki variables.
02:36 if(($a+$b>$c) and ($b+$c>$a) and ($c+$a>$b), ka check ne peit ia ka “if” condition.


02:49 Haba ki artylli ki jingkylli ki glue (ne pyniasoh) bad ka “and” ki dei true, ka result kadei true.
02:55 'if(($a !=$b) and ($b != $c) and ($c != $a)) ka check ia ka if condition.
03:05 Lada ka 'if' condition halor ka dei true, ka control ka iaid sha ka nested if block.
03:12 Ka check la ki side jong ka triangle ki dei bymdei kijuh.
03:17 fontsize 18 ka buh ia ka size jong ka font bapyndonkam da ka print command.
03:22 go 10,100ka hukum ia Turtle ban leit 10 pixels na ka diang jong ka canvas bad 100 pixels na khlieh jong canvas.
03:35 print command ka pyni ia ka string hadien ba la peit ne check ia ka if condition.
03:41 else command checks else condition, ha ba ka if condition ha ka block ka dei false.
03:48 print command ka pyni ia ka string hadien ba la peit ne check ia ka else condition.
03:54 else command ka peit ne checks ia ka condition bakhatduh.
03:57 Hangne ia ka else la check tang haba ki conditions kiba bahalor ki dei false(bymdei).
04:03 print command ka pyni ia ka string hadien ba la dep check ia ka else condition. Ngan run ia ki code mynta ban check ia baroh ki conditions.
04:12 To ngin klik ha ka Run button ban run ia ka program.
04:15 Ka message dialog box ka mih. To ngan klik OK.
04:20 To ngin pynrung 5 na ka bynta ka 'length of AB' bad klik OK
04:25 8 na ka bynta ka 'length of BC' bad klik OK
04:29 9 na ka bynta ka 'length of AC' bad klik OK
04:33 “A scalene triangle” la pyni ha ka canvas.
04:37 To ngin run sa shisien.
04:40 ka message dialog box ka mih . To ngan klik OK.
04:44 To ngin pynrung 5 na ka bynta ka jingjrong jong u 'AB' bad klik OK, 6 na ka bynta ka jingjrong jong u 'BC' bad klik OK, 6 na ka bynta ka jingjrong jong u 'AC' bad klik OK.
04:58 “ Not a scalene triangle” la pyni ha ka canvas.
05:02 Ngin run sa shisien ban check ia ka default condition.
05:06 ka message dialog box ka mih. To ngan klik ok.
05:11 To ngin pynrung 1 na ka bynta ka jingjrong jong ka 'AB' bad klik OK.
05:16 1 na ka bynta ka jingjrong jong u 'BC' bad klik OK.
05:20 2 na ka bynta ka jingjrong jong u 'AC' bad klik OK.
05:24 " Does not satisfy triangle's inequality " la pyni ha ka canvas.
05:30 To ngin pynkhuid ia kane ka program mynta. To ngan type clear command bad run clear command ka pynkhuid ia ka canvas .
05:40 Ka babud to ngin trei bad 'not condition.
05:43 To ngan copy ia ka program na ka text editor bad paste ia ka hapoh ka KTurtle editor.
05:51 Sngewbha ban pynsangeh shiphang ia ka jinghikai hangne bad type ia ka program hapoh KTurtle editor jong phi.
05:56 Sdang biang ia ka jinghikai hadien ba la dep type ia ka program.
06:01 To ngan zoom hapoh ka program text bad batai ia ka program.
06:05 reset command ka buh ia ka Turtle sha jaka default.
06:09 $a, $b bad $c ki dei ki variables kiba buh ia ki input jong ki user.
06:15 if not (($a==$b) and ($b==$c) and ($c==$a))ka checks ia ka condition if not .
06:27 not ka dei ka question glue-word kaba kyrpang. Ka pynlong khongpong ia ka rukom long ka logical jong ki operand jong ka.
06:36 e.g. Lada ka condition ba la ai ka dei true, not ka pynlong ia ka false.
06:42 Bad haba ka condition ka dei false ka output pat kan dei true.
06:48 print command ka pyni ia ka string hadien ba la dep check ia ka if not condition.
06:55 else command la execute lada ka if condition ka dei false.
07:01 print command ka pyni ia ka string hadien ba la dep check ia ka else condition.
07:07 go 100,100 ka hokum ia ka Turtle ba leit 100 pixels na ka diang jong ka canvas bad 100 pixels na kliar jong ka canvas
07:20 repeat 3{turnright 120 forward 100} ka hokum ia ka turtle ban dro ia ka equilateral triangle ha ka canvas
07:32 To ngan run ia ka program ban check ia baroh ki conditions.
07:36 Nion ia u key F5 ban run ia ka code.
07:40 Pynrung 6 na ka bynta ka jingjrong jong ka AB bad klik OK
07:45 Pynrung 5 na ka bynta ka jingjrong jong ka BC bad klik OK
07:48 Pynrung 7 na ka bynta ka jingjrong jong ka AC bad klik OK
07:54 “Triangle is not equilateral” la pyni ha ka canvas.
07:58 To ngin run biang. To ngin pynrung 5 na ka bynta ka jingjrong jong u AB bad klik ok.
08:05 5 na ka bynta ka jingjrong jong u BC bad klik ok.
08:09 5 na ka bynta ka jingjrong jong u AC bad klik OK
08:13 “Triangle is equilateral” la pyni haka canvas. Ia ka equilateral triangle la dro ha ka canvas.
08:21 Da kane ngi la poi sha bakut jong kane ka jinghikai.
08:25 Ban batai lyngkot
08:28 Ha kane ka jinghikai ngi la pule, ia ki question glues and not
08:35 Kum ka assignment, Nga kwah ia phi ban thoh ia ka program ban wad
08:40 ka jingmut jong ka Angle na ka bynta ka right angled triangle da ka ba pyndonkam da ka question glue “or”
08:48 Structure jong ka if or condition ka dei:
08:51 ”if” hapoh ki brackets condition or hapoh ki brackets condition or hapoh ki brackets condition.
08:59 Hapoh ki curly brackets do something.
09:02 else hapoh ki curly brackets do something.
09:06 Peit ia ka video kaba don ha kane ka URLhttp://spoken-tutorial.org/What is a Spoken Tutorial
09:10 Ka batai lyngkot ia ka Spoken Tutorial project
09:13 Lada phim don ia ka internet ba sted, phi lah ban download bad peit
09:18 Ka Spoken Tutorial Project Team :
09:20 Ka pynlong ia ki workshops da kaba pyndonkam da ki spoken tutorials


09:23 Ai certificates ia kiba pass ia ha ka online test
09:27 Na ka bynta ki jingtip bakham bniah, sngewbha ban thoh sha ka

contact@spoken-tutorial.org

09:34 Spoken Tutorial Project ka dei bynta jong ka Talk to a Teacher project.
09:38 La kyrshan ia ka da ka National Mission on Education Lyngba ka ICT, MHRD, ka Sorkar India
09:44 Ki jingtip ba khambun halor kane ka Mission ki don ha kane ka link

http://spoken-tutorial.org/NMEICT-Intro ]

09:49 La pynkylla ia kane ka script da I Welbert Marwet bad nga dei u Thawlad miki , signing off.

Khublei naka bynta ba phi iashim bynta.

Contributors and Content Editors

PoojaMoolya, Thaw