If you're seeing this message, it means we're having trouble loading external resources on our website.

If you're behind a web filter, please make sure that the domains *.kastatic.org and *.kasandbox.org are unblocked.

Main content

Pseudocode Equivalents

📝 See similar code in: App Lab | Snap | Python

Defining a procedure

Here's the equivalent of that pseudocode in more languages:

Procedures with parameters

Procedures with return values

Conditionals with if, else, booleans

Nested conditionals

Here's the equivalent of that pseudocode in more languages:

Compound booleans

Here's the equivalent of that pseudocode in more languages:

Random numbers

Here's the equivalent of that pseudocode in more languages:

Numbered repetition of instructions

Here's the equivalent of that pseudocode in more languages:

Conditional repetition

Here's the equivalent of that pseudocode in more languages:

Storing and updating lists

Here's the equivalent of that pseudocode in more languages:
Here's the equivalent of that pseudocode in more languages:

List iteration

Here's the equivalent of that pseudocode in more languages:

Want to join the conversation?

No posts yet.