Java/C2/while-loop/Khasi

From Script | Spoken-Tutorial
Revision as of 14:45, 27 September 2017 by Khraw (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Time Narration
00:02 Pdiang sngewbha sha ka spoken tutorial halor while loop in java
00:06 Ha kane ka tutorial, phin pule
  • Shaphang ka while loop bad
  • Kumno bun pyndonkam ia ka
00:12 Na bynta kane ka tutorial, ngi pyndonkam
  • Ubuntu 11.10,
  • JDK 1.6 bad
  • Eclipse 3.7.
00:21 Ban bud ia kane ka tutorial, phi dei ban tip shaphang ki relational operators ha ka java.
00:26 Lada em, na ka bynta ki tutorial ba iadei, sngewbha peit ia ka website jong ngi kumba la pyni hangne
00:36 Kane ka dei ka shynrong jong ka while loop
00:39 Ka don ar bynta
00:41 Ka ba nyngkong ka dei ka loop running condition bad ka ba ar ka dei ka loop variable
00:48 To ngin peit ia kane ka nuksa. Phai sha ka Eclipse
00:55 Hangne, ngi don ia ka Eclipse IDE bad ka shynrong kaba donkam ki code ba hadien
01:00 Nga la dep shna ia ka class WhileDemo add ia ka main method ha ka
01:05 Ngin print ia ki number naduh 1 haduh 10, pyndonkam da ka while loop. Type : int n=1
01:15 U ne u variable “n” un long u loop variable jong ngi
01:21 Type: while hapoh parenthesis n less than or equal to 10, plie bad khang ia ki braces
01:33 Ia kane ka condition la khot loop running condition
01:37 Kane ka mut ba u loop un run katba ka condition ka dang long true.
01:42 Ha kane ka khep, kan run katba ka value jong u ‘n’ ka long hapoh ne iaryngkat bad u 10
01:47 Bad kan sangeh noh haba ka value jong u ‘n’ ka long kham khraw ‘ban ia u 10
01:53 Hapoh ka loop, ngin print ia ka value jong u ‘n’
01:58 System. out. print ln (n); bad pynkiew ia u n, kata n=n+1;
02:12 Ha kane ka rukom, nyngkong ka print ia u 1 bad nangta ka value jong u ‘n’ ka kylla long 2
02:18 Nangta ka ianujor bad ka loop conditions
02:21 Namar ba ka long true, ka print ia u 2 bad u ‘n’ u kylla long sha u 3
02:25 Bad kumta ter ter, ka loop ka iaid haduh ba kan print ia u 10. Hadien ba u ‘n’ u kot sha u 11 bad ka condition kam long true bad ka loop ka sangeh noh.
02:37 Te, ngin peit ia ka jingtreikam jong u code
02:39 Save bad run.
02:47 Kumba ngi iohi, la print ia ki numbers naduh 1 haduh 10
02:52 Mynta ngin print ia ki number naduh 50 haduh 40
02:58 Te, ngi sdang da u 50. Pynkylla n=1 sha n=50
03:03 Bad ngi buh haduh 40
03:05 Ha kiwei pat ki kyntien, katba u 'n’ u long kham khraw lane iaryngkat bad u 40. Te, pynkylla ia ka condition , n greater than or equal to 40
03:16 Bad namar ngi loop na u number u ba heh sha u ba rit, ngi hap ban pynhiar ia u loop variable
03:22 Te pynkylla n=n+1sha n=n-1
03:27 Save bad run. Kumba ngi iohi, la print ia ki number naduh 50 haduh 40
03:42 Mynta ngin print ia u sien jong u 7 naduh 1 haduh 10
03:48 Ban leh ia kata, ngi sdang da u 7
03:50 Te, pynkylla n=50 sha n=7 bad kumta ngi pynkut da u 70
03:57 Pynkylla ia ka condition n less than or equal to 70
04:03 Ha kane ka rukom, ngi pyntikna ba ka loop kan sangeh ha u 70
04:07 Ban ioh ia u sien, ngi pynheh ia ka loop variable da u 7
04:12 Te, pynkylla n=n-1 sha n=n+7
04:18 Ha kane ka rukom, ka print nyngkong ia u 7 bad nangta u n u kylla long 14, bad ka print ia u 14 bad kum ter ter haduh 70. Save bad run
04:33 Kumba ngi iohi, la print ia u sein jong u 7 naduh 1 haduh 10
04:43 Ngi lah ruh ban pyndonkam ia ka while loop ban ioh ia ka sum jong u number
04:47 To ngi peit kumno ban leh kumta.
04:49 Nyngkong pynkhuid ia ka main method.
04:54 Int n equal to 13876; u ne u dei u number
05:02 Nangta int dSum equal to 0. U variable dsum u ba long symbolic ia u digit sum u ban buh ia ka sum jong u digit
05:18 Type, while n greater than 0 plie khang ia ki parentheses
05:27 Ka daw ba pyndonkam ia kane ka condition ka long ban pynshai ia ka while
05:32 Ban pynmih ia ka sum jong ki digits, nyngkong ngi dei ban ioh ia ki digit
05:36 Ban leh kumta, ngi pyndonkam da u modulo operator.
05:40 Type: dSum=dSUM+(n%10), te, ngi ioh u unit digit bad thep ia ka ha ka dSum


05:52 Hadien kata ngi weng ia u digit da kaba divide da u 10. N=n /10


06:08 Hadien kata ngi weng ia u digit da kaba divide da u 10. N=n /10


06:15 Bad haba ka loop ha run ha ka sien baa r, dsum un long ka sum jong u 7 bad 6 kaba long 13 bad n un long 138
06:22 Bad kumta katba ka loop ka nang iaid, ki digits yn sa weng na u n bad khatduh
06:28 N u long 0. Hadien kata ka condition n greater than 0 kan long false bad ka loop kan sangeh noh
06:36 Te mynta to ngin print ia ka statement
06:42 System.out.println(dsum)
06:51 To ngin peit ia ka jingtreikam ka code. Save bad run.
06:59 Kumba ngi iohi, la print ia ka sum jong u digit kaba long 25
07:06 Ha kane ka rukom, ka while loop kaba dei kawei na ki constructs ba kongsan tam ha ka programming ba lah ban pyndonkam
07:16 Da kane ngi la poi sha kaba kut jong kane ka tutorial
07:20 Ha kane ka tutorial ngi la pule

Shaphang ka while loop bad kumno ban pyndonkam ia

07:26 Kum ka assignment na kane ka tutorial. Leh ia kane harum
07:29 Ia u number ba la ai, pynwan nadien shakhmat pyndonkam da ka while loop. Example: 19435 => 53491
07:37 Ba tip khambun shaphang ka Spoken Tutorial project, peit ia kane ka video ha ka link harum. Ka batai lyngkot shaphang ka Spoken Tutorial Project
07:45 Lada phim don ka bandwith kaba khlain, phi lah ban download bad peit ia ka.
07:50 Ka Spoken tutorial project team ka pynlong ia ki workshop da kaba pyndonkam ia ki spoken tutorials. Ka ai ki certificates ia kiba pass ha ka online test
07:57 Ban tip kham bniah, sngewbha thoh sha ka contact atspoken-tutorial.org
08:03 Ka spoken tutorial project ka dei shibynta na ka project “Talk to a Teacher”
08:07 La kyrshan ia ka da ka National Mission on Education lyngba ka ICT, MHRD, Government of India
08:12 Kham bun ka jingtip halor kane ka mission ka don ha kane ka link
08:17 Ia kane ka tutorial la pynkylla sha ka Ktien khasi da I Khrawpyrkhat Wanshong. Khublei shibun.

Contributors and Content Editors

Khraw, PoojaMoolya