Primary Code

Primary Code is an application used to learn the basics of Programming, in pseudocode, Java or Scratch languages. For this, in each proposed exercise you can see the pseudocode, and the corresponding Java and Scratch codes.

To use the application you only need to have Java installed on your computer (from version 8).

Choose the interaction mode

You can use the mouse or Makey Makey! Choose the mode you like the most!

What will you find in the application?

  • Input and output

  • Conditionals

  • Loops

  • Arrays

  • Files

  • Functions

  • Recursion

  • ... and a surprise!

Input and output

Practice standard input and output concepts on screens like these!

Conditionals

Practice the different types of conditional sentences!

Loops

Many more screens about loops to improve your level!

Arrays

Discover the different ways to use an array!

You can also find bidimensional arrays and arrays of objects

New! Files

Learn how files are handled! Practice with text files and binary files

Read data from a file

Learn to read data from a file

Write data on a file

Learn to write data on a file

New! Functions

Learn to use the different types of functions!

Functions that receive parameters and return a result

Functions that receive parameters and don't return a result

Functions that don't receive parameters and return a result

Functions that don't receive parameters and don't return a result

New! Recursion

Practice with different exercises of recursive functions! You will learn the different types of recursion!

Lineal recursion

Learn with different examples of lineal recursion

Tail recursion

Learn with different examples of tail recursion

... and a surprise!

You will find games to learn in a much more fun way!

Play the piano

Learn how a piano works and you can also play the notes

Find the treasure

Practice the loops with this game in which you have to guide the pirate to find the treasure. Be careful with the traps!