CMPS 002 - Computer Literacy

Prof. Paulo Franca

CyberSlug Rules!

Classes

Class Syllabus

Grading Policy

Labs

Interact

Login

  • enter system
  • get attendance
  • submit work
  • take lab quiz
  • check scores

Help

Help me!

Links

Staff only

 

 

 

Datacare   Ahshay

 

Try moving the bug!

This page is designed to help you learn a few elementary concepts about programming. Namely, you will only learn to use sequential algorithms.

You will be presented with a board and a bug in the upper left corner.

You can build a program to make the bug move around the board.

The available instructions are:

  • step - makes the bug step forward (one step)
  • left - makes the bug turn left
  • right - makes the bug turn right
  • mark - makes the bug mark the current square in green
  • } - denotes the end of your program

Besides those you have two other instructions :

  • clear - clears the program so that you can write again
  • GO - tells the computer to execute your program.

Build your program by selecting the appropriate statement in the list.

Have fun!!!

Well, let me try it!!!