
Python Workshop 4 Review

Quiz
•
Computers
•
University
•
Hard
Logan Dane
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the output of this Python code?
for x in range(0,2):
for y in range(0,2):
print("loop run")
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the output of this Python code?
arr = [“red”, “blue”, “green”]
for x in arr:
print(x)
green
blue
red
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What keyword do you use to define a function in Python?
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What reason is there to use functions in your code?
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the proper structure of a function in Python?
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What is the structure for using parameters in a function in Python?
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
What does a return statement do in Python?
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
J277 - 2.2 - Functions in Python

Quiz
•
10th Grade - University
15 questions
PROGRAMMING IN PYTHON - UNIT II - TEST 2 - MCQS

Quiz
•
University
10 questions
Conditional and Iterative Statements

Quiz
•
University
15 questions
HCI 584 Python quiz

Quiz
•
University
15 questions
Exploring Python Fundamentals

Quiz
•
12th Grade - University
7 questions
Unit 5: call by value

Quiz
•
University
15 questions
AITT LAB QUIZ 1

Quiz
•
University
12 questions
Python Basics

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade