Scilab/C2/Conditional-Branching/Khasi
From Script | Spoken-Tutorial
Revision as of 20:28, 26 September 2017 by Meboreen Mary (Talk | contribs)
Time | Narration |
00:01 | Ngi pdiangsngewbha ia phi sha ka spoken tutorial halor ka Conditional Branching ha Scilab. |
00:04 | Ban pyrshang ia kane ka jinghikai, plie ia ka Scilab console window ha ka computer jong phi. |
00:09 | Ngin iakren shaphang artylli ki jait conditional constructs ha Scilab kita kilong ka if-then-else construct bad ka select-case conditional construct. |
00:19 | Kaif statement ka ailad ia ngi ban execute ia ka kynhun jong ki statements lada ka kyndon ba la ai ka iadei. |
00:24 | To ngan ai ia phi kawei ka nuksa. |
00:27 | n is equal to 42 if n is equal to equal to 42 (n==42) then disp " u number udei 42" end jong ka if construct. |
00:37 | Hangne, 'is equal to'(=) udei u assignment operator, uba assign 42 sha u variable n. |
00:43 | Bad 'is equal to is equal to' (==) udei u equality operator uba check na ka bynta ka jingiaryngkat hapdeng ka liang ka mon bad ka liang ka diang ki operands. |
00:51 | Ha kane ka bynta, 'n' bad 42 bad ka ai ia ka result ha Boolean. |
00:57 | Hangne u comma hadien u lain banyngkong udei optional. |
01:01 | Kumjuh ruh u then keyword udei optional. |
01:04 | Ia u lah ban iabujli da u comma lane u carriage return. |
01:08 | U end keyword u pynkut ia ka if construct. |
01:11 | Haba execute ia ka script, ngi iohi ia ka output kumne harum. |
01:20 | Haduh mynta ngi la iohi kumno ban execute ia ka set jong ki statements , lada ka condition kadei true. |
01:26 | Mynta ngin iapeit kumno ban execute ia kawei pat ka set jong ki statements lada ka condition kadei false lane ngi lah ban check lada katto katne kiwei pat ki kyndon ki iahap. |
01:36 | Ngi lah ban leh ia kane da kaba pyndonkam else lane elseif keyword. |
01:40 | Hangne kadei kumno ngi leh ia ka. |
01:41 | Ha kane ka nuksa, 54 la assigned sha u variable ‘n’ bad check na ka bynta ka kyndon “true” da kaba pyndonkam 'if' bad kyndonfalse da kaba pyndonkam 'else' kumba la batai. |
01:55 | Ngan cut ia kane , paste ha ka scilab console , bad nion “Enter”. |
02:03 | Phi iohi ia ka output. |
02:05 | Lada phi iohi, ki nuksa kiba la pyni hajrong kidon ha bun tylli ki lain. |
02:09 | Lah ruh ban thoh ia ka ha kawei ka lain ryngkat ki semicolons bad commas ba iadei. |
02:19 | Ngan cut ia kane bad paste ha ka Scilab ban execute . Nion Enter. |
02:27 | Ka select statement ka ailad ban kyllum lang ia bun ki tnat ha ka rukom ba shai bad basuk. |
02:31 | Katkum u value jong u variable, ka ailad ban leh ia ka statement kaba iadei bad ka “case” keyword. |
02:38 | Lah ban don bun tylli ki tnat katba donkam. |
02:41 | To ngin pyrshang ryngkat bad ka nuksa. |
02:44 | Ngin assign 100 sha u variable ‘n’ bad check ia ki cases 42, 54 bad ka default case ba la kdew da “else”. |
02:59 | Cut, paste, nion “Enter” |
03:06 | Hangne ngi iohi ia ka output. |
03:09 | Da kane ngi la poi sha kaba kut jong kane ka Spoken Tutorial halor ka Conditional Branching' da kaba pyndonkam ia ka Scilab |
03:14 | Ha kane ka jinghikai ngi la pule shaphang ka if - elseif - else statement bad ka select statement. |
03:20 | Dang don shibun kiwei pat ki functions ha Scilab kiba ngin sa iapeit ha kiwei pat ki Spoken Tutorials |
03:25 | Iai peit ia ki Scilab links. |
03:27 | Spoken Tutorials kidei shi bynta jong ka Talk to a Teacher project, ba la kyrshan da ka National Mission On Education lyngba ka ICT. |
03:35 | Kham bun ki jingtip halor kane ka mission kidon ha ka link ba la ai harum. |
03:38 | Nga i Meboreen na Shillong nga pynkut ia kane. Khublei shibun. |