Variables and Data types

5 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$49.99
List Price:  $69.99
You save:  $20
€46.61
List Price:  €65.26
You save:  €18.64
£39.96
List Price:  £55.95
You save:  £15.99
CA$68.39
List Price:  CA$95.75
You save:  CA$27.36
A$76.59
List Price:  A$107.23
You save:  A$30.64
S$67.96
List Price:  S$95.15
You save:  S$27.19
HK$391.36
List Price:  HK$547.94
You save:  HK$156.57
CHF 45.64
List Price:  CHF 63.91
You save:  CHF 18.26
NOK kr547.39
List Price:  NOK kr766.40
You save:  NOK kr219
DKK kr347.66
List Price:  DKK kr486.75
You save:  DKK kr139.09
NZ$83.90
List Price:  NZ$117.46
You save:  NZ$33.56
د.إ183.60
List Price:  د.إ257.06
You save:  د.إ73.45
৳5,478.47
List Price:  ৳7,670.29
You save:  ৳2,191.82
₹4,165.48
List Price:  ₹5,832.01
You save:  ₹1,666.52
RM238.82
List Price:  RM334.37
You save:  RM95.55
₦63,338.32
List Price:  ₦88,678.72
You save:  ₦25,340.40
₨13,897.67
List Price:  ₨19,457.85
You save:  ₨5,560.18
฿1,850.91
List Price:  ฿2,591.43
You save:  ฿740.51
₺1,624.82
List Price:  ₺2,274.88
You save:  ₺650.06
B$257.30
List Price:  B$360.25
You save:  B$102.94
R950.48
List Price:  R1,330.75
You save:  R380.27
Лв91.20
List Price:  Лв127.68
You save:  Лв36.48
₩68,703.94
List Price:  ₩96,191.02
You save:  ₩27,487.07
₪189.75
List Price:  ₪265.67
You save:  ₪75.91
₱2,888.99
List Price:  ₱4,044.82
You save:  ₱1,155.83
¥7,775.71
List Price:  ¥10,886.62
You save:  ¥3,110.91
MX$852.59
List Price:  MX$1,193.70
You save:  MX$341.10
QR182.06
List Price:  QR254.90
You save:  QR72.84
P692.34
List Price:  P969.33
You save:  P276.99
KSh6,723.65
List Price:  KSh9,413.65
You save:  KSh2,690
E£2,394.34
List Price:  E£3,352.26
You save:  E£957.92
ብር2,838.38
List Price:  ብር3,973.96
You save:  ብር1,135.57
Kz41,866.62
List Price:  Kz58,616.62
You save:  Kz16,750
CLP$47,624.47
List Price:  CLP$66,678.07
You save:  CLP$19,053.60
CN¥362.22
List Price:  CN¥507.14
You save:  CN¥144.92
RD$2,935.86
List Price:  RD$4,110.44
You save:  RD$1,174.58
DA6,715.26
List Price:  DA9,401.90
You save:  DA2,686.64
FJ$114.57
List Price:  FJ$160.42
You save:  FJ$45.84
Q388.02
List Price:  Q543.26
You save:  Q155.24
GY$10,449.73
List Price:  GY$14,630.45
You save:  GY$4,180.72
ISK kr6,996.60
List Price:  ISK kr9,795.80
You save:  ISK kr2,799.20
DH506.56
List Price:  DH709.23
You save:  DH202.66
L890.37
List Price:  L1,246.59
You save:  L356.22
ден2,871.51
List Price:  ден4,020.35
You save:  ден1,148.83
MOP$402.79
List Price:  MOP$563.94
You save:  MOP$161.15
N$957.24
List Price:  N$1,340.22
You save:  N$382.97
C$1,837.34
List Price:  C$2,572.43
You save:  C$735.08
रु6,654.43
List Price:  रु9,316.74
You save:  रु2,662.30
S/185.19
List Price:  S/259.29
You save:  S/74.09
K189.75
List Price:  K265.67
You save:  K75.91
SAR187.49
List Price:  SAR262.50
You save:  SAR75.01
ZK1,304.12
List Price:  ZK1,825.88
You save:  ZK521.75
L231.95
List Price:  L324.76
You save:  L92.80
Kč1,174.43
List Price:  Kč1,644.30
You save:  Kč469.86
Ft18,295.47
List Price:  Ft25,615.12
You save:  Ft7,319.65
SEK kr543.08
List Price:  SEK kr760.35
You save:  SEK kr217.27
ARS$43,653.36
List Price:  ARS$61,118.20
You save:  ARS$17,464.83
Bs344.96
List Price:  Bs482.97
You save:  Bs138.01
COP$194,549.13
List Price:  COP$272,384.35
You save:  COP$77,835.21
₡25,038.42
List Price:  ₡35,055.79
You save:  ₡10,017.37
L1,232.29
List Price:  L1,725.31
You save:  L493.01
₲370,833.91
List Price:  ₲519,197.15
You save:  ₲148,363.23
$U1,917.12
List Price:  $U2,684.12
You save:  $U767
zł201.11
List Price:  zł281.58
You save:  zł80.46
Already have an account? Log In

Transcript

Okay in our programming we have these variables and data types. So variable we can say is some container or some storage space to store some values. Data Type is a kind of values to store in this variable. So I will say in our programming we have our data will be integer data type and we have some decimal data types, we can say is for all we can say is double. And we also have our string datatype corrected data types. So integer data type, let's see, some of the numbers we bought a decimal point them for numbers we visa decimal point we usually say is for data types, and for string data types easy.

Kyle values so let's see some text and then character is single character and then we have Boolean boolean data type is V honest or true or false. Okay let's say I want to create a variable in our program we can do some dinner this variable 1122 say I want to resolve the favorable one to 10 I think I should get something like this okay in our Data Studio I have to control a and so I got a tree, I will say this variable, variable one is a variable, then they say this one is a value or data and this one is all integer data on Saying numerical number data type a variable to the value is two, then result is variable one, variable two is three. So I can change this to a string value, a string data type. So I can do something like this.

Hello. Okay and then here I can pull something I can Okay, in our program Mindy's a result I cannot use a plus I have to use pace. Okay is variable y. Okay and variable two and then we have a separator okay. spacing Okay, now I can run this code and see okay hello Ken okay. So this is a string data type and then we have a character data type as a character a single quotation here okay?

Be okay okay No, I won't print is our result here. I want to print a favorable one here and I select all and I run a K then I have I see one The last one is vs integer then we have numeric For now, we have a string that we have correct, we now have these I will say a true or false is a Boolean. So, I can start to see something that is a true. So, in our programming true or false for this boolean data type, the true SP has to be all capital letter the false also have to be all capital letter and I can bring the variable i could select all and then I could run this true year. Okay, if I want to say I want to tell what kind of this data what kind of values is in these variables I can do something that is cross query, select all and then run okay i biological if I change this to the car number or as a string key and I run a key guy of character event or changes to a number less a numeric number Qaeda numeric okay.

So this is Ravi the variables and data types

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.