Monday, 2 February 2026

Educational Games

Typing
This will be your warm-up activity when you come into class

Coding

This is your extension activity.  This is what you do when your daily assignment is done.
Code Link (Object Coding) Code Link (Writing Code)

Educational Games
We'll be exploring some computer topics using Code HS.  CodeHS is an interactive online learning platform offering computer science and programming instruction for schools and individual learners.

Each month, we'll be exploring a topic including:
  • Exploring the Internet
  • Exploring Digital Citizenship
  • Exploring Art with Code (extension)
  • Web Design (extension) 
  • Game Design (extension)
  • Tracy the Turtle Adventures (extension)
It is a self-paced course and you can work on it when you've completed your daily assignment.

To sign up, please go to the link

Sunday, 1 February 2026

Code Solutions

/* This program draws a big tower from Karel's starting spot */
function main() {
    turnNorth();
    buildTower();
}

// This function has karel face north, no matter what direction
// karel starts facing.
function turnNorth() {
    while (notFacingNorth()) {
        turnLeft();
    }
}

// This function builds a tower all the way to the top of the world.
function buildTower() {
    while (frontIsClear()) {
        putBall();
        move();
    }
    putBall();
}

main();
function main() {
    goToWall();
    placePile();
    turnAround();
    goToWall();
    turnAround();
}

// Puts down a pile of 15 balls
function placePile() {
    for (let i = 0; i < 15; i++) {
        putBall();
    }
}

// Goes to the wall
function goToWall() {
    while (frontIsClear()) {
        move();
    }
}

main();
/*
 * This program has Karel paint a checkerboard
 */

function main() {
    paintBoard();
    comeHome();
}

/*
 * This function has Karel paint a checkerboard.
 * Precondition: Karel is in the bottom left corner facing East.
 * Postcondition: Karel is in the top left corner facing West, and has painted
 * alternating red and black squares on the entire world.
 */
function paintBoard() {
    for (let i = 0; i < 7; i++) {
        paintRow();
        moveUp();
    }
    paintRow();
}

/*
 * This function has Karel paint a single row of the checkerboard, starting
 * with the color black and alternating between red and black.
 * Precondition: Karel is on either the left or right edge of the world. If
 * Karel is on the left edge, Karel is facing east. If Karel is on the right
 * edge, Karel is facing West.
 * Postcondition: Karel has traversed the row and painted alternating red and
 * black squares. Karel is either facing East and is up against the East wall
 * or Karel is facing West and is up against the West wall.
 */
function paintRow() {
    for (let i = 0; i < 3; i++) {
        paint(Color.black);
        move();
        paint(Color.red);
        move();
    }
    paint(Color.black);
    move();
    paint(Color.red);
}

/*
 * This function has Karel move up one row.
 * Precondition: Karel is facing East and touching the East wall, or Karel
 * is facing West and touching the West wall. Karel is not on the top row.
 * Postcondition: Karel has moved up one row and is facing the opposite direction.
 */
function moveUp() {
    if (facingEast()) {
        turnLeft();
        move();
        turnLeft();
    } else {
        turnRight();
        move();
        turnRight();
    }
}

/*
 * This function has Karel come back to the starting position.
 * Precondition: Karel is in the top left corner facing West.
 * Postcondition: Karel is in the bottom left corner facing East.
 */
function comeHome() {
    turnLeft();
    for (let i = 0; i < 7; i++) {
        move();
    }
    turnLeft();
}

main();

Friday, 30 January 2026

Typing Test

 Typing

This will be your warm-up activity when you come into class

Do 3 - 5 Minute Typing Tests at https://www.typingtest.com/
Send me your 3 Net Speed scores

This is the score you send to me.


Coding

This is your extension activity.  This is what you do when your daily assignment is done.
Code Link (Object Coding) Code Link (Writing Code)

When you're done, you can code or play educational games:
  • Tetris
  • Sudoku
  • Scrabble
  • Lots of Card Games
  • Or Minecraft Educational

    function main() {
        // Declare and initialize the variables
        let name = "Minnie";
        let count = 3;
        let item = "pencils";
        
        // Use the variables in the print statements
        console.log("Hi, my name is " + name + ".");
        console.log("I'd like to buy " + count + " " + item + ".");
        console.log(" ");
        
        console.log("Hi " + name + ",");
        console.log("here are your " + count + " " + item + "!");
        console.log("Are you sure you don't want any more " + item + "?");
    }
    
    main();
    
    
    /* 
    How many times do you need to type in the value of the new item?
      - Once
    
    How many places does the item value appear in the printed output?
      - Three places
    
    What is one reason why we use variables in programs?
      - When using variables, we can update the value once and have that value
      be used in more than one location.
    
    */

Tuesday, 2 September 2025

Welcome To Computer Studies

Lab Expectations:
  • No food or drinks in the computer lab!!!! 
  • Attend all classes. If you are absent, it is your responsibility to make up the work (not mine). 
  • Complete all of the assignments to the best of your ability. You will not succeed in this class if you don’t do the work. 
  • Be prepared in your seat, when the second bell goes 
  • Only one person talks at a time. This includes any/all announcements. Do not be typing on the keyboard or playing with your mouse also falls under this category. 
  • Leave your area as you found it. Push in your chair, log out of the computer , the equipment should be in the condition you found it. 
  • CLOSE THE CLASSROOM DOOR!!!
  • Do not live on your cellular phone, if I notice it, I will take it away. 


Typing
This will be your warm-up activity when you come into class

Coding

This is your extension activity.  This is what you do when your daily assignment is done.
Code Link (Object Coding)

Tuesday, 26 November 2024