Download presentation
Presentation is loading. Please wait.
Published byῬαΧάβ Αντωνοπούλου Modified over 6 years ago
2
Time Manager Class Activity Material Manager Writer leader Communicator Programmer Start a journey from the capital AbuDhabi to Alasmaa School using your Edison Robot You must give your Robot a name and record the journey
3
Let’s Start our Journey
Abu Dhabi AlAsmaa School
4
Learning Outcomes Understand the variables , datatypes and operators
Understand their use in programming
6
36980 + 12555
7
What are variables and datatypes?
Variable: A way of naming (space )and storing a value for later use in program. Data Types: Specifies which type of value a variable has so an operation can be applied to it Declare a variable: write a variable with its datatype.
8
Activity Where do you plan to go this weekend?
Work in pair .. And ask your colleague the following questions .. Where do you plan to go this weekend? How much do you expect today’s temperature ? What time you reach home everyday? What is the first character of your mother’s name ?
9
Variables and Data types
Integer int Float float Word String character char Book Activity P- 58 Definition Variable Declaration Example Integer (int) Whole numbers (positive and negative) int x = 5 ; 380 , -200 Float (float) Decimal numbers (positive and negative) float num = 2.5 ; 2.6 , -9.1 String (string) Words or sentences declared between “ “ string a = “year of zayed” “hello” , “Zayed” Character (char) Single character declared between ‘ ‘ char n = ‘y’ ‘Y’, ‘n’ , ‘f ‘, ‘m’
10
Book Activity page 60
11
What are operators? Operator: symbols that tells the program to perform specific mathematical operation. There are different operators used for different purposes : Mathematical Operators Comparison Operators
12
What are Mathematical operators?
Mathematical Operator: operators used to do mathematical operation in programs.
13
Comparison operators Comparison Operator: operators used to compare variables
14
Boolean operators Book Activity page 66
15
End of Unit Assessment
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.