Quiz module 4-5

Quiz module 4-5

10th Grade

10 Qs

quiz-placeholder

Similar activities

Higher SDD - Subroutines

Higher SDD - Subroutines

10th Grade

10 Qs

Python L2- Quiz 2

Python L2- Quiz 2

5th - 12th Grade

7 Qs

Q3 M3 SetB

Q3 M3 SetB

10th Grade

12 Qs

TLE Q3 M4

TLE Q3 M4

10th Grade

10 Qs

TLE Q3 M5

TLE Q3 M5

9th - 12th Grade

10 Qs

CodeHS 4.9 Local Variables and Scope

CodeHS 4.9 Local Variables and Scope

9th - 12th Grade

7 Qs

TLE Q3 QUIZ MODULES 1-5

TLE Q3 QUIZ MODULES 1-5

10th Grade

10 Qs

tle 10

tle 10

10th Grade

10 Qs

Quiz module 4-5

Quiz module 4-5

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Ivan Manarang

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What kind of Scope is shown below?

Global scope

Function scope

Block scope

Local scope

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a Local scope

characteristic of variables that makes them local

.

the scope that contains, and is visible in.

This scope means that the variables are only accessible in the function in which they are declared.

the area within if, switch conditions or for and while loops. Generally speaking, whenever you see {curly brackets}.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is a example of a Global variables

Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It determines the accessibility and visibility of variables in your code.

Function

Scope

Function Scope

Global Scope

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

It is anything between { }, an area within if, switch conditions

or for and while loops, which

Function

Global variables

Block scope

Block

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variables declared with var and let are quite similar when declared inside

a function.

TRUE

FALSE

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variables declared with var and let are quite similar when declared inside

a function.

True

False

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?