
CMU Unit 2.2.4 and 7.2 Variables
Flashcard
•
Computers
•
9th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

14 questions
Show all answers
1.
FLASHCARD QUESTION
Front
A variable declared within a subroutine or function
Back
Local
2.
FLASHCARD QUESTION
Front
A variable declared in the main program
Back
Global
3.
FLASHCARD QUESTION
Front
The correct way to write a variable in Python? Options: myVariable = 10, my Variable = 10, myVariable is 10, myVariable: 10
Back
myVariable = 10
4.
FLASHCARD QUESTION
Front
Which of the following is an advantage of using local variables? They allow the variable to be used throughout the whole program, They allow variable identifiers to be reused each time, They are easier to program than global variables, A wider range of data types can be used
Back
They allow variable identifiers to be reused each time
5.
FLASHCARD QUESTION
Front
What term is used to describe data passed into/out of a program?
Back
Parameter
6.
FLASHCARD QUESTION
Front
Leo wants to create a subroutine / function that will roll a dice. Which syntax is correct? Options: def dice roll ():, def diceroll (), def diceroll ():, def diceroll []:
Back
def diceroll ():
7.
FLASHCARD QUESTION
Front
Which of the following is an advantage of using global variables? They allow the variable to be used throughout the whole program, They allow variable identifiers to be reused each time, They are easier to program than global variables, A wider range of data types can be used
Back
They allow the variable to be used throughout the whole program
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Quelles mutations du travail et de l'emploi (sans le III)
Flashcard
•
10th Grade
15 questions
Adding & Subtracting Polynomials
Flashcard
•
9th Grade
15 questions
Unit 1 Review- Biology- S131- 1st Period
Flashcard
•
9th Grade
15 questions
Simplifying Algebraic Expressions
Flashcard
•
9th Grade
10 questions
Tangent to a circle
Flashcard
•
9th - 11th Grade
15 questions
Scatter Plots
Flashcard
•
8th - 9th Grade
11 questions
Identify Parts of an Algebraic Expression and Evaluate
Flashcard
•
9th Grade
13 questions
Cosa sai su Dante ?
Flashcard
•
9th Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Navigating Digital Citizenship and Online Safety
Interactive video
•
6th - 10th Grade
20 questions
Computer / Internet Companies
Quiz
•
9th Grade
10 questions
Exploring the Basics of Google Sheets
Interactive video
•
9th Grade
10 questions
Exponent Rules
Quiz
•
9th - 12th Grade
20 questions
JavaScript - Karel
Quiz
•
9th - 10th Grade