Home

St. Mary's Catholic High School Computing Dept

@StMarysICT

Programming

Small Basic

Created by Andy Colley and Ben Gristwood using reveal.js
Creative Commons License
Small Basic Programming by Andy Colley & Ben Gristwood is licensed under a Creative Commons Attribution 3.0 Unported License.

Tasks

  1. Project Objectives
  2. Output - Messages
  3. Output Challenges
  4. Variables
  5. Variable Challenges
  6. Selection
  7. Selection Challenges
  8. The INSULT-O-MATIC 5000
  9. INSULT-O-MATIC Challenges
  10. Loops
  11. Loop Challenges
  12. Safecracker
  13. Safecracker Challenges

Learning Intention

Learn key programming ideas and how to use them in text based code.

Scroll down for the success criteria.

Success Criteria

Success Criteria

Output Messages

Your first program will generate the traditional programmer's first message

'Hello World!'

Scroll down to get started.

Example Task - Output Message

Follow the instructions on the video to see how to create an output program.

Not working? Click here for the video.

Now Scroll right for the challenges.

Output Challenges

Output Challenges

Click here for a mastery challenge clue.

Once you have finished your challenge scroll right for the next topic.

Variables

This program will save the name that the user types in and use it later on in a message.

Scroll down to get started.

Example Task - variables

Follow the instructions on the video to see how to create a program that uses a variable to save the user's name.

Not working? Click here for the video.

Now Scroll right for the challenges.

Variable Challenges

Variable Challenges

Once you have finished your challenge scroll right for the next topic.

Selection and Decisions

This program will use IF.... THEN.... to let your program give different messages for different inputs.

Scroll down to get started.

Example Task 1 - If

Follow the instructions on the video to see how to create a program using an If.

Not working? Click here for the video.

Now Scroll down for the next task.

Example Task 2 - ElseIf

Follow the instructions on the video to see how to create a program using ElseIf.

Not working? Click here for the video.

Now Scroll right for the challenges.

Selection Challenges

Selection Challenges

Once you have finished your challenge scroll right for the next topic.

Click here for a hot task clue.

The INSULT-O-MATIC 5000

You are going to combine what you have learned to create a program that generates a random insult for the user!

Insulted Kitten

Scroll down to get started.

Example Task - Random

Follow the instructions on the video to see how to include random numbers in your program.

Not working? Click here for the video.

Now scroll right for the challenges.

INSULT-O-MATIC 5000 Challenges

Insult o Matic Challenges

Once you have finished your challenge scroll right for the next topic.

Looping

This program will use a loop to keep repeating some code until it gets the right answer.

While meme

Scroll down to get started.

Example Task - Loops

Follow the instructions on the video to see how to use a while loop in your program.

Not working? Click here for the video.

Now scroll right for the challenges.

Loop Challenges

Selection Challenges

Once you have finished your challenge scroll right for the next topic.

Safecracker

You are going to combine all of your learning for this unit to make a program that will ask the user to try and guess a 3 digit code one number at a time.

Secret meme

Scroll down to get started.

Program Needs - Safecracker

Try to create a program that does the following things:

Safecracker Spec

Now scroll right for the challenges. Or scroll down for a bit more help.

Program Needs - Safecracker

Follow the instructions on the video to see how to get started with the safecracker.

Not working? Click here for the video.

Now scroll right for the challenges.

Safecracker Challenges

Safecracker Challenges