ADVANCE-C5

VARIABLES

Quick Recap:

In the previous class, we created an app that will convert the age from years to hours.

You can go Ahead

VARIABLE is a

placeholder or a container that

is used to hold or

store a value.

Let us understand variables with another example

Here we have an empty bottle.

Half Filled

Filled

Bottle

Can we say that the bottle is a variable and an orange juice is the value that is changing?

Hint: set point to points+1

Let's start with Quiz

 

Wrap-up Quiz: Q-1

Which of the following code blocks increases the score by 1?

  • ​​
  • ​​
  • ​​
  • ​​

Wrap-up Quiz: Q-2

Can you identify the variable name here?

  • pixels

  • height

  • arrow

Wrap-up Quiz: Q-3

Which of the following code blocks is used to set the value of a variable?

  • ​​
  • ​​
  • ​​
  • ​​

Well done all of you

ADV-C5-1:4-Visual Aid

By whjrvisual15

ADV-C5-1:4-Visual Aid

  • 130