

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
3 questions
SAINS KOMPUTER T4
Presentation
•
10th Grade
5 questions
Untitled Lesson
Presentation
•
KG
1 questions
12 B D E Semester 2 lesson 1 (excel)
Presentation
•
9th - 12th Grade
5 questions
Two Lies and a Truth
Presentation
•
9th - 12th Grade
3 questions
circles
Presentation
•
9th - 10th Grade
3 questions
Health data lesson
Presentation
•
7th - 12th Grade
3 questions
1.1.2 Lab Demo & Analysis
Presentation
•
9th - 12th Grade
3 questions
Pengantar IP (Internet Protocol)
Presentation
•
10th Grade
Popular Resources on Wayground
10 questions
Safety Day 2026 – Student Review
Quiz
•
9th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
12 questions
Map Skills
Quiz
•
3rd Grade
22 questions
Continents and Oceans
Quiz
•
5th Grade
15 questions
Rounding Decimals
Quiz
•
5th Grade
Discover more resources for Computers
32 questions
Unit 3: Intro to App Design (APCSP 22-23, Code.org)
Quiz
•
9th - 12th Grade
30 questions
[AP CSP] Spreadsheets Review
Quiz
•
9th Grade
10 questions
Digital Citizenship: Part 1
Quiz
•
6th - 8th Grade
15 questions
AP CSP - Code.org Unit 3 Review
Quiz
•
9th - 12th Grade
40 questions
Introduction to Microsoft Word
Quiz
•
8th - 12th Grade