Python Basics

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Code Sprouts
Used 2+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
How can we make a function work?
By writing the code for the function
By Functioning
By calling the function
By running the code
2.
MULTIPLE SELECT QUESTION
2 mins • 5 pts
What is a parameter in a function?
The brackets used in the function
a variable used to send information to a function
the name of the function
the name of the main program calling the function
3.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
What is a piece of code that can take inputs to perform a particular task?
a function
arguments
parameters
list
4.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
5.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
6.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
Which of these pieces of code would return the name "Harry" from the following list?
nameList = ["John", "Harry", "Jesse", "John", "Harry", "Harry"]
nameList()
nameList[1]
NameList(4)
nameList["4"]
7.
MULTIPLE CHOICE QUESTION
2 mins • 5 pts
The output of the program
x = 4
x = "Sally"
print(x)
four
Saly
Sally
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
Python Functions Quiz

Quiz
•
10th Grade
10 questions
NOCTI Computer Programming Quiz: Algorithms and Logic

Quiz
•
10th Grade
15 questions
list in python

Quiz
•
10th - 12th Grade
15 questions
IF and Vlookup Function

Quiz
•
9th - 10th Grade
15 questions
Section 3A: Collect and process data using lists

Quiz
•
12th Grade
10 questions
Python Array- quiz

Quiz
•
11th Grade
14 questions
PCS Typing Questions

Quiz
•
9th - 12th Grade
10 questions
Symbol Puzzle Recap

Quiz
•
12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade