All language subtitles for 2. What is a file [as a stream of bytes]

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

All right, so in this video, what we are going to talk about is what is a file and in simple terms,

a file is just as serious or Astrium, let's say, let's call it for now, is three of bytes, one after

the other, usually stored on some non-volatile memory devices, such as your hard drive or SSD, some

flash memory and so on.

And these memory devices, these memory components will be used to write and read to and from OK, basically

to work with files during this section and probably during your future projects when you will develop

amazing applications.

And in this tutorial, we will talk only about these type of files and not about different, let's say,

complex types where files may be spread out to several areas are on the device and stuff like that.

Okay.

Will simply talk about some stream of bytes which will represent the data of the file.

Just think of a file that we will speak about from this point on is some sequence of bytes that actually

hold or store the data and the content of a given file.

Some data that you want to represent, whether these will be like, I don't know, just a text file,

an image file or let's say other files that we will also explore.

And in this section, maybe in this section, maybe I will give you just the part of it.

I'm not sure because.

Yeah, there is a lot of things to cover up, but mainly mainly what we do categorise when learning

files is basically two main types.

The first one is the textual files and the second type is the binary files.

And we will talk about different.

Usages of text files and binary files, I'm not sure about binary files in this section.

I will need to check it out because it is a little bit more complicated.

Maybe you will start just with the textual files to simply give you some taste of how to work with files

and basically binary.

Maybe we'll add here.

Maybe we'll adding some next section.

Not sure about it at this moment, but yeah, so far, so good.

And just do like to give you a little bit of visualization, let me draw something here and let me tell

you that basically a file will be represented, as we just said, as a sequential stream of bytes.

So if we will take a look at these memory, OK, so that's some memory that we have.

This is the memory, let's say, of your hard drive, just as that as an example.

And you will say that from these memory forward, let's say memory, I don't know, three, 200 till

I don't know, four thousand.

This will be OK.

All the bytes in memory that will be occupied for your file.

OK, so whatever you store here, OK, if you will decide to store here, I don't know an image.

So there will be different representation than just storing some textural basic file where each byte

is going to represent some character.

OK, so but the general concept that you need to understand is that let's say we will have like everything

represented for the file in zero, one, two, three and so on and so forth up until some and minus

one index.

And we will use it as the end of file.

OK, marker.

Something that will represent this area and with this market right here and this is the file represented

and storing all the data relevant for your needs, do these file, whether it is going to be on the

hard drive, the is the I don't know, or some flash memory.

And once you start working with files, OK, first of all, what you will usually do is that you will

attempt to start working with a file, you will try to open a file.

OK, and then what will happen is that a sequential stream associated with that file will provide some

communication channel.

OK, there will be some communication channel between this given stream, these file and your running

program, which is like this may not say there will be a running program.

There will be like a region in memory that will be used for your file.

And then when he wants, he will try to open a file in, it will hopefully be successful from your program

to this file, there will be created some communication channel that will allow you to read or write

based on your demands.

OK.

And to be honest, guys, the understanding of this concept of these communication channel, a file,

a program is really crucial.

There is no such usage in real life applications.

I mean, there is so much usage in real life applications and developments with this communication channel

between a stream of bytes and your running program that to be honest, you cannot even start to imagine.

Or maybe you can.

So what I want us to do in the next video, I would like us to talk about some examples of streams that

are being used automatically when any new program is launched and some of them you've used, you've

probably used so far in the previous sections and you didn't even notice that there was like different

streams and streams for the input streams from the output.

OK.

And in the next video, I will show you exactly what I mean by that.

So stay tuned and let's go.

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