Class Resources

for HCC classes taught by Rylan Schubkegel

Course Homepage

Hello, World!

A classic first program to test that your toolchain (runtime environment, compiler, IDE, etc.) is set up properly is the “Hello, World!” program.

…the tradition of using the phrase “Hello, World!” as a test message was influenced by an example program in the 1978 book The C Programming Language…

See Wikipedia page to read more about it.

1. Create a JDoodle Account

An integrated development environment (IDE) is a program that provides text editing, syntax highlighting, file explorer, debugging tools, and other things that are useful for coding. For this class, we will use JDoodle as our IDE which runs in a web browser and allows you to access your work across multiple computers.

Visit www.jdoodle.com and set up an account. I recommend using your student Gmail account so you don’t have to remember another password.

2. Create a New Python Project

There are several ways to create a new project, a few examples are shown below.

From the landing page

From dashboard

From editor

When you find a button that allows you to create a new project, make sure the project settings match what is listed below.

3. Print “Hello, World!”

Type the following code in your editor and press the “Execute” button at the top right of the screen. You should see an “Input/Output” window appear with the text “Hello, World!” in the terminal.

print("Hello, World!")

The term “printing” in computer programming originates from the early days of computing, when output was often produced on physical printers. In the 1950s and 1960s, computers used line printers, which printed output on paper, line by line. Programmers would write code to “print” output to the printer, which would then produce a physical printout of the results.

4. Save Your Project

Press the save icon, give your project a descriptive name, and press “Save.” Make sure to save often when you are working!

The save icon, often represented by a floppy disk, has its origins in the early days of personal computing. The floppy disk was a common storage device used to save and transfer files in the 1970s and 1980s.

The save icon exemplifies a type of design known as “skeuomorphism” where an image represents and older, typically physical, version of the thing it represents. You can see this in other other common icons such as a trash bin representing a “delete” operation or a paper airplane representing the “send message” action. What other examples of skeumorphism can you think of?

5. Experiment

You can do a lot by just printing to the terminal! Here are some ideas to get started:

6. Turn it In

To turn in your project, download the Python file by pressing the “Save (to local file)” button.

Upload the .py file to the assignment submission form:

Submit Assignment

That’s it! You’ve completed your first programming project 🎉