Difference between revisions of "C-and-Cpp/C2/Relational-Operators/Khasi"
From Script | Spoken-Tutorial
(Created page with "{| border=1 |'''Time''' |'''Narration''' |- |00:01 | Ngi pdiangsngewbha ia phi sha ka Spoken Tutoria jong ka '''Relational Operators''' in '''C''' and '''C++'''.|- |00:06 |...") |
|||
Line 4: | Line 4: | ||
|- | |- | ||
− | |00:01 | + | | 00:01 |
− | | Ngi pdiangsngewbha ia phi sha ka Spoken Tutoria jong ka '''Relational Operators''' in '''C''' and '''C++'''. | + | | Ngi pdiangsngewbha ia phi sha ka Spoken Tutoria jong ka '''Relational Operators''' in '''C''' and '''C++'''. |
− | + | ||
− | + | ||
|- | |- | ||
− | |00:09 | + | | 00:06 |
+ | | Ha kane ka jinghikai, ngin pule shaphang: | ||
+ | |||
+ | |- | ||
+ | | 00:09 | ||
| Relational operators kum, | | Relational operators kum, | ||
|- | |- | ||
− | |00:11 | + | | 00:11 |
− | |Less than: e.g. a < b | + | | Less than: e.g. a < b |
|- | |- | ||
− | |00:14 | + | | 00:14 |
− | |Greater than: e.g. a > b | + | | Greater than: e.g. a > b |
|- | |- | ||
− | |00:17 | + | | 00:17 |
− | |Less than or equal to: e.g. a <= b | + | | Less than or equal to: e.g. a <= b |
|- | |- | ||
− | |00:22 | + | | 00:22 |
− | |Greater than or equal to: e.g. a >= b | + | | Greater than or equal to: e.g. a >= b |
|- | |- | ||
− | |00:27 | + | | 00:27 |
− | |Equal to: e.g. a == b | + | | Equal to: e.g. a == b |
|- | |- | ||
− | |00:30 | + | | 00:30 |
− | |Not equal to: e.g. a != b | + | | Not equal to: e.g. a != b |
|- | |- | ||
Line 42: | Line 44: | ||
|- | |- | ||
− | |00:42 | + | | 00:42 |
− | |'''gcc''' and '''g++ Compiler '''version '''4.6.1 '''in '''Ubuntu.''' | + | | '''gcc''' and '''g++ Compiler '''version '''4.6.1 '''in '''Ubuntu.''' |
|- | |- | ||
− | | | + | | 00:50 |
− | | | + | | To ngin sdang da ka jinglamphrang. |
|- | |- | ||
− | |00:53 | + | | 00:53 |
| Ia ka Relational operators la ju pyndonkam ha kaba compare ia u integer bad floating point numbers. | | Ia ka Relational operators la ju pyndonkam ha kaba compare ia u integer bad floating point numbers. | ||
|- | |- | ||
− | |00:57 | + | | 00:57 |
| Ka Expressions lyngba ka relational operators '''return''' '''0''' na kabynta bym dei bad '''1''' na kabynta ba dei. | | Ka Expressions lyngba ka relational operators '''return''' '''0''' na kabynta bym dei bad '''1''' na kabynta ba dei. | ||
|- | |- | ||
| 01:04 | | 01:04 | ||
− | | | + | | Mynta ngan pyni ia ka relational operators da ka jingiarap jong ka C prokram. |
|- | |- | ||
− | | | + | | 01:09 |
− | | | + | | Nga la shna ia ka prokram. |
|- | |- | ||
Line 74: | Line 76: | ||
|- | |- | ||
− | | | + | | 01:20 |
− | | | + | | Ka '''printf''' statement kan kan prompts ia u nongpyndonkam ban enter ia ki values jong u a bad b. |
|- | |- | ||
| 01:26 | | 01:26 | ||
− | | | + | | Ka '''scanf '''statement statement kan ialam sha ka input jong ki variables '''a '''bad '''b'''. |
|- | |- | ||
− | | | + | | 01:32 |
− | | | + | | Mynta ngi don ka '''greater than (>)''' operator. |
|- | |- | ||
− | |01:35 | + | | 01:35 |
| Ka operator ka compare ia ar tylli ki operands na kawei na ki bynta jong ka operator. | | Ka operator ka compare ia ar tylli ki operands na kawei na ki bynta jong ka operator. | ||
|- | |- | ||
− | |01:38 | + | | 01:38 |
| Kan pynphai '''True''' lada u '''a''' u heh ban ia u '''b'''. | | Kan pynphai '''True''' lada u '''a''' u heh ban ia u '''b'''. | ||
|- | |- | ||
− | | | + | | 01:43 |
− | | | + | | Ka '''printf '''statement kan execute lada ki condition ba hajrong ki dei. |
|- | |- | ||
− | |01:47 | + | | 01:47 |
| Lada ki condition ba hajrong kilong '''false '' te kan skip. | | Lada ki condition ba hajrong kilong '''false '' te kan skip. | ||
|- | |- | ||
− | |01:50 | + | | 01:50 |
| Ka control pat kan jump sha ka next statement. | | Ka control pat kan jump sha ka next statement. | ||
|- | |- | ||
| 01:53 | | 01:53 | ||
− | | | + | | Mynta ngi don ka '''less than (<)''' operator. |
|- | |- | ||
− | |01:56 | + | | 01:56 |
| Kane ruh kan compare ia ka operands. | | Kane ruh kan compare ia ka operands. | ||
|- | |- | ||
− | |01:57 | + | | 01:57 |
| Kan phai '''true''' lada u '''a''' u duna ban ia u '''b'''. | | Kan phai '''true''' lada u '''a''' u duna ban ia u '''b'''. | ||
Line 121: | Line 123: | ||
|- | |- | ||
− | |02:06 | + | | 02:06 |
| Lym kumta yn skip. | | Lym kumta yn skip. | ||
|- | |- | ||
− | |02:09 | + | | 02:09 |
− | | | + | | To ngin execute ia ka code haduh hangne. |
|- | |- | ||
− | |02:13 | + | | 02:13 |
| Yn comment nyngkong kumne. | | Yn comment nyngkong kumne. | ||
|- | |- | ||
− | |02:16 | + | | 02:16 |
− | |Type '''/* (slash asterisk) | + | | Type '''/* (slash asterisk) |
|- | |- |
Revision as of 21:12, 17 October 2017
Time | Narration | |
00:01 | Ngi pdiangsngewbha ia phi sha ka Spoken Tutoria jong ka Relational Operators in C and C++. | |
00:06 | Ha kane ka jinghikai, ngin pule shaphang: | |
00:09 | Relational operators kum, | |
00:11 | Less than: e.g. a < b | |
00:14 | Greater than: e.g. a > b | |
00:17 | Less than or equal to: e.g. a <= b | |
00:22 | Greater than or equal to: e.g. a >= b | |
00:27 | Equal to: e.g. a == b | |
00:30 | Not equal to: e.g. a != b | |
00:37 | Ban record ia ka jinghikai, nga pyndonkam da ka: Ubuntu 11.10 kum ka operating system, | |
00:42 | gcc and g++ Compiler version 4.6.1 in Ubuntu. | |
00:50 | To ngin sdang da ka jinglamphrang. | |
00:53 | Ia ka Relational operators la ju pyndonkam ha kaba compare ia u integer bad floating point numbers. | |
00:57 | Ka Expressions lyngba ka relational operators return 0 na kabynta bym dei bad 1 na kabynta ba dei. | |
01:04 | Mynta ngan pyni ia ka relational operators da ka jingiarap jong ka C prokram. | |
01:09 | Nga la shna ia ka prokram. | |
01:11
Te, ngan plie ia ka editor bad batai ia ka code. | ||
01:15 | Nyngkong, ngin declare ia artylli ki variables a bad b. | |
01:20 | Ka printf statement kan kan prompts ia u nongpyndonkam ban enter ia ki values jong u a bad b. | |
01:26 | Ka scanf statement statement kan ialam sha ka input jong ki variables a bad b. | |
01:32 | Mynta ngi don ka greater than (>) operator. | |
01:35 | Ka operator ka compare ia ar tylli ki operands na kawei na ki bynta jong ka operator. | |
01:38 | Kan pynphai True lada u a u heh ban ia u b. | |
01:43 | Ka printf statement kan execute lada ki condition ba hajrong ki dei. | |
01:47 | Lada ki condition ba hajrong kilong 'false te kan skip. | |
01:50 | Ka control pat kan jump sha ka next statement. | |
01:53 | Mynta ngi don ka less than (<) operator. | |
01:56 | Kane ruh kan compare ia ka operands. | |
01:57 | Kan phai true lada u a u duna ban ia u b. | |
02:02 | Ka printf statement yn executed lada ki condition ba hajrong ki long true. | |
02:06 | Lym kumta yn skip. | |
02:09 | To ngin execute ia ka code haduh hangne. | |
02:13 | Yn comment nyngkong kumne. | |
02:16 | Type /* (slash asterisk) | |
02:21 | */ (asterisk slash). | |
02:24 | Click Save. | |
02:26 | Nga lah save ia ka phail jong nga kum relational.c. | |
02:29 | Plie ia ka terminal window da kaba nion Ctrl, Alt bad T keys ha kajuh ka por. | |
02:35 | Ban compile, type ia kane ha ka terminal gcc space relational dot c space -o space rel. | |
02:49 | Nion Enter. | |
02:51 | Ban execute, type ./rel (dot slash rel). Nion Enter. | |
02:56 | Nga enter a kum 8 bad b kum 3. | |
03:01 | Kan pyni ia ka output: | |
03:03 | 8 is greater than 3. | |
03:07 | Phi lah ban execute ia une u code da ki wei pat ki values jong u a bad b. | |
03:11 | Phai biang sha u code. | |
03:14 | Pyndam ia ka comment nangne | |
03:18 | bad buh hangne. | |
03:24 | Mynta ngi ioh ia ka less than or equal to (<=) operator. | |
03:28 | Kane ka operator ka compare ia ar tylli ki operands ba don ha kawei na ki bynta jong ka operator. | |
03:33 | Kan pynphai true lada u a u duna ne ia kajuh bad u b. | |
03:38 | Ka printf statement kan execute lada ka condition hajrong ka dei. | |
03:42 | Lada ka condition hajrong ka long false nangta kan skip. | |
03:45 | Ka control nangta ka jump sha ka next statement. | |
03:49 | Next kan wan ka greater than or equal to (>=) operator. | |
03:52 | Kam compare ia u a and b bad phai true lada u a u heh ne kajuh bad u b. | |
04:00 | Lada ka condition ka dei nangta ka printf statement kan sa execute. | |
04:05 | Mynta to ngin execute ia u code haduh hangne. | |
04:07 | Click Save. | |
04:09 | Switch biang sha ka terminal. | |
04:12 | Compile bad execute kumba mynshuwa. | |
04:17 | Nga enter a kum u 8 bad b kum u 3. | |
04:22 | Ia ka output yn pyni: | |
04:25 | 8 is greater than or equal to 3 | |
04:30 | Mynta ngin phai biang sha kiwei pat ki code. | |
04:33 | Pyndam ia ka multiline comments nangne | |
04:39 | bad hangne. | |
04:43 | Ngin ioh ia ka equal to operator. | |
04:47 | Kane kan kdew da ki double equal signs (==). | |
04:50 | Kane ka operator kan pyni true lada baroh ki operands ki long kajuh hapdeng jong ki. | |
04:57 | Ka printf statement kan execute lada u a u iaryngkat bad u b. | |
05:00 | Lada ymdei, ka control nangta ka jump sha ka next statement. | |
05:06 | Kumjuh ruh, ngi ioh ia ka not equal to operator. | |
05:08 | Ka operator kanlong true lada ki operands kim iaryngkat hapdeng jong ki. | |
05:15 | Ka printf statement kan execute lada u a um iaryngkat bad u b. | |
05:20 | Phai biang sha ka prokram kaba kut. return 0; | |
05:24 | Click Save. | |
05:26 | Switch biang sha ka terminal. | |
05:28 | Compile bad execute kumba mynshuwa. | |
05:32 | Enter a kum u 8 bad b kum u 3. | |
05:38 | Ia ka output ynpyni ha ka screen: | |
05:40 | 8 is not equal to 3 | |
05:44 | Kumta, ngi iohi kumno ka ki relational operators ki treikam. | |
05:48 | Pyrshang ban execute ia une u code lyngba kiwei pat ki jait jong ka input. | |
05:51 | Mynta, thoh ia ka prokram ba iasryiem ha ka C++ kan long kaba suk. | |
05:56 | Ki don katto katne ki jingiapher ha ka syntax. | |
05:59 | Nga lah shna ia u code ha ka C++. | |
06:04 | Kine kidei ki code jong ka relational operators in C++. | |
06:08 | Kynmaw ba ka header ka iapher. | |
06:12 | Bad ruh ngi ioh ia ka using statement hangne. | |
06:15 | Ka output statement ha ka C++ ka long cout. | |
06:19 | Bad ka input statement ha ka C++ ka long cin. | |
06:22 | Nangta, lait na kine ki jingiapher, ki artylli ki code ki kham iasryiem bha. | |
06:26 | Click Save. | |
06:28 | Sngewbha kynmaw ban save ia ka phail lyngba ka extension .cpp. | |
06:32 | Nga lah save ia ka phail jongnga kum relational.cpp. | |
06:37 | To ngin compile ia u code. | |
06:39 | Plie ia ka terminal bad type g++ relational.cpp space minus o space rel1 | |
06:50 | Ban execute, type ./rel1 (dot slash rel1), nion Enter. | |
06:56 | Ngan enter a kum 8 bad b kum 3. | |
07:00 | Yn pyni ia ka output. | |
07:02 | Ngi iohi ba ka output ka long kumjuh kum kato ha ka C program. | |
07:07 | Mynta ngin peit ia ki jingbakla ba ngi lah iaid lyngba. | |
07:10 | Phai biang sha ka prokram. | |
07:13 | Tharai hangne ngin bujli ia ka 'double equal to' sign da ka 'single equal to'. | |
07:19 | Click Save. | |
07:21 | Phai biang sha ka terminal. | |
07:23 | Compile bad execute kumba mynshuwa. | |
07:33 | Hangne ngi iohi ba ka pyni ba u 3 u iaryngkat bad u 3. | |
07:37 | Phai biang sha ka prokram jong ngi. | |
07:40 | Kane ka long namar ba hangne ngi don u assignment operator. | |
07:43 | Kumta u value jong u b la assign ha u a. | |
07:46 | Mynta, to ngin pynbeit ia ka jingbakla. | |
07:49 | Type ia u equal sha u sign. | |
07:51 | Click Save. | |
07:54 | Switch biang sha ka terminal. | |
07:56 | Compile bad execute kumba mynshuwa. | |
08:04 | Ka output mynta ka lah dei. | |
08:06 | To ngan iathuh lyngkot ia ka jinghikai. | |
08:08 | Ha kane ka jinghikai, ngi pule | |
08:10 | relational operators kum: | |
08:12 | Less than: e.g. a < b | |
08:14 | Greater than: e.g. a>b | |
08:17 | Less than or equal to: e.g. a<=b | |
08:22 | Greater than or equal to: e.g. a>=b | |
08:27 | Equal to: e.g. a==b | |
08:29 | Not equal to: e.g. a!=b | |
08:34 | Kum ka assignment: | |
08:35 | Thoh ia ka prokram kaban shim ia ki marks jong ki lai ngut ki students kum ka input. | |
08:39 | Compare ia ki ban peit uno u khynnah u ioh heh duh. | |
08:43 | Peit ruh ba lada ar ne bun ki students ki ioh bun ne mar kajuh ka marks. | |
08:48 | Peit ia ka video ba la ai ha ryngkat ka link ha trai. | |
08:51 | Ka batai lyngkot ia ka Spoken Tutorial Project.. | |
08:54 | Lada phim don ka bor internet ba khlain, shu download sa peit pat hadien. | |
08:58 | Ka Spoken Tutorial Project Team: | |
09:00 | Ka pynlong ki workshop da ba pyndonkam ia ki spoken tutorials.. | |
09:03 | Yn ai syrnod ia kiba pass ia ka online test. | |
09:06 | Na bynta ka jingtip ba kham bniah, sngewbha thoh sha ka
'contact@spoken-tutorial.org | |
09:14 | Spoken Tutorial” Project ka dei ka bynta jong ka Talk to a Teacher. | |
09:18 | La kyrshan ia kane ka project da ka National Mission on Education lyngba ICT, MHRD, jong ka sorkar India. | |
09:24 | Shuh shuh ki jingtip halor kane ka mission phin ioh na kane ka link ba la ai harum : | |
09:27 | http://spoken-tutorial.org\NMEICT-Intro. | |
09:34 | La pynkylla sha ka ktien khasi da i Godwin pyrbot bad nga i John Nongkynrih.
Khublei naka bynta ba iasnohlang |