Java/C2/do-while/Khasi
From Script | Spoken-Tutorial
Time | Narration |
00:01 | Pdiang sngewbha sha ka spoken tutorial halor “do while loop” in Java |
00:06 | Ha kane ka tutorial, phin pule shaphang “do-while loop” bad “kumno ban pyndonkam ia ka” |
00:12 | Na bynta kane ka tutorial, ngi pyndonkam Ubuntu 11.10 “JDK 1.6” Bad “Eclipse 3.7” |
00:20 | Ban bud ia kane ka tutorial, phi dei ban don jingtip shaphang “while loop” ha ka java |
00:25 | Lada em, na ka bynta ki tutorial bad ia dei, sngebha leit sha kine ki website jong ngi kumba la pyni |
00:32 | Kane ka dei ka shynrong jong ka “do – while loop” |
00:37 | Peit thuh ba ka long kum ka “while loop” |
00:40 | Ka don ar bynta. |
00:42 | Kaba nyngkong ka dei ka “Loop running condition” bad ka ba ar ka dei ka “loop variable” |
00:51 | Ka don tang kawei ka jingiapher, ba ia ka condition la thoh hadien ka “do” block |
00:58 | Bad kumta , ia ka condition la check hadien ka jingpyntrei ia ka statement hapoh ka “do” block |
01:05 | Mynta, to ngin peit ia kane ka nuksa |
01:07 | Phai sha ka “eclipse” |
01:11 | Kane ka dei ka “Eclipse IDE” bad ka shynrong ba donkam ia ki code ba hadien |
01:17 | Ngi la dep shna ia ka “class” “DoWhileDemo” bad buh iaka “main method” ha ka. |
01:22 | Ngin print ia ki number naduh 1 haduh 10 da kaba pyndonkam ia ka “do-while” loop |
01:27 | Type: |
01:29 | “int n” equal to “1” |
01:32 | U “n” un long u “loop variable” |
01:36 | Nangta type: “do” |
01:40 | Plie bad khang ia ki bracket |
01:44 | Hapoh ki bracket “System.out. print ln (n);” |
01:55 | Ngin print ia ka value jong u ‘n’ bad nangta ngin pynkiew ia u ‘n’ kata ‘n’ equal to ‘n’ plus ‘1’ |
02:05 | Bad ngi leh ia kane katba |
02:08 | U ‘n’ u long duna lane iaryngkat bad u ‘10’ |
02:10 | Te, shabar ki bracket, type: “while” ha poh ki bracket ‘n’ less than or equal to ‘10’ |
02:20 | Bad khang ia ka “do-while” pyndonkam da u semicolon |
02:25 | To ngin peit ia ka jingtreikam jong u code |
02:28 | “Save” bad “Run” |
02:37 | Ngi iohi ba la print ia ki number naduh 1 haduh 10. |
02:42 | Mynta, to ngin sngewthuh ia ka jingtreikam u code |
02:47 | Nyngkong, ka print ia ka value jong u 1 bad nangta u ‘n’ u kylla long 2 |
02:52 | Bad nangta, ka check ia ka condition |
02:55 | Namar ba ka long true, ka print biang ia u 2 bad u ‘n’ u kylla long 3 |
03:00 | Bad kumta ter ter kan print ia baroh ki shiphew tylli ki number bad ka value jong u ‘n’ ka kylla long 11 |
03:06 | Haba u ‘n’ u long 11, ka condition kam iadei shu bad ka loop ka sangeh noh |
03:11 | Mynta, to ngin print ia ki number naduh 50 haduh 40 ha ka decreasing order |
03:17 | Te, ngi sdang da u 50 |
03:19 | Te, pynkylla n=1 sha n=50 |
03:23 | Namar ngi loop na u number uba heh sha u number uba rit, ngi pynhiar ia u “loop variable” |
03:29 | Te, pynkylla “n=n+1” sha “n=n-1” |
03:34 | Ngi “loop” katba u “n” u long kham khraw lane iaryngkat ia u 40 |
03:40 | Te, pynkylla ia ka condition “n>=40” |
03:48 | To ngin peit ka jingmih |
03:50 | “Save” bad “Run” |
03:57 | Kumba ngi iohi, la print ia ki number haduh 50 haduh 40 |
04:02 | Mynta to ngin pyrshang da kawei pat ka logic da kaba pyndonkam da ka “do-while” loop |
04:10 | Ia u number bala ai, ngin wad lada u number u dei perfect square ne em |
04:15 | Mynta pynkhuid ia ka “main method” |
04:19 | Nangta, type “int n=25” |
04:25 | Ngin peit ia ka value jong u ‘n’ ka dei perfect square ne em. |
04:32 | Nangta type “int x=0” |
04:37 | Ngin pyndonkam da u ‘x’ ban buh ia u square root jong u number, lada u number u dei u perfect square |
04:44 | Nangta type “do” |
04:46 | Plie bad khang ia ki bracket |
04:49 | Hapoh ki bracket, “x” equal to “x” plus “1;” |
04:55 | Bad shabar ki bracket |
04:58 | “while” ha poh ki parentheses “x into x is less than n” |
05:06 | Bad khang ia ka “do-while” pyndonkam u semi-colon |
05:10 | Katba u “x” sien “x” u long kham duna ban ia u “n”, ngi iai pynkiew ia ka value jong u ‘x’ |
05:16 | Te, haba u loop u sangeh ka kylla dien jong ka condition kan long true |
05:22 | Kaba mut, kawei na kine “x into x” u dei ban long iaryngkat bad u ‘n’ |
05:26 | Lane u dei ban long kham khraw ia u ‘n’ |
05:28 | Lada “x” sien “x” ka long iaryngkat bad u “n”, u number u dei u perfect square. |
05:32 | Lada kam long iaryngkat ia u “n”, u number um dei u perfect square |
05:37 | Te ha kaba khatduh ngi print ia ka condition. |
05:47 | “system.out.println(x*x==n);” |
05:55 | To ngin peit ia ka jingtreikam u code |
05:59 | “Save” bad “Run”. Kumba ngi iohi ka jingmih ka long “True” |
06:07 | To ngin pyrshang bad u wei pat u perfect square. |
06:10 | Pynkylla n=25 sha n=49 |
06:15 | “Save” bad “Run” |
06:20 | Ngi iohi biang ba ngi ioh ia ka “True” |
06:23 | To ngin pyrshang da u number ubym dei u perfect square. |
06:26 | Pynkylla 49 sha 23. “Save” bad “Run” bad |
06:34 | Ngi ioh ka “false” kumba la khmih lynti. |
06:37 | Mynta, to ngin peit kaei kaban jia laba ka value jong u ‘n’ u long 0 |
06:42 | Pynkylla n=23 sha n=0. Namar u 0 um dei u natural number, ngi dei ban ioh ia ka “false” |
06:52 | To ngi “run” ia u code |
06:54 | “Save” bad “Run” |
07:00 | Ngi iohi ba ngi ioh ia ka “false” kumba la khmih lynti. |
07:05 | Kane ka jia namar ha shuwa ka condition |
07:08 | Ka check “x” into “x” is less than “n”, ia ka value jong u “x” la pynkiew bad ka kylla 1 |
07:16 | Ka “loop condition” ka fail bad ka loop kam trei kam |
07:20 | Ha kane ka rukom haba pyndonkam “do-while” loop, ngi pyntikna ba u “0” un ym khein kum u perfect square |
07:26 | Ha kane ka rukom la pyndonkam ia ka “do-while loop” ban pynbeit ia ki jingeh. |
07:31 | Khamtam , haba u “loop” u dei ban “run” tang shisien |
07:37 | Da kane ngi la poi sha kaba kut jong kane ka tutorial. |
07:40 | Ha kane ka tutorial, ngi la pule shaphang |
07:42 | Ka “do-while” loop bad kumno ban pyndonkam ia ka |
07:46 | Kum ka assignment na kane ka tutorial, leh ia kine harum |
07:50 | Ia u “binary” number ba la ai, pynkylla sha u decimal. Nuksa “ “11010=>26” |
07:56 | Ban tip khambniah shaphang ka spoken tutorial project, peit ia ka ne ka video ha ka ne ka link |
08:01 | Ka batai lyngkot shaphang ka spoken tutorial project. Lada phim don u bandwidth uba khain , phi lah ban download bad peit ia ka |
08:06 | Ka kynhun spoken tutorial project |
08:10 | Ka pynlong ki workshop da kaba pyndonkam da ki spoken tutorials, ai certificates ia kiba pass ha ka online test |
08:16 | Kham bun ki jingtip halor sngewbha thoh sha ka “contact AT spoken HYPHEN tutorial DOT org” |
08:22 | Ka spoken tutorial project ka dei shibynta na ka project Talk to a teacher. La kyrshan ia ka da ka National Mission On Education lyngba ka ICT, MHRD, Government of India |
08:32 | Kham bun ki jingtip shaphang kane ka mission ka don ha kane ka link. |
08:36 | Ia kane ka tutorial la pynkylla sha ka ktien khasi da I Khrawpyrkhat Wanshong. Khublei shibun |