Scope of Variables in Python

Quiz
•
Computers
•
1st Grade - Professional Development
•
Hard
Humera I
Used 96+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following python program?
Error
12
15
1512
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following python code?
Error
100
99
101
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following python code?
13
10
2
5
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following python code?
error
hello
16
16
hello
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following python code?
Error
12 4
4 12
4 15
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following python code?
1 2 3 4
5 10 15 20
10 20 30 40
5 10 15 40
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following python code?
outer
error
inner
outer
outer
inner
error
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Python

Quiz
•
10th - 11th Grade
20 questions
Python turtle

Quiz
•
8th - 9th Grade
13 questions
computer science

Quiz
•
11th Grade
10 questions
PYTHON (FOR LOOP)

Quiz
•
1st - 10th Grade
20 questions
Python-ICT

Quiz
•
8th Grade
20 questions
Python Programming Quiz

Quiz
•
9th Grade - University
10 questions
Python Sets

Quiz
•
University
15 questions
Python 1

Quiz
•
9th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
typing

Quiz
•
6th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Input, Output, Processing or Storage

Quiz
•
5th - 6th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade