VARIABLES BY SANJAY AND ARVIND SESHAN Lesson

VARIABLES BY SANJAY AND ARVIND SESHAN Lesson
1 / 1
VARIABLES BY SANJAY AND ARVIND SESHAN Lesson - slide 1 of 14 VARIABLES BY SANJAY AND ARVIND SESHAN Lesson - slide 2 of 14 VARIABLES BY SANJAY AND ARVIND SESHAN Lesson - slide 3 of 14 VARIABLES BY SANJAY AND ARVIND SESHAN Lesson - slide 4 of 14 VARIABLES BY SANJAY AND ARVIND SESHAN Lesson - slide 5 of 14 VARIABLES BY SANJAY AND ARVIND SESHAN Lesson - slide 6 of 14 VARIABLES BY SANJAY AND ARVIND SESHAN Lesson - slide 7 of 14 VARIABLES BY SANJAY AND ARVIND SESHAN Lesson - slide 8 of 14 VARIABLES BY SANJAY AND ARVIND SESHAN Lesson - slide 9 of 14 VARIABLES BY SANJAY AND ARVIND SESHAN Lesson - slide 10 of 14 VARIABLES BY SANJAY AND ARVIND SESHAN Lesson - slide 11 of 14 VARIABLES BY SANJAY AND ARVIND SESHAN Lesson - slide 12 of 14 VARIABLES BY SANJAY AND ARVIND SESHAN Lesson - slide 13 of 14 VARIABLES BY SANJAY AND ARVIND SESHAN Lesson - slide 14 of 14
VARIABLES BY SANJAY AND ARVIND SESHAN Lesson Objectives Learn about different types of variables Learn how to read and write to variables Copyright 2020 Prime Lessons (primelessons.org) CC-BY-NC-SA. (Last edit: 5302020) 2 Variables What

Related Topics

Download this presentation From Below

"VARIABLES BY SANJAY AND ARVIND SESHAN Lesson" 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.

Presentation Transcript

01
VARIABLES BY SANJAY AND ARVIND SESHAN<br>
02
Lesson Objectives Learn about different types of variables
Learn how to read and write to variables Copyright © 2020 Prime Lessons (primelessons.org) CC-BY-NC-SA. (Last edit: 5/30/2020) 2<br>
03
Variables What is a variable? Ans. A variable stores a value that you can use later in your program. Think of it like a notepad or a box that holds a value for you.
You can name the variable whatever you want
You can define the type of variable:
Variable (Holds a number or text)  Note: there are no Boolean/logic variables
List (Holds a set of numbers/text … [1,2,3, apple, 55]) – these are covered in the lesson on Lists
You can either….
Write – put a value into the variable
Read – retrieve the last value written to the variable Copyright © 2020 Prime Lessons (primelessons.org) CC-BY-NC-SA. (Last edit: 5/30/2020) 3<br>