album cover
Variables
4
Children's Music
Variables은(는) 앨범에 수록된 곡으로 2022년 2월 7일일에 Scratch Garden에서 발매되었습니다.Coding Songs from Camp Coding Camp
album cover
발매일2022년 2월 7일
라벨Scratch Garden
멜로디에 강한 음악
어쿠스틱 악기 중심
발랑스
춤추기 좋은 음악
에너지
BPM103

크레딧

실연 아티스트
Scratch Garden
Scratch Garden
리드 보컬
작곡 및 작사
Steve Richard Newberry
Steve Richard Newberry
작사가 겸 작곡가
David Matthew Newberry
David Matthew Newberry
작사가 겸 작곡가
Susan Deborah Newberry
Susan Deborah Newberry
작사가 겸 작곡가

가사

Variables
They have a name
And variables
Have values that can change
Variables
A part of coding foundation
Because variables
Store important information!
So, just like this box can hold this ring
A variable is something that can hold another thing
Like a name, or a date, or a high score
Or a place, your favorite food, and so much more!
You might be confused, have no fear
We can try a little example here
Say this bucket is a variable, we'll give it a name
Whatever is in this bucket we'll call bucketThing!
bucketThing is a frog
bucketThing is a bear
bucketThing is a pizza
bucketThing is underwear!
Now variables can have a type, are you listening?
They can have a type, and here's the main three
The variable types, when you are talking to machines
Are strings, numbers, and booleans!
A string is not a number it's actually made of letters
Like your name or the words "I really like sweaters"
A string is text, you know characters and letters
Just like the sentence "A bird has feathers."
Here's a string variable about what day it is
We will name this variable dayOfTheWeek
dayOfTheWeek is Monday
dayOfTheWeek is Tuesday
dayOfTheWeek is Wednesday
dayOfTheWeek is Thursday!
Variables
They have a name
And variables
Have values that can change
Variables
A part of coding foundation
Because variables
Store important information!
So string variables, what are they good for?
When there are words and text to store
What if you have numbers, like numbers and math?
A number variable is up to the task
Numbers are numbers and nothing more
No letters, or pictures, just a number, like a score!
Numbers are numbers and nothing more
No letters, or pictures, just a number, like a score!
Here's a number variable to remember the score
We will name this variable myPointScore
myPointScore is 2
myPointScore is 4
myPointScore is 8
myPointScore is 1,000,000!
So number variables, what are they good for?
When there are numbers and numbers to store
But there's a simpler one, it can be one of two things
It's called boolean variable, it's not a number or a string
Boolean, there's a funny name
It just means true or false, no in-betweens!
Boolean, it can only be two things
Either true or false! No in-betweens!
Here's a boolean variable to check if you're asleep
We will name this variable areYouAsleep
areYouAsleep is true!
areYouAsleep is false!
areYouAsleep is true!
areYouAsleep is false!
Variables
They have a name
And variables
Have values that can change
Variables
A part of coding foundation
Because variables
Store important information!
Written by: David Matthew Newberry, Steve Richard Newberry, Susan Deborah Newberry
instagramSharePathic_arrow_out􀆄 copy􀐅􀋲

Loading...