+1 607 252-6647 Email Questions

10 Hello World programs for your Raspberry Pi

  • Published in News
  • Hits: 187

"Hello world" is the beginning of everything when it comes to computing and programming. It's the first thing you learn in a new programming language, and it's the way you test something out or check to see if something's working because it's usually the simplest way of testing simple functionality.

Warriors of programming language wars often cite their own language's "hello world" against that of another, saying theirs is shorter or more concise or more explicit or something. Having a nice simple readable "hello world" program makes for a good intro for beginners learning your language, library, framework, or tool.

I thought it would be cool to create a list of as many different "hello world" programs as possible that can be run on the Raspberry Pi[1] using its Raspbian operating system, but without installing any additional software than what comes bundled when you download it from the Raspberry Pi website. I've created a GitHub repository[2] of these programs, and I've explained 10 of them for you here.

1. Scratch

Scratch[3] is a graphical block-based programming environment designed for kids to learn programming skills without having to type or learn the synax of a programming language. The "hello world" for Scratch is simple—and very visual!

1. Open Scratch 2 from the main menu.

2. Click Looks.

3. Drag a say Hello! block into the workspace on the right.

 

4. Change the text to Hello world.

5. Click on the block to run the code.

2. Python

Python[4] is a powerful and professional language that's also great for beginners— and it's lots of fun

Read more from our friends at Opensource.com

Contact us

By Mail

PO Box 5613

Katy, TX 77491

USA

Social: twitter facebook

Phone: +1 607 252-6647

Fax: +1 866 573-1096

Email: info [AT] synapticweb [DOT] co