Well a user here asked me to make a pseudocode Tutorial so to help some newbies, and well here it is! I made a very brief tutorial for you to understand!
What is Pseudocode?
Pseudocode is a short hand way of describing a computer program. Rather than use the specific syntax of a computer language, more general wording is used. Using pseudocode, it is easier for a non-programmer to understand the general workings of the program.
Why use it?
Well, This is usually made before a programmer starts making the actual program with Syntax, So as just to have the idea of the program. This should be written to the extend than every person, even without knowing any programming should still understand because it should be like reading some bullets points in simple and understandable language ( like English )
Ok, so as I am confident in VB 6.0 I will show you a piece of code in VB and then make it in pseudocode! The VB code will not be understood by everyone, but the pseudocode Yes! it SHOULD be understood!
Dim Num1 As Integer Dim Num2 As Integer Num1 = Text1.Text Num2 = Text2.Text If Num1 > Num2 Then MsgBox "Num1 is Greater than Num2" If Num1 < Num2 Then MsgBox "Num2 is Greater than Num1" If Num1 = Num2 Then MsgBox "Num1 and Num2 are equal"
Make Num1 as the text in Text1 Make Num2 as the text in Text2 if Num1 is greater than Num2 then "Num1 is greater than Num2" else if Num1 is smaller than Num2 then "Num2 is Greater then Num1" else if Num1 is equal to Num2 then "Num1 and Num2 are equal"
As you can see the pseudocode is very close to the Actual VB Code thats because nowadays we are trying to make the programming languages as close as possible to our natural language! well as you can see at first there was the Machine Code that you had to program with Binary ( 1s and 0s ) then the Assembly was created and it had the Mnemonics like ADD and such, you see it had words that we could read then the programming languages were always updated and made more close to our natural langauge ( a language that we can speak ) And its said that in a while we will be able to program in pseudocode but for now its a little far, but by time we'll see!
Well I hope that you understood a little more what pseudocode is!!
If you have any questions/problems/feedback pls post here and I will sureley Help you!
So I'm waiting for your feedback
Ow and if you want me to make you some tutorials request what you want and I will see what I can do! I will be happy making some tuts here!