Download Blocks

Filename

Pseudo blocks are downloaded as XML file

Upload Blocks

Download Pseudocode

Filename

Pseudocode is downloaded as TXT file

Pseudocode Challenges

Use these challenges to develop your knowledge of pseudocode, and improve your skills in problem-solving. Solutions are provided for each of the challenges. The solutions provided are not necessarily the only possible solutions – there are often several different ways of solving programming problems, some more efficient than others.

The challenges are sequenced in order of difficulty, beginning with easier problems, and progressing to more complex challenges involving multiple programming constructs (sequence, selection, iteration) and programming techniques (arrays, subroutines, files).

Selected Challenge:
Description:
Programming Techniques:
Test Inputs:
Test Outputs:
Preconditions:
Show Solution

  • pseudoBlox DEMO
  • Code
    • Show Pseudocode [Alt+p]
    • Run Pseudocode [Alt+r]
    • Download Pseudocode [Alt+s]
    • Edit Pseudocode (toggle on/off) [Alt+w]
    • Clear Pseudocode [Alt+c]
    • Clear Output [Alt+x]
    • Clear All [Alt+a]
  • Blocks
    • Download Blocks [Alt+l]
    • Upload Blocks [Alt+u]
    • Clear Blocks [Alt+b]
  • Options
    • Press Escape to exit fullscreen
    • Fullscreen Blocks
    • Fullscreen Code
    • Fullscreen Output
    • Code giant font
    • Code extra large font
    • Code large font
    • Code standard font
    • Light mode
    • Dark mode
    • Accessibility mode
  • Tutorials
    • Using pseudoBlox
    • Introduction to Pseudocode
    • Pseudocode Challenges
  • Examples
    • Input and Output
    • String functions
    • Selection: if elseif else
    • Selection: switch case
    • Iteration: for next
    • Iteration: while endwhile
    • Iteration: do until
    • Arrays: 1D
    • Arrays: 2D
    • Subroutines: procedures
    • Subroutines: functions
    • Files: writing to
    • Files: reading from
    • Miscellaneous: ASCII
    • Miscellaneous: Caesar Cypher
    • Miscellaneous: Random
    • Miscellaneous: Validation
  • Algorithms
    • Searching: Linear Search
    • Searching: Binary Search
    • Sorting: Bubble Sort
    • Sorting: Insertion Sort
    • Sorting: Merge Sort
  • About
    • Demo Version
    • Licence
  • Blocks Mode

abc abc 12.3 12.3 12.3 12.3 true abc def abc def abc A 65 abc 2 abc abc 0 3 123 1 1 9 45 3.1 64 10 64 10 1 100 1 10 1 10 1 myArray 3 myArray 0 myArray 0 myArray my2dArray 3 3 my2dArray 0 0 my2dArray 0 0 myText.txt myText.txt myFile myFile myFile myFile abc myFile myFile myFile