All language subtitles for 16. Comprehensive Exercise - Rational Numbers Struct - Question

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranรฎ)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu

Original subtitles

Well, hello, there, my name is Vlad.

This is alpha tech, and in this video, what we are going to do is a quick, maybe not so quick, but

a good exercise regarding rational numbers.

OK.

So what do you have to do is to design and develop rational numbers project called rational.

OK, so first of all, you are going to design and develop a rational number, a structure that will

be called rational.

And these structure is basically will be used to represent a rational number.

And just a quick reminder to you guys that a rational number consists of two parts.

The first one is the new numerator and the second one is denominator.

OK, so any number can resist.

Irrational number consists of the denominator and the denominator.

OK, is it clear?

So what you will need to do is, first of all, to provide this structure for the rational.

That shouldn't be very difficult.

OK consists of two fields, numerator and denominator.

And then what you will have to provide is basically OK.

After, you know, the previous material we've spoken about, you will have to provide a couple of functions.

OK?

One function that should increment a given rational number.

The other a function should decrement a given rational number.

There should be also functions for addition between two different rational numbers.

And once you calculate the addition between two of them, you will need to return the result also for

a subtraction multiplication division.

You will also write a couple of functions to decide which one of their rational numbers is smaller or

bigger to kind of compare between two rational numbers.

And you will have to write also functions for testing out the equality between two different regional

variables.

OK, so that's it.

You will have to write these functions.

How many of them?

One two three four five six seven eight nine 10 ten functions that you have to do.

This is kind of a comprehensive exercise.

It also requires you to kind of make some recap and remember how you basically use addition between

two regional numbers.

It's not just by taking the nominee to the illuminator plus denominator and denominator plus denominator,

you have to make some common ground right in the denominator field.

And then to make them OK.

Also for subtraction, what happens at multiplication?

So there are some rules for working with rational numbers.

It's not too complicated.

OK.

But it requires from you to think about it, even at least a little bit.

OK, so first of all, go write down on a piece of paper.

Write down everything that you remember about how to make increment on a given number and basically

how you should make additions between two regional numbers.

What are the steps before you jump into writing the code?

What are the steps on a piece of paper?

OK.

That's also what I'm going to show you in my full video solution.

Basically, all the steps one by one and then and only then we are going to jump in right down the actual

code.

The actual functions that are responsible for this task.

OK.

So thank you guys for watching and give it your best.

OK, even if it will take you a couple of hours, try to solve this exercise on your own.

Write down all the functions.

Make sure that your results are basically correct and basically test out of the actual value of.

The regional numbers, the regional variables that you create before and after any operation that you

will check.

OK.

And also you can use a calculator or I don't know something.

On the internet to make sure that are to test out the results of your program against the results of

something that should give you the correct answers.

So good luck.

My name is Lisa's alpha tech and you are doing a huge exercise on your own.

Give it your best.

Good luck.

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.