Home About Prepare Take Part Information Challenge Site Contact

The TCS OCC Tutorials

This section provides some tutorials that are specific to solving the tasks found in this Challenge.

Quick tips

Widening the Blockly workspace
The space for your blocks can be increased by collapsing the question menu:
hide menu button

Disabling blocks in Blockly
By right-clicking on a block you can disable it:
hide menu button

This is the equivalent of commenting out code in other programming languages. Try disabling and then enabling different blocks here:

It can be useful when trying to find out which part of your code is doing something unexpected.

In Picture module questions, if the picture you have made is getting in the way of the shadow image you are wanting to see. Disabling the blocks that produce your image is one way of keeping your code and seeing below.

Keyboard shortcuts
Clicking on a block selects it and any blocks it contains. It is now possible to copy, paste and delete with the keyboard in the same way you normally complete these operations on your computer.
e.g. Paste: ctrl-V (or cmd-V on a Mac)

Tutorials index