Intro to Python

Quiz
•
Computers
•
8th Grade
•
Medium
Wayground Content
Used 16+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Indentation
Indentation is the visual structure of how your code is laid out. It uses tabs to organize code into a hierarchy.
Indentation refers to the amount of space between lines of code.
Indentation is a method of commenting code for better readability.
Indentation is the process of removing unnecessary spaces from code.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Comment
A message in your code that explains what is going on.
A type of error in programming.
A function that returns no value.
A variable that stores user input.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Displaying text on the screen
Creating a graphical image
Saving a file to disk
Sending data to a printer
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Break Down (Decompose)
Breaking down your code is splitting it into more functions.
Breaking down your code is combining multiple functions into one.
Breaking down your code is removing unnecessary comments.
Breaking down your code is optimizing the performance of a single function.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tuple
A mutable data type that stores an unordered collection of items
A heterogeneous, immutable data type that stores an ordered sequence of things
A data type that can only store numbers
A type of function that returns multiple values
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If/Else Statement
Control structure that lets us run either one section of code or another depending on a test.
A loop that repeats a section of code multiple times.
A function that returns a value based on input parameters.
A method for defining variables in programming.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
count()
A method that counts occurrences of specific items in a list.
A function that calculates the sum of all items in a list.
A procedure that sorts items in a list alphabetically.
A command that removes duplicates from a list.
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Python Tracy the Turtle (codehs) through Lesson 9

Quiz
•
8th - 10th Grade
15 questions
AP CSP Exam Review: Big Idea 3

Quiz
•
8th - 10th Grade
16 questions
2.1 Linear and Binary Searching Algorithms

Quiz
•
8th - 10th Grade
15 questions
Coding Pre-quiz

Quiz
•
6th - 9th Grade
15 questions
HTML and CSS

Quiz
•
7th - 8th Grade
20 questions
Codesters Units

Quiz
•
6th - 8th Grade
20 questions
Code.org Express Course

Quiz
•
6th - 8th Grade
21 questions
Code.org: Web Development: Unit 2 Lessons 1 - 5 Test

Quiz
•
7th - 10th Grade
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
Discover more resources for Computers
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Hallway & Bathroom Expectations

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

Interactive video
•
6th - 10th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
24 questions
Flinn Lab Safety Quiz

Quiz
•
5th - 8th Grade
15 questions
Wren Pride and School Procedures Worksheet

Quiz
•
8th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
10 questions
Converting Repeating Decimals to Fractions

Quiz
•
8th Grade