PLTW Activity 1.1.4 Guess a Number

PLTW Activity 1.1.4 Guess a Number

9th Grade

13 Qs

quiz-placeholder

Similar activities

Unit 4 Conditional, variables, functions

Unit 4 Conditional, variables, functions

Python Variable Scope

Python Variable Scope

Unit 5 - Lessons 1 - 5 Review

Unit 5 - Lessons 1 - 5 Review

Unit 4: Variables, Conditionals, & Functions (APCSP '20-'21)

Unit 4: Variables, Conditionals, & Functions (APCSP '20-'21)

local variables and scope

local variables and scope

Unit 4: Variables, Conditionals, & Functions (APCSP '20-'21)

Unit 4: Variables, Conditionals, & Functions (APCSP '20-'21)

Unit 7: Parameters, Return, & Libraries (APCSP '20-'21)

Unit 7: Parameters, Return, & Libraries (APCSP '20-'21)

PLTW Activity 1.1.4 Guess a Number

PLTW Activity 1.1.4 Guess a Number

Assessment

Quiz

Computers

9th Grade

Practice Problem

Medium

Created by

Joan Goldberg

Used 63+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

13 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What type of variable is currentX?

local scope

global scope

None of the above

local and global scope

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What kind of variable is randomX?

local scope

global scope

None of the above

local and global scope

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Stored data that is only used within a small part of a program and cannot be used by other parts of the program is a

local variable

global variable

None of the above

local variable and global variable

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Stored data that may be used by any part of the program is a

local variable

global variable

None of the above

local variable and global variable

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Using a large number of __________ variables adds complexity to your program, because all parts of the program can change ________ variables. Using __________ variables when possible saves time in debugging.

local, local, global

global, global, local

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This is an example of

Natural Language

Pseudocode

MIT App Inventor Blocks

Python

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This is an example of

Natural Language

Pseudocode

MIT App Inventor Blocks

Python

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

Already have an account?

Discover more resources for Computers