Search Header Logo

local variables and scope

Authored by R. Mou

Computers

10th Grade

Used 2+ times

local variables and scope
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A variable declared in the main program

Global

Local

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What term is used to describe data passed into/out of a program?

Variable

Loop

Constant

Parameter

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A global variable is

accessible inside only one block in a program

accessible by only one sprite in a program

used as an input parameter

accessible anywhere within the program

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

All values in a programming language have a "type" - such as a Number, Boolean, or String - that dictates how the computer will interpret it. For example 7+5 is interpreted differently from "7"+"5"

Data Type

Variable

Expression

If-Statement 

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A placeholder for a piece of information that can change

Data Type

Variable

Expression

Global Variable

Access all questions and much more by creating a free account

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

Already have an account?