local variables and scope

local variables and scope

10th Grade

5 Qs

quiz-placeholder

Similar activities

AP Computer Science Principles Unit 3 Review

AP Computer Science Principles Unit 3 Review

9th - 12th Grade

10 Qs

Code.org Vocabulary Quiz - Sprites and Events

Code.org Vocabulary Quiz - Sprites and Events

6th Grade - University

10 Qs

Code.org Unit 5 Vocab Quiz 1

Code.org Unit 5 Vocab Quiz 1

9th - 12th Grade

10 Qs

Functions and Parameters Summative preview

Functions and Parameters Summative preview

9th - 12th Grade

10 Qs

Java Scope mini quiz

Java Scope mini quiz

9th - 12th Grade

9 Qs

3.2 Limitations of Parameters

3.2 Limitations of Parameters

9th - 12th Grade

7 Qs

Subroutine

Subroutine

KG - 12th Grade

10 Qs

Week 7 #1 - Conditionals, Predicates, and Variables

Week 7 #1 - Conditionals, Predicates, and Variables

7th - 12th Grade

8 Qs

local variables and scope

local variables and scope

Assessment

Quiz

Computers

10th Grade

Medium

Created by

R. Mou

Used 2+ times

FREE Resource

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