Section 1

Preview this deck

Deference between a local variable and global

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

6 years ago

Date created

Mar 1, 2020

Cards (5)

Section 1

(5 cards)

Deference between a local variable and global

Front

Local is declared outside a function, global is inside a function

Back

A variable declared outside of a function must be declared to be available within the function by using which keyword?

Front

Global keyword

Back

Describe how the use of command blocks makes a if... Else control structure more efficient

Front

It allows you to use the function at anytime and give the (return) answer to you.

Back

Explain the purpose of the default label in a switch statement

Front

Contains statements that are executed when the value returned by the switch statement expression does not match any case label.

Back

Define Variable scope

Front

Where in your progam a variable can be used. Variable scope can either be global or local.

Back