Quiz module 4-5

Quiz module 4-5

10th Grade

10 Qs

quiz-placeholder

Similar activities

Computer science paper 2

Computer science paper 2

10th Grade

15 Qs

JavaScript Fundamentals

JavaScript Fundamentals

9th Grade - Professional Development

10 Qs

Computer Science Foundations - Module 4 Review

Computer Science Foundations - Module 4 Review

9th - 11th Grade

9 Qs

TLE Q3 M1-5

TLE Q3 M1-5

10th Grade

10 Qs

Python Classes Quiz

Python Classes Quiz

9th - 12th Grade

15 Qs

TLE-Q3-M5

TLE-Q3-M5

10th Grade

10 Qs

CodeHS Functions and Parameters Quiz

CodeHS Functions and Parameters Quiz

10th Grade

7 Qs

Functions C++

Functions C++

9th - 12th 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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?