Computer Science: Principles

Welcome to this module.

If you are reading this, it means that you are absolutely new to programming. For that, I thank you for coming to this one website's knowledge base!


Requirements

To learn the ropes of programming, one goes to scratch.mit.edu. This is the most simplest programming language you can learn, and Scratch is amazing for beginners.

Find the editor. As of November 15, 2023, the editor is located in the header (press the create button next to the big Scratch logo).

Remeber: You don't need any experience.


Introduction to block programming

block programming is different from regular programming in that one doesn't write code, they drag blocks. The skills you will learn goes straight into regular typing, similar to writing a book & typing a book. Same thing, different ways of doing it.


Creating your first project

What we are going to do is have the sprite (currently Scratch themself) go in a square. Simple enough. But how do we actually do this?

We are going to drag in an event. This event is something that gets called when you press the green flag (located top right of your screen).

That was easy. We are about 25% done.

Next, we are going to have scratch move in a square!

So what did we just do?

We made it so when we click the green flag, Scratch moves to the right. Try it out!

Scratch can move in a straight line, but we want to move scratch in a square!

That is where the rotate block comes in handy.

Computer Science: A (beginner)

Welcome to this module.

Computer Science: B (intermediate)

Welcome to this module.

Computer Science: C (advanced)

Welcome to this module.