

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
6 questions
Fraction area models
Presentation
•
KG
4 questions
Simulado de Abandono Emergencial Escolar - CESF 2024
Presentation
•
9th - 12th Grade
5 questions
Perimeter
Presentation
•
KG
5 questions
Segments of a Circle
Presentation
•
8th - 11th Grade
5 questions
CER-GEMS
Presentation
•
9th - 12th Grade
6 questions
Disconformities
Presentation
•
8th - 10th Grade
6 questions
OBJECT ORIENTED PROGRAMMING LANGUAGE CONCEPTS
Presentation
•
9th - 12th Grade
3 questions
Listing in python
Presentation
•
9th Grade
Popular Resources on Wayground
24 questions
PBIS-HGMS Day 10
Quiz
•
6th - 8th Grade
10 questions
HCS SCI 03 Summer School Review 3
Quiz
•
3rd Grade
11 questions
Home Scope
Quiz
•
7th - 8th Grade
15 questions
HCS SCI 05 Summer School Assessment 3 Review
Quiz
•
5th Grade
35 questions
Lufkin Road Middle School Student Handbook & Policies Assessment
Quiz
•
7th Grade
18 questions
Geo 11.3 Area of Circles and Sectors
Quiz
•
9th - 11th Grade