Python Basics - Quiz
Quiz
•
Computers
•
8th - 11th Grade
•
Practice Problem
•
Hard
Jasy Liew
Used 27+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Which of the following identifier would NOT be accepted by Python?
MalaysiaBoleh100
global
pneumonoultra
FLAG
2.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Which of the following is the slicing operator?
[ ]
{ }
( )
/
3.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
What is the output of the following lines of code?
var1 = 12
var1 = 23.4
var1 = "I love AI!"
print(var1)
12
23.4
I love AI!
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
What is the output from the following lines of code?
a = [2, 4, 8]
a[2] = 6
print(a)
[2, 4, 8]
[2, 6, 8]
[2, 4, 6]
[6, 4, 8]
5.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Which function allows us to add one element to a list at a desired location?
append()
extend()
insert()
pop()
6.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
How many parameters are there in the sum() function call below?
sum(1, 3, 5)
0
1
2
3
7.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Which of the following refers to a file containing Python statements and definitions?
function
module
block
attribute
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
9 questions
11 сыныпқа арналған тест тапсырмалары
Quiz
•
11th Grade
10 questions
QUIZ 2 KLS 9
Quiz
•
9th Grade
15 questions
Getting Started With PowerPoint
Quiz
•
9th Grade
10 questions
Jaringan Komputer / AIJ
Quiz
•
11th Grade
10 questions
Testas: Saugesnis internetas
Quiz
•
11th Grade
11 questions
Ethical Issues of I.T.
Quiz
•
7th - 8th Grade
10 questions
Kiểm tra TX tin 8
Quiz
•
8th Grade
14 questions
JAVA IDENTIFIERS
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Computers
18 questions
Company Logos
Quiz
•
6th - 8th Grade
13 questions
PowerPoint Basics
Quiz
•
6th - 8th Grade
10 questions
App Creators Lesson 2.1-2.4
Quiz
•
8th Grade
10 questions
Exploring Computer Science Careers and Subfields
Interactive video
•
6th - 10th Grade
15 questions
AP CSP Unit 4
Quiz
•
10th - 12th Grade
23 questions
Prog 1 Python Q1 Practice
Quiz
•
9th - 12th Grade
