Hackety Hack! Written by Krystal Salerno Presented
1 / 1

Hackety Hack! Written by Krystal Salerno Presented

Author : olivia-moreira | Published Date : 2025-05-17

Description: Hackety Hack Written by Krystal Salerno Presented by What is Hackety Hack Hackety Hack is a cool Rubybased program that makes it really easy and fun to learn coding You can get it at home and work on it too

Presentation Embed Code

Download Presentation

Download Presentation The PPT/PDF document "Hackety Hack! Written by Krystal Salerno Presented" is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

Transcript:Hackety Hack! Written by Krystal Salerno Presented:
Hackety Hack! Written by Krystal Salerno Presented by _______________ What is Hackety Hack? Hackety Hack is a cool Ruby-based program that makes it really easy and fun to learn coding! You can get it at home and work on it too! www.hackety.com Let’s get started! Click on Start Click All Programs Open Hackety Hack Click on the Hackety Hack program If you can’t find it, let us know! The basics We are going to make a simple program that just says hello! alert “Hello ambassador!” Click on Run in the bottom corner and watch! What is a variable? Variables are things that we can change for the computer to read name = “Bob” alert “My name is ” + name Click Run! Asking questions: We can have the computer ask us questions too! name = ask “What is your name?” alert “Your name is ” + name Click on Run! Let’s draw! We can make the computer draw shapes with a few commands. Let’s use Turtle to draw a simple square. Let’s draw! Turtle.start do forward 50 turnright 90 end Click Run and see what happens. Let’s draw! So we only got a line, and a square has 4. How can we fix it? Let’s copy this 4 times forward 50 turnright 90 Let’s draw! Turtle.start do forward 50 turnright 90 forward 50 turnright 90 forward 50 turnright 90 forward 50 turnright 90 end Let’s draw! This takes too long to do, especially with more sides, so we can tell the computer to repeat itself. When we do this we call it a loop. We can also change the colors of the background and the line Turtle makes! Loopity Loop Turtle.start do background maroon pencolor honeydew 4.times do forward 50 turnright 90 end end Loopity Loop See how much nicer that makes it! Let’s play with the numbers we have after forward and turnright and see what happens. Strings and Integers Who knows what the difference between “1000” and 1000 is? Strings and Integers “1000” is a string (The quotes “” are the key) 1000 is an integer Strings are words or letters, must have quotes Integers are only whole numbers Strings and Integers If we tried to do a math problem with this: “1000” + 1 = … The computer would give us an error, we tried adding the word “one thousand” and 1, it won’t work... Strings and

Download Document

Here is the link to download the presentation.
"Hackety Hack! Written by Krystal Salerno Presented"The content belongs to its owner. You may download and print it for personal use, without modification, and keep all copyright notices. By downloading, you agree to these terms.

Related Presentations

Winrar Password Hack Tool Download No Survey httpbit 9 Innings Pro Baseball Hack Tool Download No Survey HACK THE CITY Hack What is The Travel Hack? 1 Lecture 24 Hack Day By Krystal Smith PRESENTAZIONE DEL PROGETTO DELLA SUPER-PIAZZA DI SALERNO PER L’EDIZIONE SPECIALE DELLA diamondsfree fire hack alokfree fire hack app namefree fire hack al hkghjghjgi6x001B5fef LatestHack Among Us Hack Mod Menu diamondsfree fire hack alokfree fire hack app namefree fire hack al diamondsfree fire hack alokfree fire hack app namefree fire hack all c