What is pseudocode and how do you use it?

Поделиться
HTML-код
  • Опубликовано: 17 янв 2025

Комментарии • 237

  • @umziwoxolodlodlo285
    @umziwoxolodlodlo285 4 года назад +380

    So basically, pseudocode is instructions on how to write a program. Thanks mate!

    • @kawa99
      @kawa99 3 года назад +25

      10 minutes of a video in one sentence, thanks man.

    • @fahimcreatives8475
      @fahimcreatives8475 3 года назад +1

      @@kawa99 hey kawa. kaaaaaawa....😮
      He actually said it before 😅

    • @KeshariPiyush24
      @KeshariPiyush24 3 года назад +8

      "So basically, pseudocode is instructions on *what* to write in a program. Thanks mate!"

    • @nogrammer
      @nogrammer 2 года назад +4

      @@kawa99 not exactly lol, there's a lot more to it. one sentence is too vague for most people to know how to use this effectively.

    • @modestasriabovas3977
      @modestasriabovas3977 2 года назад +16

      Pseudocode is python but with syntax errors.

  • @nyambesimangolwa5755
    @nyambesimangolwa5755 2 года назад +38

    As a person eager to learn programming, you have no idea how helpful this has been. Thanks so much Carlos (and Codecademy)!

  • @xinth23
    @xinth23 Год назад +3

    This is a wonderful video for novice programmers to learn how to get a started and a wonderful reminder for advanced programmers. It's a great example of first principles and content-first design. As Carlos shows it can even work with everyday taks like cooking ramen, there's no limit to how you can apply this technique. Taking time to understnad the problem gets you half way to your solution.

  • @katmusswoodwind
    @katmusswoodwind 5 лет назад +40

    thanks for this - took me a while to figure that using pseudo code could be really helpful, and this helps that little bit more!

  • @BigCheque
    @BigCheque 2 года назад +4

    That's so explained, I am new on coding, This is practically my first week and this explanation is so easy, I can relate my MS-Excel knowledge on this. I will come back here to thank you properly when i finally finish my programme

  • @joyjoseph8951
    @joyjoseph8951 2 года назад +2

    Thank you for simplifying it. Now i understand that pseudocode is a guide on how to go about writing programs.

  • @francktchamo2350
    @francktchamo2350 2 года назад +10

    for i in range(1,21):
    if i % 15 == 0:
    print("Fizz Buzz")
    elif i % 3 == 0:
    print("Fizz")
    elif i % 5 == 0:
    print("Buzz")
    else:
    print(i)

  • @euL0KI
    @euL0KI 5 лет назад +28

    Thanks for the video. I learned about Pseudocode a long time back but I needed a refresher. This explanation and example was clear and concise. I feel more confident to attempt writing pseudocode for my pet project (which has a couple of tricky tasks)! Thanks again!

  • @thedarkriver1
    @thedarkriver1 Год назад +10

    This vid is way above anyone that is starting out, like myself. But I'm sure it's helpful for many more experienced programmers

    • @kaitlynmccormick1310
      @kaitlynmccormick1310 11 месяцев назад

      Not really.. If you know some code, it's easy to understand that it's just summarizing code like you would an article in English class. Nothing super technical, just key words.

    • @stirleer1466
      @stirleer1466 4 месяца назад +2

      @@kaitlynmccormick1310 just you miss the. "starting out" part.

    • @vallycakezz
      @vallycakezz 9 дней назад

      @@kaitlynmccormick1310 yeah like when he says "so we know that four loop...", no I do not know, I've never heard of four loop before. I'm just starting intro to computer science, and have zero knowledge. anyone have even more beginner stage videos that would recommend?

  • @tundesanusi572
    @tundesanusi572 2 года назад +7

    Thanks for explaining this in such an easy way:)
    It's pretty straightforward!

  • @AcuScorp
    @AcuScorp Год назад +3

    If someone wants to go deeper, check chapter 9 from code complete 2.
    This video is cool but count and number refer to the same variable used so in the pseudocode you should use as single variable and a better name.

  • @johneric2720
    @johneric2720 Год назад

    Thanks a lot Carlos and Codecademy. Before, I was writing brackets in my pseudocode; I didn't know it was a lot easier, but now I know. Thanks a lot.

  • @devn0n
    @devn0n 2 года назад +5

    Cool video, but I also want to point out that as much as reusability isn't the reason for this video, it's helps a whole lot if you plan for reusability in writing your pseudocodes

  • @garlicnator
    @garlicnator Год назад

    Thanks this helped me with my coding. It made it much easier to solve a problem and easier to code it.

  • @jeannesciacchitano3207
    @jeannesciacchitano3207 Год назад +1

    Very helpful!! Thank you!

  • @Mourad-Rachid
    @Mourad-Rachid Год назад +1

    great academy ! great explaining !!

  • @dejvidvangjelofski5273
    @dejvidvangjelofski5273 3 года назад +6

    Simple and easy to understand, great video!

  • @caribbeanman3379
    @caribbeanman3379 2 года назад +34

    With advancements in AI, I think the time is right for a new programming paradigm where you can write your program with plain, simple English statements - or just about any other language - and not have to be concerned with the rigid syntax rules of programming a language. Then an AI compiler reads your human language script and compiles it into machine readable byte code. For example:
    This javascript function:
    function monthName(monthID, abbrevLength) {
    let months = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
    return (months[monthID]).slice(0, abbrevLength);
    };
    Can become:
    Define "monthName" as function with arguments = "monthID", "abbrevLength" {
    Define "months" as array with string values = the months of the year;
    define "result" as months value where index = monthID;
    return left abbrevLength characters of result;
    }
    The beautiful thing about the second human code version is that you can use synonyms. For example the line that says:
    define "result" as months value where index = monthID;
    Could also be written as any of the following:
    define "result" as months value having index monthID;
    define "result" as months value with index monthID;
    define "result" as months value of index monthID;
    define "result" as index monthID of months;
    define "result" as value monthID of months;
    define "result" as months monthID;

    • @taofeekajibade
      @taofeekajibade 2 года назад

      The good news is that the AI itself wouldn't function without some syntax because a certain syntax would have to be written to understand the pseudocode itself.

    • @praveshmaharaj4387
      @praveshmaharaj4387 2 года назад

      to me the first normal code version is easier to understand , your "Human version" seems more complicated lmao.

    • @caribbeanman3379
      @caribbeanman3379 2 года назад +2

      @@praveshmaharaj4387 Only because you're already familiar with, and proficient in, "normal code". A complete newbie just beginning would likely prefer the more human language version.

    • @praveshmaharaj4387
      @praveshmaharaj4387 2 года назад

      @@caribbeanman3379 eh nah it actually seems more complicated and more work.

  • @infotechsolutions4165
    @infotechsolutions4165 Год назад +1

    Great, this is so basically; giving detailed explanation on the pseudo concept 👍👍

  • @bluetortilla
    @bluetortilla 2 года назад +24

    Thank you. Still- pseudocode may not have a required syntax but it does require succinct logic. A newbie like me will find pseudocode daunting because I don't know how to code. There are some formal parameters to it.

    • @ManyPeregrine81
      @ManyPeregrine81 Год назад

      I know that feeling. I am in the exact same situation that you were 8 months ago. But one of my online tutors told me since I'm new to things and instead of me always rushing to Google to find the quick, easy answer. I got all of these puzzle pieces in my mind right now. I just gotta think it though carefully to see what's the next step.

  • @frontrowdota4696
    @frontrowdota4696 3 года назад +2

    1 video and I got it. Very well explained. Thanks. 👍

  • @carbellsarfo
    @carbellsarfo Год назад +1

    Awesome. this is for everyday task. thanks for this

  • @vessou94
    @vessou94 2 года назад +1

    So excited and Thank you so much for your detailed explanation

  • @louiseoconnell7516
    @louiseoconnell7516 3 года назад +6

    Great Video! This really helped me simplify my Pseudocode :-)

  • @NickMutunga
    @NickMutunga Год назад

    Ive understood pseudocode. Thank you for sharing!

  • @adrianrizeanu4111
    @adrianrizeanu4111 10 месяцев назад

    Thank you Sir, your video helped me a lot at a moment i need to start coding in Python and did not know how to start, great video !

  • @emmanuelburuvuru1892
    @emmanuelburuvuru1892 2 года назад

    Thank you for the help.About to give up on coding because its hard but this video makes it a lot easier to implement code.

  • @olashoretijesunimi6039
    @olashoretijesunimi6039 2 года назад +10

    This was Really Great... I enjoyed the whole flow of the video. It was VERY informative and I know much more about pseudo code now. Thanks so much Sir!

    • @charlesossaiuzoka8245
      @charlesossaiuzoka8245 2 года назад

      Please I am using a windows 11... How do I create or find an environment like he used for this pseudocode... I heard him say chrome something.

  • @fredokoh5633
    @fredokoh5633 4 года назад +2

    Thanks for the simple and clear explanations

  • @TwelveDouze12
    @TwelveDouze12 8 месяцев назад

    Thank you so much Carlos, it definitely helped me

  • @annahnjuguna1123
    @annahnjuguna1123 Год назад +1

    very helpful tutorial, thank you

  • @gracenwakeze6108
    @gracenwakeze6108 Год назад +1

    Simple but detailed. ❤

  • @nabaaadel537
    @nabaaadel537 4 года назад +13

    This helped a lot but I’m still confused and I can’t really understand how can I write the last cook ramen

  • @durkstigmanly7607
    @durkstigmanly7607 Год назад

    Great & informative presentation, thanks!

  • @1mjcee
    @1mjcee Год назад

    Thank you so much for this. Very well explained

  • @marvinkogi4044
    @marvinkogi4044 Год назад +1

    great informative video!

  • @donsigundo4712
    @donsigundo4712 4 года назад +5

    Currently 1st year college on Information Technology course it really helps a lot thank you !

  • @kingtube13
    @kingtube13 Год назад +1

    thanks man it was a good and simple explanation for anyone to understand, but one question thoug what programming code are you using

  • @lukhanyoluukay-xd5xg
    @lukhanyoluukay-xd5xg Год назад

    It’s simple & I understand now!

  • @taitworldwide7261
    @taitworldwide7261 3 года назад +2

    Pseudo code is a technic of representing algorithms, and inorder to represent it, you need to follow the rules of writing pseudo codes

  • @shavitbuskila9954
    @shavitbuskila9954 2 года назад +3

    hi, tip for next time, pseduo code should teach me to how to solve questions in a simple way, but i don't know how to code, i have an exam next week, i will be asked to solve 3 psedo codes, and i must pass it, u directly went to a coding language, hopefully next time u could show in a simple way, also more rules and stuff, anyways amazing video

    • @babytoshiro7014
      @babytoshiro7014 Год назад

      This. I am a beginner with difficulty learning and unfortunately this did not help me. But... I'm sure it help others

  • @talhamasood6847
    @talhamasood6847 2 года назад

    Thanks for the video. It was really helpful. Fully understood pseudo code.

  • @jondanielcabansay239
    @jondanielcabansay239 2 года назад

    this is a big help! (continue )4:25

  • @phinehasmacharia6352
    @phinehasmacharia6352 Год назад

    thanks codecademy and ALX

  • @aiyenibeboluwatife4836
    @aiyenibeboluwatife4836 Год назад

    Thanks for this 🙏

  • @mrtechthisout
    @mrtechthisout 2 года назад

    this guy did a good job 👍🏾👍🏾

  • @hermelayirga4105
    @hermelayirga4105 2 года назад

    Thank you very much. The video was very helpful.

  • @gadvingitamo
    @gadvingitamo Год назад

    Wow good lesson on Pseudo code

  • @Rleatfitness
    @Rleatfitness 2 года назад

    Thank you, the ramen instructions analogy helped me to understand this much better

  • @phyllyciasheats5395
    @phyllyciasheats5395 2 года назад

    Thank you for this explanation. This is very informative and easy to understand.

  • @cozakokotano6448
    @cozakokotano6448 Год назад

    Thanks for the amazing ultimate video.

  • @judith.c.esomonu6999
    @judith.c.esomonu6999 2 года назад

    This was very concise. Thanks!!!!

  • @lillyogbule8213
    @lillyogbule8213 2 года назад

    Thanks for the video/explanation it was helpful...

  • @engesra2fathy
    @engesra2fathy Год назад

    amazing tutorial

  • @tntro_trotki2089
    @tntro_trotki2089 2 года назад

    thank you very much this exactly, what i wanted..

  • @markmugi8242
    @markmugi8242 Год назад

    SIMPLE AND HELPFUL

  • @godstimeokoene3048
    @godstimeokoene3048 Год назад +1

    Great video. Coding is not met to be impossible, but with the wrong ideas and notions!😢

  • @bvbteam911
    @bvbteam911 Год назад +2

    \\you explain like we undestand already this stuff
    \\ what the hack

  • @gardensindeze2568
    @gardensindeze2568 2 года назад

    great example in food staff issue

  • @thecliniconlinetv5396
    @thecliniconlinetv5396 2 года назад

    you make a great tutor. thanks

  • @TanjinaAkter-cy7rd
    @TanjinaAkter-cy7rd 2 месяца назад

    Thanks thanks thanks ❤

  • @ricaulcastellon9615
    @ricaulcastellon9615 3 года назад

    Master piece!

  • @jameschasezmutai
    @jameschasezmutai 2 года назад

    this is a great Tutorial thanks lots

  • @yussufabdullahi5577
    @yussufabdullahi5577 2 года назад

    thanks so satisfying about pseudocode

  • @ulrikmagana
    @ulrikmagana 3 года назад

    awesome explanation

  • @odenyire
    @odenyire 2 года назад

    Nice one. Very simple and very interesting

  • @akau7591
    @akau7591 4 года назад +4

    So clear and informative, amazing video.

  • @solagbadeabdulmalik4047
    @solagbadeabdulmalik4047 2 года назад

    am new to word of "software" am newbie i will be glad i someone can take me in hand through the process🥺🥺🥺🥺

  • @VictorKim-yy3vv
    @VictorKim-yy3vv Год назад

    I have learnt the very thing i needed to generate code from chatgpt

  • @abdullahdsouky6409
    @abdullahdsouky6409 Год назад +1

    coming from alx😁

  • @Warwipf
    @Warwipf Год назад

    1:50 Ah yes, 3 interlocked gears, this represents my brain while coding very well

  • @indestructible-today
    @indestructible-today Год назад

    Very nice ☺

  • @luomahh
    @luomahh Год назад

    What software did you use for the codes

  • @Fomaku3
    @Fomaku3 2 года назад

    thank you for this

  • @abrahamanand5739
    @abrahamanand5739 3 года назад

    Thanks for the video!

  • @VisualineTV
    @VisualineTV 4 года назад

    Really helpful. Thank you.

  • @TechWithNGABO
    @TechWithNGABO 2 года назад

    very understable

  • @chibuikeochinanwata9828
    @chibuikeochinanwata9828 2 года назад

    Thanks a lot

  • @KireshchandDhanasar
    @KireshchandDhanasar 2 года назад

    Brilliant!

  • @easinwebpro
    @easinwebpro 4 года назад

    Thanks, Man. It's really helpful video 😇👍😇😍👍😇😍

  • @tafadzwaaaliyahndoro338
    @tafadzwaaaliyahndoro338 2 года назад

    Thank you so much!!!1

  • @ewilson9661
    @ewilson9661 4 года назад +3

    The noodles a quick way, an understandable way to describe, thanks so much!

    • @Doqtorify
      @Doqtorify 4 года назад

      What is that? Method ?
      -

  • @howdoicommentontcomopuedo9365
    @howdoicommentontcomopuedo9365 3 года назад

    Great thanks bro

  • @git-how348
    @git-how348 2 года назад

    Thank you

  • @VlasiychukY
    @VlasiychukY 4 года назад

    Super explained

  • @gaminggodfather3703
    @gaminggodfather3703 5 лет назад +1

    Youre the best teacher why do u not have a million subs

  • @XSB.504
    @XSB.504 6 месяцев назад

    I'm missing something. Are there any prerequisites to understanding what's going on here? Seems like the pseudo words originally used had more structure than I was expecting. I was expecting just english - at least until the actual coding part started. Where did the plain English commands come from?

  • @Honest_Reply900
    @Honest_Reply900 4 месяца назад

    It's very confusing when you have an algorithm and you also have a pseudocode, is there any video which can differentiate them ?

  • @successchemtutorial95
    @successchemtutorial95 2 года назад

    i want to learn this pseudo code please how do I get started?

  • @Joseph-ri5ct
    @Joseph-ri5ct 2 года назад

    Which app are you using for coding,so

  • @DrewNorman
    @DrewNorman 4 года назад

    Brilliant bro

  • @cryptocathedral
    @cryptocathedral 2 года назад

    Nice 👍

  • @keziahakandwanaho9471
    @keziahakandwanaho9471 3 года назад +2

    Wow good teacher I'm impressed

  • @isabeladeniran
    @isabeladeniran Год назад

    how do we find Carlos?

  • @edwinfeliz5487
    @edwinfeliz5487 5 лет назад +6

    how do you practice pseudocode?

    • @omarn8266
      @omarn8266 4 года назад

      YOU COOK RAMEN!

    • @edwinfeliz5487
      @edwinfeliz5487 4 года назад

      @@omarn8266 nice, I was actually hungry.

  • @wisemenentertainment9887
    @wisemenentertainment9887 2 года назад

    WHAT EDITOR DID YOU USE TO WRITE THE CODE. IM A BEGINNER, PLEASE HELP BREAK IT DOWN

  • @micosarines636
    @micosarines636 4 года назад

    Thank you sir

  • @TrevorCS02
    @TrevorCS02 3 года назад

    helpful, thanks

  • @francktchamo2350
    @francktchamo2350 2 года назад

    I tried to do the Fizz Buzz exercice before seeing what you did. I think it's not a obligation to write exactly what you did.
    - FOR LOOP i from 1 to 20
    - IF i is multiple of 3 and 5
    print "Fizz Buzz"
    - ELSE IF i is multiple of 3
    print "Fizz "
    - ELSE IF i is multiple of 5
    print "Buzz "
    - ELSE
    print i
    What do you think ?

    • @Ascii_616
      @Ascii_616 2 года назад +1

      MOD (%) is an important part (key commang) of the main code also assignment operator(==) so i guess you need to mention it and capitalize it,

  • @queenelizabethuzor8340
    @queenelizabethuzor8340 2 года назад +1

    Wow, seems like every one understood this except me. I don't even understand what you did