What is the difference between sourcecode and pseudocode? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is the difference between sourcecode and pseudocode?

24th Feb 2016, 9:16 AM
Anakin Sepherd
Anakin Sepherd - avatar
6 Answers
+ 4
Source code is the actual code that can be compiled into an app and then be executed by the machine. Pseudo code is just the algorithm of the program, it is how the code would look like when it is actually programmed.
16th May 2016, 11:43 AM
James Flanders
+ 1
Source code is written in programming language and is ready to compile.. pseudo code is written in simple English, and cannot be compiled using a compiler..
5th Aug 2016, 9:35 PM
Ahmed Shafeeu
Ahmed Shafeeu - avatar
0
Pseudo code is a non language specific description of what code should do. It allows the reader to understand what code they should implement with out tying it down to an implementation in one language. it's good for explanation. It might be that it discusses in every day language an algorithm. But it is not it self an algorithm. For example: pseudo code. If x is greater than why then add one to y. source code is the implementation of code. an implementation of the above pseudo code might be. if (x > y) { y++ }
7th Aug 2016, 7:30 AM
Mi You
0
....
1st Dec 2016, 5:33 PM
สักวันฉัน จะดีพอ (สิ่งที่ฉันเป็น)
สักวันฉัน จะดีพอ (สิ่งที่ฉันเป็น) - avatar
0
...
1st Dec 2016, 5:33 PM
สักวันฉัน จะดีพอ (สิ่งที่ฉันเป็น)
สักวันฉัน จะดีพอ (สิ่งที่ฉันเป็น) - avatar
0
Pseudo code isn't generally written into any IDE. just so you know. I write pseudo code on paper to make sure I understand in english what I want my code (or source code. They mean the same thing.) to do. its useful because as code becomes complex it is harder to keep in your mind what you are trying to achieve. It can be used like a plan. It keeps objectives clear. This is important as time wastage occurs and confusion can occur as the mind tires during coding sessions that do not go smoothly. It also meams you can share your algorithm with others so they can understand, or perhaps you wish to have an algorithm readily available if you need to implement a similar solution to a different problem at later date--regardless of the programming language you need to implement the algorithm in.
10th Dec 2016, 3:32 PM
Mi You