Understanding ASCII and Unicode (GCSE)

Поділитися
Вставка
  • Опубліковано 15 січ 2025

КОМЕНТАРІ • 496

  • @laithfadala8264
    @laithfadala8264 5 років тому +84

    One of the most beautiful arts is making complicated things look so simple. And only legends can do it.

  • @PhsycoCovers
    @PhsycoCovers 2 роки тому +16

    We watch this video in my computer class at school 😂 it’s very well put together, good job.

  • @hirok6649
    @hirok6649 4 роки тому +111

    Chinese: Im gonna end ASCII's whole career.

    • @TheTechTrain
      @TheTechTrain  4 роки тому +11

      😆

    • @minetech4898
      @minetech4898 4 роки тому +16

      Unicode: what are these..?
      Japanese: Emojis
      Unicode: it.. it's a face
      Japanese: yeah, and?
      Unicode: now has Emojis

    • @igothisoncamera7205
      @igothisoncamera7205 3 роки тому +1

      LMAO

    • @ଠ୍ଠ୍ଠଂ
      @ଠ୍ଠ୍ଠଂ 3 роки тому +2

      Good to see this comment! ΟωΟ

    • @eng360
      @eng360 2 роки тому +1

      Unicode ; hold my 🍺

  • @JohnDoe-rt2ms
    @JohnDoe-rt2ms 5 років тому +73

    Perfect. Simple, easy and straightfoward 10/10 Great explanation!

    • @TheTechTrain
      @TheTechTrain  5 років тому +3

      Thank you so much, I'm very glad you think so.

  • @hardikvasa6445
    @hardikvasa6445 6 років тому +26

    by far the best on this topic!!!

  • @cadalacgrant
    @cadalacgrant 4 роки тому +7

    Well explained and I love the “Try It Yourself”

  • @Vlexvnder27
    @Vlexvnder27 5 років тому +11

    Fantastic, thank you for the clarity. Have read blog posts and seen videos on this topic and never understood it quite so well.

    • @TheTechTrain
      @TheTechTrain  5 років тому

      Thank you Alexander, I'm very glad you feel this video is so useful.

  • @christinesimmons5122
    @christinesimmons5122 5 років тому +30

    Simple, clear instructions- very helpful. Thank you!

    • @TheTechTrain
      @TheTechTrain  5 років тому +6

      I'm so glad you found it helpful, thank you.

  • @Partida2012
    @Partida2012 2 роки тому +2

    The greatest teachers are the ones that can simplify the most complicated of things. Bravo to you!! tysm for the vid :)

    • @TheTechTrain
      @TheTechTrain  2 роки тому

      Thank you! I'm so glad you found it helpful. 😊

  • @jp1038
    @jp1038 7 років тому +71

    Great explanation. very helpful!

  • @mcbrianmiller1264
    @mcbrianmiller1264 4 роки тому

    It took me lots of video browsing to be here but this was the the video I was looking for all this while. This is the best

  • @wing3789
    @wing3789 6 років тому +9

    Clean and clear, super well presented. Thank you for contributing great quality information on this platform. It's a breath of fresh air.

    • @TheTechTrain
      @TheTechTrain  5 років тому +1

      Thank you so much for your kind comment, I am so glad you felt the video was so useful. Hope to see you here again!

  • @Liggliluff
    @Liggliluff 4 роки тому +13

    (4:30) You should preferably save in UTF-8 instead, that uses 1-7 bits per character depending on how far into Unicode it appears. - Furthermore, you can't use characters beyond the 1 114 111th character, due to how the standard is set up with the 16-bit surrogate pairs.

    • @amandabrunsperger3726
      @amandabrunsperger3726 12 днів тому

      Unicode also supports a large list of languages, not only numbers, letters and a large list of symbols.

  • @davinderthakur
    @davinderthakur 8 місяців тому +1

    This video explains it beautifully and very easy to understand. Thanks for the great content

  • @PyarMatKaro
    @PyarMatKaro 6 років тому +18

    The explanation is wrong. When saved in UNICODE format, Notepad adds a two-byte magic number to mark the file format as being UTF-16, and the ALT-1 character is saved as two bytes. Notepad does not save in a 32-bit UNICODE format. You can verify this by putting the ALT-1 character in the file twice, and see that the file size is then 6 bytes. Also, UTF-16 encodes up to 20 bits, not 32 as stated.

    • @krystobee4454
      @krystobee4454 6 років тому +3

      Nice, I got 6 bytes!

    • @gbzedaii3765
      @gbzedaii3765 8 місяців тому

      I got 16 bytes

    • @PyarMatKaro
      @PyarMatKaro 8 місяців тому

      ​@@gbzedaii3765I don't know how you managed to get 16 bytes

    • @XRanlod
      @XRanlod 2 місяці тому

      I got infinite 😅

  • @sacredcaravan
    @sacredcaravan 2 роки тому +1

    Best ever explanation...Thanks dude

  • @ZubairMuavia-rk8vw
    @ZubairMuavia-rk8vw 2 роки тому +1

    Great method 👍🏻👍🏻👍🏻

  • @avaneedubey5749
    @avaneedubey5749 6 років тому +2

    this is the best video on this topic!! must watch!!

    • @TheTechTrain
      @TheTechTrain  6 років тому

      Thank you so much! I'm glad it was useful.

  • @abedbehrooz5627
    @abedbehrooz5627 5 років тому +1

    Refreshed me a beginner lessons of my computer science class. great thanks

    • @TheTechTrain
      @TheTechTrain  5 років тому

      I'm so glad you found it helpful Abed Behrooz

  • @ponnuvel659
    @ponnuvel659 6 років тому

    More than half an hour I was searching answer for this question but within 6min you did it....thanks a lot..

    • @TheTechTrain
      @TheTechTrain  5 років тому

      I'm so glad I was able to help you.

  • @jayanthdc6347
    @jayanthdc6347 6 років тому

    the best explanation ....easily understood the topic..hats off

  • @amminidaniel833
    @amminidaniel833 5 років тому

    My content on this topic is crystal clear. Thanks tech train.

  • @RobSwizz1e
    @RobSwizz1e 3 роки тому +4

    Okay, I have gone through maybe 13 other videos including a video by my instructor, and all of them were not as simple and easy as you made this explanation out to be. Thank you for making this. I'm finally understanding it!

    • @AndersJackson
      @AndersJackson 3 роки тому

      Well, he have left out quite a lot to make it look simple. Like the important encoding of Unicode (ISO-10646) in UTF-8.

  • @basnugroho
    @basnugroho 2 роки тому +1

    This is what im looking for this morning

  • @moroseten2662
    @moroseten2662 11 місяців тому +1

    Thank you made this very easy to understand!

  • @mykolan361
    @mykolan361 7 років тому +13

    isn't 32-bit capable of storing potentially 2^32-1=4,294,967,295 characters (not only 2,147,483,647, as shown in the video)?

    • @aniseedwolf9109
      @aniseedwolf9109 6 років тому +8

      The short answer is 'no' because the first bit being equal to 1 will be the flag used to indicate a Unicode character. Since the first bit has to be a '1', you are halving the amount of available combinations potentially available.

    • @xiaoling943
      @xiaoling943 6 років тому +1

      Its actually 2^31

    • @prayushdawda7807
      @prayushdawda7807 5 років тому +2

      @@xiaoling943 It's actually 2^31 - 1. xD

    • @absolutebollocks2258
      @absolutebollocks2258 5 років тому

      Unsigned vs signed integer

  • @Saquib91
    @Saquib91 6 років тому +9

    You guys explain this better then what my prof. did over 2 hours. lolz

    • @mrsher4517
      @mrsher4517 5 років тому +2

      7 bit stores 128 characters from 0-127 => 0000000-1111111. Correct me if I am wrong please.

    • @Bonniebelle_00__
      @Bonniebelle_00__ 3 роки тому

      @@mrsher4517 a lot of info dumped here lolz not fast enough ooooopp

  • @anakinskywalkerrr
    @anakinskywalkerrr 4 роки тому +1

    Easy to understand, will subscribe for that

  • @vishalnalwa
    @vishalnalwa 4 роки тому +1

    Just awesome 👏👏👏👏.

  • @cardovamedia2691
    @cardovamedia2691 3 роки тому +1

    Very nice basic introduction

  • @graceotoo5664
    @graceotoo5664 10 місяців тому +1

    Extremely helpful, thanks a lot!

  • @ickynho7
    @ickynho7 2 роки тому +1

    thanks u are an amazing professor!!

  • @mixshots1801
    @mixshots1801 2 роки тому +1

    very nice explanation

  • @codepoachers6870
    @codepoachers6870 3 роки тому +1

    I love the "try it yourself" part!. Thanks a lot sir!

  • @JosephTompkins67395
    @JosephTompkins67395 7 місяців тому +1

    so useful even now, thank you

  • @sarahluciakarmann6133
    @sarahluciakarmann6133 4 роки тому +2

    Loved this, especially the "Try it out" part - this made exam prep for Intro to IT much easier!

  • @sagi_abd
    @sagi_abd 2 роки тому +1

    Thank you for great explanation!

  • @umeshmondal6043
    @umeshmondal6043 4 роки тому

    nice explanation........... i want more abot ANSI

  • @tarbiyahelementary4149
    @tarbiyahelementary4149 Рік тому +1

    What an amazing video, bravo, I definitely will Sub

    • @TheTechTrain
      @TheTechTrain  Рік тому

      I'm so glad it helped! Thank you for the sub! 👍

  • @sapkotanischal1054
    @sapkotanischal1054 3 роки тому +1

    Damn such a beautiful way to explain things

    • @TheTechTrain
      @TheTechTrain  3 роки тому

      Thank you, I'm so glad you found it helpful.

  • @RoseMaryGimmy
    @RoseMaryGimmy 11 місяців тому

    So what are the possible questions that can come up for extended ASCII

  • @frogiwthoutahat
    @frogiwthoutahat 5 років тому +2

    Why can't characters be saved as a 1-byte ASCII and then a 4-byte Unicode for other characters? Which would reduce the size needed for memory?

    • @TheTechTrain
      @TheTechTrain  5 років тому +1

      Unicode does come in many flavours, but you don't want to have 4 bytes necessarily for everything as that would waste storage space.

    • @user-mc8gr4tb7k
      @user-mc8gr4tb7k 3 роки тому

      @@TheTechTrain I want to make unicde of my language and want to revive the script of my language

  • @krithiknaidu8474
    @krithiknaidu8474 4 роки тому +2

    Thank you for explaining we are thankfull to you

  • @taylorashman
    @taylorashman 5 років тому +2

    If it takes 32 to store one character how is the emoji stored at 4 not 32

    • @TheTechTrain
      @TheTechTrain  5 років тому +1

      The value of 32 refers to the number of bits (individual binary digits), but the value of 4 refers to the number of bytes, which are groups of eight bits. So 4 X 8 = 32.

    • @taylorashman
      @taylorashman 5 років тому +1

      Oh thankyou so much especially for your quick reply considering the time this video was uploaded !

    • @TheTechTrain
      @TheTechTrain  5 років тому +1

      You're welcome. Always feel free to ask if there are any topics you'd like me to make videos on if you feel it would be helpful. 👍

    • @taylorashman
      @taylorashman 5 років тому +1

      I got my edexcel computing science exam paper 1 Monday and I'm trying to find revising resources from today throughout the weekend so appreciate it

    • @TheTechTrain
      @TheTechTrain  5 років тому

      My GCSE students have their paper 1 on Monday too, so I feel your pain! Still... at least you're revising! (I'm not sure my own students are that promising!) I'm here if you need any advice.

  • @kevinegal7886
    @kevinegal7886 4 роки тому +4

    WOW, by far the best explanation

  • @plevouirx
    @plevouirx Рік тому +1

    1:47 aren't there 128 possible variations here (from 0 to 127)? anyway, thank you for this video!

  • @NathanOkun
    @NathanOkun 5 років тому +1

    ASCII is an extension of the 5-bit Badau Code used in such things as the original electro-mechanical Teletype Keyboard/Printer long-distance communication devices that replaced the old hand-keyed dit-dah Morse Code when more capable and much faster methods of sending on/off (digital) codes were developed at the end of the 19th Century. Much of ASCII was adopted to allow more characters to be sent and to allow more thorough control of the receiving device (End-of-Message value and so forth) for more intricate messages (for example, the Escape Code as a flag to allow non-ASCII values to be sent for use by the receiving machine as other than letters or numbers or standard symbols or ASCII Printer Commands). Sending pictures is another major extension of ASCII where the original printable characters are now just a small part of the image printed out. UNICODE is one part of this expansion but such things as "JPG" and "MP4" and other special-purpose coding schemes are now also used extensively for inter-computer messaging. Automatic "handshaking" and error determination are now absolutely needed for computer messaging that is going much too fast for human monitoring of the connections -- this can get extremely complex when automatic backup systems with quick-swapping paths are used.

    • @TheTechTrain
      @TheTechTrain  5 років тому

      Wow, what a lot of extra information! Very interesting, thank you very much for sharing that. My videos tend to be targetted at the current UK GCSE Computer Science curriculum, and so only tend to provide that much information, but it's always good when subscribers share extra information and explanations, so thank you!

    • @NathanOkun
      @NathanOkun 5 років тому +1

      @@TheTechTrain You are welcome. I started work for the US Navy as an Electronic Engineer for Systems of the TERRIER Anti-Aircraft Guided Missile System in late 1972, just as digital computers were being added to replace the old electro-mechanical computers used to aim the missiles and initialize them just prior to firing and control the large tracking radars (huge "folded telescope" designs that used pulse tracking and a separate continuous very-high-frequency illumination beam for the missile's radar "eye" to home on). A couple of years later the profession of Computer Engineer finally was added to the US Government employment system and our group all changed over to it, so I, in a manner of speech, was not on the "ground floor" of the computer revolution but, as far as the US Federal Government was concerned, I was "in the basement" at this extremely critical time of change when computers "got smaller" as was given as an inside joke in the Remo Williams movie. There is a UA-cam video series out concerning a group in a museum rebuilding one of those old Teletype machines that used the Badau Code and showing how it controlled all of the tiny moving parts in the machines. VERY interesting!

    • @TheTechTrain
      @TheTechTrain  5 років тому

      You've certainly seen a fair few changes in that time then! As someone with such an extensive background in the subject I feel humbled at you reviewing my little video! Are you still involved with the subject these days?

    • @NathanOkun
      @NathanOkun 5 років тому

      @@TheTechTrain I retired in 2014 after 41 years of US Federal Government employment. First for TERRIER until it was decommissioned in 1992 when steam warships (other than the nukes) were suddenly without any warning deleted from the Navy, where I was lucky and could immediately change over to TARTAR, which was on many gas-turbine-powered ships and lasted a few years longer before AEGIS replaced almost every other major US Navy missile system. TARTAR had some computer engineering/programming jobs open and I now learned a whole new kind of software/hardware design and support scheme -- boy, was that a step down, from the 18-bit UNIVAC C-152 computers that TERRIER used to the chained-together 16-bit computers from several manufacturers that TARTAR used, since 18-bit (though now obsolete due to 32- and 64-bit machines becoming standard) gave programmers WAY, WAY more capability than 16-bit did. When TARTAR in the US Navy "bit the dust" (I think that a foreign navy still uses it) a few years later, I moved to the FFG-7 frigates that used a kind of "poor-man's TARTAR" (still limited to the early SM-1 "homing-all-the-way" missiles when TARTAR had changed over to the much more capable command-guided, much-longer-range SM-2 missiles). I did some programming and program testing and spec writing, with my largest work effort being on the several-year-long project to upgrade the Australian FFG-7 ships to SM-2 and an Evolved Seasparrow vertical-launch close-in defense system -- that was a HUGE job like shoe-horning a size 12 foot into a size 8 shoe, but we did our part in developing the programming portion of the system and it WORKED!! By then I was doing Software Quality Assurance and Control (SQA), where I made sure all documents were properly reviewed and OKed and I held the final meetings where we decided if we have finished each major project step and can go to the next one, which was a major change for me. I had to learn all about the SQA process, originally developed for NASA (though we never got to their own Level 5 SQA System as that would have needed many more people and lots more money), and my boss had me flow-chart, by hand, the entire process with all possible branches to make me REALLY know it ASAP -- he stuck my large flow-charts up on the wall just outside his office and directed that everybody study their part in it (only I and our project librarian/documentation/computer storage medium "czar" had to learn the whole thing; just my luck!). To get some idea as to how far behind the US Navy is getting vis-a-vis software, where originally we were on the "bleeding edge" when I started work, I was the ONLY SQA person in our entire group, handling the several concurrent projects we had by juggling the timing of meetings and so forth. In the online video game DIABLO III, to name just one, they have over ONE-HUNDRED (100!!!) people dedicated to just SQA, and that is only a small part of their entire international staff. I felt like Indiana Jones being dragged by his whip behind that Nazi truck, only in my case that truck was getting farther and farther away as the whip stretched...

  • @ParanormalVoid
    @ParanormalVoid 3 роки тому +2

    Dude your youtube channel is amazing! Especially this vid! Helped a lot with computer science 🤞👍

    • @TheTechTrain
      @TheTechTrain  3 роки тому +1

      Thank you very much! I'm so glad you found it helpful. 👍

  • @Liggliluff
    @Liggliluff 4 роки тому +5

    (3:20) Well, you see. "emoji" is a glyph in Unicode that is defined to be a picture, usually with its own colours, unlike other text. These characters are specifically defined to represent these pictures. - "emoticon" is a series of characters, built up by existing symbols that was not intended to be part of the picture. For example the basic smilie ":)" consists of colon and parenthesis, two symbols intended for other things.

    • @AndersJackson
      @AndersJackson 3 роки тому

      No, Emoji are Unicode characters, not series of many. That is three if you encode the Unicode (also known as ISO-10646) with UTF-8 encoding/compression.
      Then characters like Å, Ä and Ö turns out as two characters if you look at UTF-8 encoded files as if they was ASCII or Latin-1 (that is ISO-8859-1). Common missconfiguration of web servers.

    • @cmyk8964
      @cmyk8964 2 роки тому

      @@AndersJackson Not all emoji are one Unicode codepoint. For example, 👍🏻 is made up of 2 codepoints: 👍 and the pale skin tone modifier.

  • @ameennaser3337
    @ameennaser3337 3 роки тому

    As smooth as it get, Thanks!

  • @yasmineeldesoukie2679
    @yasmineeldesoukie2679 4 роки тому +1

    very well and simply explained, thanks a lot , but I have a question: why can 32-bit represent only half the no. of values, I mean why 2 billion while it can represent up to 4.3 billion ??

    • @TheCrookedNoise
      @TheCrookedNoise 2 роки тому

      1 bit is used to represent positive or negative

  • @Harry-dz3bm
    @Harry-dz3bm 5 років тому +1

    thanks for making me pass my GCSEs

    • @TheTechTrain
      @TheTechTrain  5 років тому

      Do you have your exam tomorrow? I'm so glad you found this video helpful. Let me know if there are any other topics or questions you'd find useful. If you do have your exam tomorrow, then GOOD LUCK! 🤞

    • @Harry-dz3bm
      @Harry-dz3bm 5 років тому +1

      @@TheTechTrain It is tomorrow yes, thankyou. I feel really confident going into the exam now :)

    • @TheTechTrain
      @TheTechTrain  5 років тому

      I'm so glad it helped. The very best of luck! Anything else you were wanting to look at? Let me know how it goes!

    • @Harry-dz3bm
      @Harry-dz3bm 5 років тому +1

      The Tech Train I’m revising searching and sorting at the moment

    • @TheTechTrain
      @TheTechTrain  5 років тому

      Linear and Binary, Bubble and Merge?

  • @PiDeeTronic.
    @PiDeeTronic. 10 днів тому

    2:44 Shouldn't it be 128 characters/instructions represented by ASCII because it ranges from 0-127 and not 1-127 and 2^7 = 128 which is the total combinations of 0s and 1s?

  • @soundpassion-africa2874
    @soundpassion-africa2874 4 роки тому

    A very good explanation.

  • @itsmeayan1728
    @itsmeayan1728 5 років тому +1

    Awesome video

  • @TheGryphon14
    @TheGryphon14 5 років тому +3

    For UTF-8, there are 21 free bits. So the highest possible code point will be 2097151 (decimal) or 1FFFFF (hex)

    • @TheTechTrain
      @TheTechTrain  5 років тому

      Don't forget that with UTF-8 only one byte is used for the ASCII characters.

  • @joshmcgill1268
    @joshmcgill1268 2 роки тому +1

    Wonderfully clear and concise delivery, thank you

  • @pappukumarsaw6870
    @pappukumarsaw6870 6 років тому

    Explanation is good.. and helpful as well

  • @deewastamang9135
    @deewastamang9135 4 роки тому

    best explanation ever

  • @TheLumin_a-T
    @TheLumin_a-T Рік тому

    This actually helped me understand why a bunch of symbols have random numbers after it.

  • @24lowhan
    @24lowhan 5 років тому +9

    Alt 1 doesnt work for me :(

  • @mrsemifixit
    @mrsemifixit 6 років тому +1

    How do you get the number 2,147,483,647 from 32 bits?

    • @TheTechTrain
      @TheTechTrain  6 років тому +1

      When calculating binary, each column increases the value of the column to its right by the power of 2. So the first bit is 1, the second bit is 2, and then each subsequent bit or column is multiplied by 2, being 4, then 16, 32, 64 and 128. These are the values for the first 8 columns - or a byte of data. With 8 columns, or 8 bits, you can calculate the highest possible value by adding the value of each column - so 128+64+32+16+8+4+2+1=255. With 32 bits we just simply continue this process. Raising each new column to the power of 2 results in some pretty large numbers very quickly, and when you write out 32 columns, or 32 bits, that's the total you get (well, almost - the first bit is a 'flag' digit to identify the value as Unicode, so we're really only adding up the values of the first 31 columns).

    • @SirFossils
      @SirFossils 6 років тому

      The Tech Train but it's not raising to the power of two, because 16x16 is not 32.

    • @TheTechTrain
      @TheTechTrain  6 років тому +1

      I'm not sure you quite understand what is meant by raising a number to the power of a number. 32 is 2 to the power of 5 because when we write 2 x 2 x 2 x 2 x 2 you'll see that there are five 2's. If you write 16 x 16 - where is the 2?

  • @j7ndominica051
    @j7ndominica051 Рік тому +1

    Keyboard keys have a different number asociated to them that gets translated into "ASCII" later, upper or lower case depending on whether Shift was held down. PS/2 scancode for A is 0x1E. You skipped over intermediate word lengths. For most of the history, a character has been 8 bits, and later 16 bits. Having so many bits comes at cost.
    The Notepad shortcut might be something found in newest Windows only. A Unicode text file is usually prefixed with a technical character called a "byte order mark" to indicate the UTF format. Saving one symbol will actually save two.

  • @Animeproidv
    @Animeproidv 6 років тому +5

    i didnt get the emoji, how is it posible to use emojies on a pc?
    : D

    • @TheTechTrain
      @TheTechTrain  5 років тому +8

      Hold down the Alt key, then press the number '1' on your number pad, then let go of the '1' key, then let go of the Alt key. There you are - an emoji! ☺

    • @relavilrodford9272
      @relavilrodford9272 5 років тому

      @@TheTechTrain ☺

    • @gutegute9459
      @gutegute9459 5 років тому

      @@relavilrodford9272 ☻☻☻☻☻

    • @astronomylover2.0
      @astronomylover2.0 4 роки тому +1

      @@TheTechTrain it does not work for me. Is it because the computer type? 😔

    • @rimjhim2644
      @rimjhim2644 4 роки тому +1

      @@astronomylover2.0 yea same for me

  • @franciscocastro4017
    @franciscocastro4017 4 роки тому +2

    The reason notepad uses four bytes in that example is not because utf-32, but instead because they use utf-16 with an additional BOM at the beginning of the file.

    • @Bonniebelle_00__
      @Bonniebelle_00__ 3 роки тому

      yeah i think i seen something like this in the Wikipedia page

  • @spearlightknight1714
    @spearlightknight1714 3 роки тому

    Thank you so much for the heroes that create these videos. My first time delving into telcom based project and this video helped me so much for a non tech.

  • @duffbeer5668
    @duffbeer5668 3 роки тому +1

    Very well done!

  • @binaryeverest
    @binaryeverest 3 роки тому

    What are emojis encoded in utf-8 or utf-16 or utf-32?😀

  • @teddycook8016
    @teddycook8016 5 років тому +1

    why 7bits can only represent 127 symbols? isnt it 128?

    • @rays.3429
      @rays.3429 5 років тому

      Because 64 + 32 + 16 + 8 + 4 + 2 + 1 = 127

    • @rays.3429
      @rays.3429 5 років тому

      And because 0 is a null character

    • @riaank.4585
      @riaank.4585 3 роки тому

      ​@@rays.3429 But NULL is also a control character, just as 1-31 are, so actually 128 Characters are represented by ASCII.

  • @majki5900
    @majki5900 4 роки тому +2

    It was short video but full of content. Very well explained. Thank You :) !

  • @bostangpalaguna228
    @bostangpalaguna228 4 роки тому +2

    4:45
    wait a second... 2^31 -1 = 2147483647..
    why we call it 32 bits instead of 31 bits?

    • @amandabrunsperger3726
      @amandabrunsperger3726 12 днів тому

      32-bit refers to a type of computer architecture where the processor and operating system can handle data in chunks of 32 bits at a time. This means that the computer can process data and perform calculations on numbers that are 32 bits long.

  • @侍フルーツポンチ-i8p
    @侍フルーツポンチ-i8p 4 роки тому +1

    Thank you! ☺☺☺

  • @whoopsiedaisy9620
    @whoopsiedaisy9620 3 роки тому +1

    Very helpful thanks!!!

  • @grapeshott
    @grapeshott 2 роки тому

    Is Unicode an extension of ASCII?

  • @martinking4615
    @martinking4615 6 років тому

    Thanks ...anything on EBCDIC ?

  • @Shagme
    @Shagme 4 роки тому +2

    Great absolutely great! love the video best video I have viewed for this topic!

    • @TheTechTrain
      @TheTechTrain  4 роки тому

      Thank you so much, I'm very glad you found it so useful! (Feel free to share and help spread the word! 😉👍)

  • @muhammadehtishamulhaq755
    @muhammadehtishamulhaq755 6 років тому +1

    does our system uses a single system at a time
    or
    it toggles between ascii and unicode as needed automatically ?
    what if the file contains simple alphabets as well as the emojis ??

    • @TheTechTrain
      @TheTechTrain  6 років тому +2

      If a text file contains only ASCII files then it will be saved by default as an ASCII file, unless you choose otherwise. If the file contains any Unicode characters then if you try to save it as an ASCII/ANSII file then you will be warned about the potential loss of the Unicode characters. Generally the system will try to keep file sizes low, so will only save using the higher Unicode file size if any Unicode characters are included.

  • @ayoaina2315
    @ayoaina2315 5 років тому +2

    Very good tutorial!☝

    • @TheTechTrain
      @TheTechTrain  5 років тому

      Thank you Ayo the Black guy, I'm so glad you liked it.

  • @kevin00alexander
    @kevin00alexander 4 роки тому +1

    Please solve me a question: If every character and command is being represented first by a decimal number and then to binary number for example "Letter A, 65, 1000001". So what happens with the number 65? What decimal number is attached to this number? I'm so confused. Thank you so much for the video!

    • @Flasherrrr
      @Flasherrrr 4 роки тому +1

      Hey bud! It's pretty straightforward! The number 65 will be broken down as follows: 6 -> 54 and 5 -> 53. Now convert 54 and 53 respectively to their binary formats i.e. 00110110 and 00110101. Both are 8 bits respectively which means the total storage required for the number 65 is 16 bits (2 bytes). Hope this helps.

    • @dekippiesip
      @dekippiesip 4 роки тому +1

      @@Flasherrrr it depends on weather the number is stored as a string or an int. For an int you do as you say, but for an int you convert the number to binary, and that takes a lot less information.

  • @mr.curious1714
    @mr.curious1714 4 роки тому

    Great video . Have understood ascii and unicode clearly . This video deserves thumbs up ..

  • @gayanimanchanayaka3542
    @gayanimanchanayaka3542 Рік тому

    Thanks a lot. top-notch 🙂

  • @pcrowe14
    @pcrowe14 2 роки тому

    How would I type in a passcode on my mobile device in ASCII?

  • @davidlira8853
    @davidlira8853 2 роки тому

    Great job! Could you explain how you reached the 2 billion number for total possibilities for 32bit size? Is it 2^31? And if so, what is the last bit for?

    • @RED40HOURS
      @RED40HOURS 2 роки тому

      The last bit on binary numbers are usually used as the _sign_ of the number
      i.e. if the sign bit is 0, the number is a positive number.
      If the sign bit is 1, it's a negative number.
      Most binary numbers (8 / 16 / 32 / 64 bit) has a sign bit at the end of the number so it's actually 2^n-1 individual numbers
      Hope this helps!
      Edit:
      I'll provide an example:
      1101 - Normally this would be 13, but if we used the last bit (most left) as the sign bit,
      1_101 - This would be -5

  • @thezvid
    @thezvid 4 роки тому +1

    one of the final exam questions was how much bit is unicode
    and what is the answer?

  • @nostalgicagamerppsspp7991
    @nostalgicagamerppsspp7991 6 років тому

    So how does the computer write the text on the screen and how does the text being created at the first place?

    • @TheTechTrain
      @TheTechTrain  6 років тому

      At the simplest level, that's largely the job of the operating system (e.g. Windows. MacOS, Linux etc.). If you have a text file stored in binary then it will be the OS that loads that text file into the computer's memory, then decides on the default application to use to open the file. It will be a combination of the OS and that application which decodes the binary into text and displays it on the screen.

    • @nostalgicagamerppsspp7991
      @nostalgicagamerppsspp7991 6 років тому

      The Tech Train what if i created my own computer out of raw materials like sand to silicon and other metal parts and design the logic gate from cpu and other parts how do i create my own OS?

    • @nostalgicagamerppsspp7991
      @nostalgicagamerppsspp7991 6 років тому

      The Tech Train and how does the OS maker design the rext do they do it by hand and pixelated it and let the instruction execute it?

    • @nostalgicagamerppsspp7991
      @nostalgicagamerppsspp7991 6 років тому

      The Tech Train pls respond i need to be enligthen

    • @TheTechTrain
      @TheTechTrain  6 років тому

      I suspect you're being deliberately awkward (maybe you are one of my students?) but if you are interested there are plenty of examples online of people creating working CPUs using mundane materials. Here is an example of a working CPU made using nothing but redstone in Minecraft: ua-cam.com/video/ziv8SXfMbkk/v-deo.html. If you do ever manage to build a working computer out of rocks from your garden do please let me know!

  • @thecrownofnoah9100
    @thecrownofnoah9100 3 роки тому

    Wow this video was explained so good thx

  • @malithmavinda
    @malithmavinda 5 років тому +1

    A great work.

  • @akkahshhagarwaal2056
    @akkahshhagarwaal2056 5 років тому +3

    Thank you very much! This is the best explanation I've ever seen in my life.

    • @TheTechTrain
      @TheTechTrain  5 років тому

      Thank you so much, I'm very glad you liked it

    • @마이배뷔
      @마이배뷔 4 роки тому

      How can we learn all of them,bcd,ascii ebcduc

  • @daryle1855
    @daryle1855 3 роки тому

    So Sir ,is this also the reason why we cannot type more than 140 characters in google

  • @shilulkr9262
    @shilulkr9262 3 роки тому

    Hey will u answer some of my questions relating to this topic

  • @monirapervin640
    @monirapervin640 3 роки тому +1

    so much helpful!!!......

  • @wisdomandhumanity2732
    @wisdomandhumanity2732 4 роки тому

    Thanks so much. This is a great video

  • @lukefallon
    @lukefallon 5 років тому +4

    Thanks for this. Great explination.

  • @haneulkim4902
    @haneulkim4902 5 років тому +1

    What exactly is utf-8? Could someone explain?

    • @TheTechTrain
      @TheTechTrain  5 років тому

      It's just simply Unicode that uses blocks of 8 bits to represent characters. ASCII uses 7 bits, and extended ASCII uses 8 bits. Unicode 8, or UTF-8 encodes characters using one or more blocks of 8 bits.

    • @haneulkim4902
      @haneulkim4902 5 років тому

      So utf-8 and extended ascii are basically the same thing?

    • @TheTechTrain
      @TheTechTrain  5 років тому +1

      For characters encoded with 8 bits, yes, exactly the same. However, UTF-8 doesn't mean only 8 bits are used - only that blocks of 8 bits are used. So two 8-but blocks could be used, which would be 16 bits.

    • @haneulkim4902
      @haneulkim4902 5 років тому

      Oh so utf8 has 8 block of 8bit? Totally to 64bits?

    • @TheTechTrain
      @TheTechTrain  5 років тому

      No no, UTF-8 is made up of 1, 2, 3 or 4 blocks of 8 bits.

  • @xzl20212
    @xzl20212 3 роки тому

    7 bits should result in 128 (0~127) numbers, right?

  • @tasmiyashaikh3876
    @tasmiyashaikh3876 3 роки тому +1

    Beautifully explained... many thanks

  • @sahirafessy2134
    @sahirafessy2134 5 років тому +1

    Super

  • @nichini8035
    @nichini8035 5 років тому

    Very comprehensive, thank you

    • @TheTechTrain
      @TheTechTrain  5 років тому

      I'm so glad you found it useful. Thank you for your support.

  • @deepshuklaofficial
    @deepshuklaofficial 5 років тому +1

    alt+1 is not working in my notepad

    • @deepshuklaofficial
      @deepshuklaofficial 5 років тому

      @Peterolen I am using Windows

    • @TheTechTrain
      @TheTechTrain  5 років тому

      Hold down Alt, then press 1, then release 1, then release Alt.

  • @SurfistaCamad
    @SurfistaCamad 5 років тому

    what a great explanation!

    • @TheTechTrain
      @TheTechTrain  5 років тому

      Thank you so much, I'm glad you found it useful.