What is pseudocode and how do you use it?

  Рет қаралды 503,993

Codecademy

Codecademy

5 жыл бұрын

Writing code can be a difficult and complex process. Sometimes, breaking down a multilayered problem into smaller, easily digestible steps is a helpful way to frame your goals and anticipate problems before you get started. In this video, Carlos shows us how this can be done with pseudocode.
Take Codecademy's Code Foundations course: j.mp/3eQRzU7
- - - - -
Join the millions learning to code with Codecademy.
Learn to code: j.mp/2QS8UnB
Check out our full course catalog: j.mp/3tfN3Uq

Пікірлер: 225
@umziwoxolodlodlo285
@umziwoxolodlodlo285 3 жыл бұрын
So basically, pseudocode is instructions on how to write a program. Thanks mate!
@kawa99
@kawa99 2 жыл бұрын
10 minutes of a video in one sentence, thanks man.
@fahimcreatives8475
@fahimcreatives8475 2 жыл бұрын
@@kawa99 hey kawa. kaaaaaawa....😮 He actually said it before 😅
@KeshariPiyush24
@KeshariPiyush24 2 жыл бұрын
"So basically, pseudocode is instructions on *what* to write in a program. Thanks mate!"
@nogrammer
@nogrammer 2 жыл бұрын
@@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 жыл бұрын
Pseudocode is python but with syntax errors.
@katmusswoodwind
@katmusswoodwind 5 жыл бұрын
thanks for this - took me a while to figure that using pseudo code could be really helpful, and this helps that little bit more!
@xinth23
@xinth23 6 ай бұрын
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.
@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.
@tundesanusi572
@tundesanusi572 2 жыл бұрын
Thanks for explaining this in such an easy way:) It's pretty straightforward!
@BigCheque
@BigCheque Жыл бұрын
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
@nyambesimangolwa5755
@nyambesimangolwa5755 2 жыл бұрын
As a person eager to learn programming, you have no idea how helpful this has been. Thanks so much Carlos (and Codecademy)!
@steveojata9853
@steveojata9853 Жыл бұрын
Nice
@cynthiaomofonmwan198
@cynthiaomofonmwan198 11 ай бұрын
How is it going mate?
@dejvidvangjelofski5273
@dejvidvangjelofski5273 2 жыл бұрын
Simple and easy to understand, 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.
@joyjoseph8951
@joyjoseph8951 Жыл бұрын
Thank you for simplifying it. Now i understand that pseudocode is a guide on how to go about writing programs.
@frontrowdota4696
@frontrowdota4696 2 жыл бұрын
1 video and I got it. Very well explained. Thanks. 👍
@fredokoh5633
@fredokoh5633 3 жыл бұрын
Thanks for the simple and clear explanations
@thedarkriver1
@thedarkriver1 11 ай бұрын
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 4 ай бұрын
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.
@infotechsolutions4165
@infotechsolutions4165 Жыл бұрын
Great, this is so basically; giving detailed explanation on the pseudo concept 👍👍
@louiseoconnell7516
@louiseoconnell7516 3 жыл бұрын
Great Video! This really helped me simplify my Pseudocode :-)
@phyllyciasheats5395
@phyllyciasheats5395 Жыл бұрын
Thank you for this explanation. This is very informative and easy to understand.
@vessou94
@vessou94 2 жыл бұрын
So excited and Thank you so much for your detailed explanation
@francktchamo2350
@francktchamo2350 2 жыл бұрын
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)
@garlicnator
@garlicnator 7 ай бұрын
Thanks this helped me with my coding. It made it much easier to solve a problem and easier to code it.
@olashoretijesunimi6039
@olashoretijesunimi6039 2 жыл бұрын
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.
@cdm96247
@cdm96247 Жыл бұрын
Clear and excellent explanation, thank you very much!!
@talhamasood6847
@talhamasood6847 Жыл бұрын
Thanks for the video. It was really helpful. Fully understood pseudo code.
@TwelveDouze12
@TwelveDouze12 Ай бұрын
Thank you so much Carlos, it definitely helped me
@judith.c.esomonu6999
@judith.c.esomonu6999 2 жыл бұрын
This was very concise. Thanks!!!!
@NickMutunga
@NickMutunga 5 ай бұрын
Ive understood pseudocode. Thank you for sharing!
@adrianrizeanu4111
@adrianrizeanu4111 3 ай бұрын
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 !
@donsigundo4712
@donsigundo4712 3 жыл бұрын
Currently 1st year college on Information Technology course it really helps a lot thank you !
@Rleatfitness
@Rleatfitness 2 жыл бұрын
Thank you, the ramen instructions analogy helped me to understand this much better
@cjmatheka
@cjmatheka 10 ай бұрын
Thank you so much for this. Very well explained
@devn0n
@devn0n 2 жыл бұрын
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
@jeannesciacchitano3207
@jeannesciacchitano3207 9 ай бұрын
Very helpful!! Thank you!
@hermelayirga4105
@hermelayirga4105 Жыл бұрын
Thank you very much. The video was very helpful.
@ewilson9661
@ewilson9661 4 жыл бұрын
The noodles a quick way, an understandable way to describe, thanks so much!
@Doqtorify
@Doqtorify 3 жыл бұрын
What is that? Method ? -
@VisualineTV
@VisualineTV 3 жыл бұрын
Really helpful. Thank you.
@carbellsarfo
@carbellsarfo Жыл бұрын
Awesome. this is for everyday task. thanks for this
@Mourad-Rachid
@Mourad-Rachid 10 ай бұрын
great academy ! great explaining !!
@tntro_trotki2089
@tntro_trotki2089 Жыл бұрын
thank you very much this exactly, what i wanted..
@gracenwakeze6108
@gracenwakeze6108 11 ай бұрын
Simple but detailed. ❤
@akau7591
@akau7591 3 жыл бұрын
So clear and informative, amazing video.
@lillyogbule8213
@lillyogbule8213 2 жыл бұрын
Thanks for the video/explanation it was helpful...
@lukhanyoluukay-xd5xg
@lukhanyoluukay-xd5xg Жыл бұрын
It’s simple & I understand now!
@annahnjuguna1123
@annahnjuguna1123 Жыл бұрын
very helpful tutorial, thank you
@abrahamanand5739
@abrahamanand5739 3 жыл бұрын
Thanks for the video!
@easinwebpro
@easinwebpro 3 жыл бұрын
Thanks, Man. It's really helpful video 😇👍😇😍👍😇😍
@odenyire
@odenyire 2 жыл бұрын
Nice one. Very simple and very interesting
@mrtechthisout
@mrtechthisout Жыл бұрын
this guy did a good job 👍🏾👍🏾
@thecliniconlinetv5396
@thecliniconlinetv5396 2 жыл бұрын
you make a great tutor. thanks
@durkstigmanly7607
@durkstigmanly7607 7 ай бұрын
Great & informative presentation, thanks!
@bluetortilla
@bluetortilla Жыл бұрын
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 8 ай бұрын
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.
@cozakokotano6448
@cozakokotano6448 8 ай бұрын
Thanks for the amazing ultimate video.
@ricaulcastellon9615
@ricaulcastellon9615 2 жыл бұрын
Master piece!
@aiyenibeboluwatife4836
@aiyenibeboluwatife4836 10 ай бұрын
Thanks for this 🙏
@AcuScorp
@AcuScorp Жыл бұрын
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.
@marvinkogi4044
@marvinkogi4044 Жыл бұрын
great informative video!
@jameschasezmutai
@jameschasezmutai 2 жыл бұрын
this is a great Tutorial thanks lots
@VlasiychukY
@VlasiychukY 4 жыл бұрын
Super explained
@engesra2fathy
@engesra2fathy 11 ай бұрын
amazing tutorial
@phinehasmacharia6352
@phinehasmacharia6352 11 ай бұрын
thanks codecademy and ALX
@ulrikmagana
@ulrikmagana 2 жыл бұрын
awesome explanation
@DrewNorman
@DrewNorman 4 жыл бұрын
Brilliant bro
@kingtube13
@kingtube13 Жыл бұрын
thanks man it was a good and simple explanation for anyone to understand, but one question thoug what programming code are you using
@keziahakandwanaho9471
@keziahakandwanaho9471 3 жыл бұрын
Wow good teacher I'm impressed
@solagbadeabdulmalik4047
@solagbadeabdulmalik4047 Жыл бұрын
am new to word of "software" am newbie i will be glad i someone can take me in hand through the process🥺🥺🥺🥺
@markmugi8242
@markmugi8242 Жыл бұрын
SIMPLE AND HELPFUL
@gadvingitamo2019
@gadvingitamo2019 Жыл бұрын
Wow good lesson on Pseudo code
@yussufabdullahi5577
@yussufabdullahi5577 Жыл бұрын
thanks so satisfying about pseudocode
@nabaaadel537
@nabaaadel537 3 жыл бұрын
This helped a lot but I’m still confused and I can’t really understand how can I write the last cook ramen
@taitworldwide7261
@taitworldwide7261 2 жыл бұрын
Pseudo code is a technic of representing algorithms, and inorder to represent it, you need to follow the rules of writing pseudo codes
@caribbeanman3379
@caribbeanman3379 Жыл бұрын
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 Жыл бұрын
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 Жыл бұрын
to me the first normal code version is easier to understand , your "Human version" seems more complicated lmao.
@caribbeanman3379
@caribbeanman3379 Жыл бұрын
@@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 Жыл бұрын
@@caribbeanman3379 eh nah it actually seems more complicated and more work.
@VictorKim-yy3vv
@VictorKim-yy3vv 11 ай бұрын
I have learnt the very thing i needed to generate code from chatgpt
@Fomaku3
@Fomaku3 Жыл бұрын
thank you for this
@KireshchandDhanasar
@KireshchandDhanasar 2 жыл бұрын
Brilliant!
@howdoicommentontcomopuedo9365
@howdoicommentontcomopuedo9365 2 жыл бұрын
Great thanks bro
@micosarines636
@micosarines636 3 жыл бұрын
Thank you sir
@shavitbuskila9954
@shavitbuskila9954 Жыл бұрын
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
@gardensindeze2568
@gardensindeze2568 Жыл бұрын
great example in food staff issue
@chibuikeochinanwata9828
@chibuikeochinanwata9828 Жыл бұрын
Thanks a lot
@tafadzwaaaliyahndoro338
@tafadzwaaaliyahndoro338 Жыл бұрын
Thank you so much!!!1
@farshadgh2011
@farshadgh2011 8 ай бұрын
Very nice ☺
@niyongabojeanpierre6731
@niyongabojeanpierre6731 Жыл бұрын
very understable
@sase1017
@sase1017 3 жыл бұрын
Thanks king
@TrevorCS02
@TrevorCS02 2 жыл бұрын
helpful, thanks
@godstimeokoene3048
@godstimeokoene3048 10 ай бұрын
Great video. Coding is not met to be impossible, but with the wrong ideas and notions!😢
@alvinofportharcourt2118
@alvinofportharcourt2118 Жыл бұрын
thank you
@odunola1234
@odunola1234 3 жыл бұрын
good job
@git-how348
@git-how348 2 жыл бұрын
Thank you
@Claybone12
@Claybone12 3 жыл бұрын
Thanks
@jasonavi5280
@jasonavi5280 3 жыл бұрын
My friends in class use windows to run their pseudocode compiler. How do i write pseudocode and perhaps which compiler is preferable on macos ?
@jondanielcabansay239
@jondanielcabansay239 Жыл бұрын
this is a big help! (continue )4:25
@dsulvadarius
@dsulvadarius 2 жыл бұрын
Awesome.
@cryptocathedral
@cryptocathedral Жыл бұрын
Nice 👍
@Warwipf
@Warwipf Жыл бұрын
1:50 Ah yes, 3 interlocked gears, this represents my brain while coding very well
@adesunloyekehindesamuel6867
@adesunloyekehindesamuel6867 Жыл бұрын
Its a good one
@blowingupblocks
@blowingupblocks 2 жыл бұрын
thnx for the nice vid
@carlo6044
@carlo6044 2 жыл бұрын
ty
@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 жыл бұрын
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,
@faithojo90
@faithojo90 2 жыл бұрын
Thanks for the video, pls in a case when we are ask to calculate the sum of square of given input of numbers, and we given instruction to create a white board and pseudocode. 1. create the algorithm in a m_square.png 2. Create pseudocode and save it as file as the 0-sum_squares.txt. pls how am I going to go about that, hope to hear from you soon
@excelbrookstv7393
@excelbrookstv7393 Жыл бұрын
I hope you finished your ALX course bcos I'm solving this same problem😂
@RKHageman
@RKHageman 10 ай бұрын
Pretty sure they’re not going to do your homework for you…
@kimicox7698
@kimicox7698 3 жыл бұрын
What a handsome guy. Thanks for the tips!
@alfirahmancalfiadro6591
@alfirahmancalfiadro6591 3 жыл бұрын
Thank you, i literally panic on the lecture not knowing any of this
@micosarines636
@micosarines636 3 жыл бұрын
SAME!
@leonardoeneria3100
@leonardoeneria3100 3 жыл бұрын
Try me my teach just dropped this outa nowhere with no explanation then Activity!
@maylasantiago5087
@maylasantiago5087 3 жыл бұрын
I love you !
@sagar6846
@sagar6846 3 жыл бұрын
same to you.....
What is whiteboarding?
9:08
Codecademy
Рет қаралды 22 М.
My Brain after 569 Leetcode Problems
7:50
NeetCode
Рет қаралды 2,4 МЛН
Super gymnastics 😍🫣
00:15
Lexa_Merin
Рет қаралды 98 МЛН
She ruined my dominos! 😭 Cool train tool helps me #gadget
00:40
Go Gizmo!
Рет қаралды 51 МЛН
How Do I Write Pseudocode?
27:58
MrBrownCS
Рет қаралды 648 М.
Python 101: Learn the 5 Must-Know Concepts
20:00
Tech With Tim
Рет қаралды 1 МЛН
How to Solve ANY LeetCode Problem (Step-by-Step)
12:37
Codebagel
Рет қаралды 98 М.
Why You Shouldn't Nest Your Code
8:30
CodeAesthetic
Рет қаралды 2,6 МЛН
basics of CODING in 10 minutes
15:34
The StudyTube Project
Рет қаралды 1,5 МЛН
convert psuedocode to flow chart-computer
7:56
Jacob Sichamba Online Math
Рет қаралды 66 М.
"C" Programming Language: Brian Kernighan - Computerphile
8:26
Computerphile
Рет қаралды 1,8 МЛН
how Google writes gorgeous C++
7:40
Low Level Learning
Рет қаралды 787 М.