Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Pseudocodes (Programming Basics)

Day3,
Computer Science has always been a fun subject for me.It is not the hardware part that impresses me but the programming one.Programming is quite amazing and simple only if seen from the right perspective.The thing that admire about it is that it enables you to do anything you would like to,there is simply no limit.If you can imagine something,you can do it.The only question is how creative you are.

Pseudocodes are probably the first thing taught in a programming class.They are like the basic structure of your program telling it what to do. In the words of Google its defined as " a notation resembling a simplified Programming Language, used in program design."
Using pseudocode is a clear and concise way to represent an algorithm. Data items to be processed by the algorithm are given meaningful names in the same way that variables and constants are in a high-level programming language. Pseudocode is not bound by the strict syntax rules of a programming language. It does what its name says; it pretends to be programming code!

• the pseudocode for conditional statements
IF … THEN … ELSE … ENDIF
CASE … OF … OTHERWISE … ENDCASE

• the pseudocode for loop structures
FOR … TO … NEXT
REPEAT … UNTIL
WHILE … DO … ENDWHILE

• the pseudocode for input and output statements
INPUT and OUTPUT
(e.g. READ and PRINT)

• the pseudocode for standard actions
totalling (e.g. Sum ← Sum + Number)
counting (e.g. Count ← Count + 1)

A great way to learn programming and to test your pseudocode in different programming languages is PyCharm.
Have a nice day!


This post first appeared on A Journey To Ivy League, please read the originial post: here

Share the post

Pseudocodes (Programming Basics)

×

Subscribe to A Journey To Ivy League

Get updates delivered right to your inbox!

Thank you for your subscription

×