

Variables, input and output
Presentation
•
Computers
•
8th - 11th Grade
•
Hard
Serkan Oektem
FREE Resource
3 Slides • 0 Questions
1
Variables, input and output

2
What is a variable?
A way of labeling data with a descriptive name, so our programs can be understood more clearly by the reader and ourselves.
It is helpful to think of variables as containers that hold information.
Their sole purpose is to label and store data in memory. This data can then be used throughout your program.
3
Variable declarations / assignments:
Assume two numbers; 5 and 6 are given.
If we were to declare two variables to store these values, they would be:
Number1 ← 5
Number2 ← 6
Assume radius of a circle is 10 and we are asked to calculate the circumference of this circle.
The variables we would use:
Radius ← 10
Circumference ← 2 * PI* Radius
PS: See there is no space used in any variables.
Variables, input and output

Show answer
Auto Play
Slide 1 / 3
SLIDE
Similar Resources on Wayground
5 questions
Circle Segments
Presentation
•
8th - 11th Grade
7 questions
Line plots
Presentation
•
KG
4 questions
Berfikir Komputasional di Kelas X SMK
Presentation
•
10th Grade
6 questions
Trigonometry Finding Missing Sides
Presentation
•
9th - 12th Grade
2 questions
Bell Ringer
Presentation
•
9th - 12th Grade
6 questions
Sprite Properties
Presentation
•
9th - 12th Grade
6 questions
Infographic Elements
Presentation
•
9th - 10th Grade
3 questions
Solving Systems of Equations by Substitution
Presentation
•
9th - 12th Grade
Popular Resources on Wayground
6 questions
PRIDE Always and Everywhere
Presentation
•
12th Grade
20 questions
Lab Safety Quiz
Quiz
•
6th Grade
26 questions
KOR Review Kahoot Questions
Quiz
•
8th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
12 questions
Unit Zero lesson 2 cafeteria
Presentation
•
9th - 12th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
10 questions
Riddles Riddles fun Riddles
Quiz
•
6th - 12th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade