Python
Quiz
•
Computers
•
Professional Development
•
Practice Problem
•
Hard
Abdulalim Mohamed
Used 1+ times
FREE Resource
Enhance your content in a minute
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1,2,3,4
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following statements create a dictionary?
a) d = {}
b) d = {“john”:40, “peter”:45}
c) d = {40:”john”, 45:”peter”}
d) All of the mentioned
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many times will this code loop?
50
90
0
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Look at this code, what shape will it make?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Suppose list1 is [2445,133,12454,123], what is max(list1)?
a) 2445
b) 133
c) 12454
d) 123
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If a=(1,2,3,4), a[1:-1] is _________
a) Error, tuple slicing doesn’t exist
b) [2,3]
c) (2,3,4)
d) (2,3)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To add a new element to a list we use which Python command?
a) list1.addEnd(5)
b) list1.addLast(5)
c) list1.append(5)
d) list1.add(5)
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
30 questions
Excel Certification Practice test
Quiz
•
Professional Development
40 questions
QUIZ TIK
Quiz
•
Professional Development
40 questions
AZ-900 Deployment and Management
Quiz
•
Professional Development
30 questions
Algorithm - Complexity
Quiz
•
University - Professi...
30 questions
SOAL TES CorelDraw BLKK PP. DDI Al-Ihsan Kanang
Quiz
•
Professional Development
30 questions
Blind Coding Round 1
Quiz
•
Professional Development
39 questions
S23.2 Sotfware and computers
Quiz
•
Professional Development
30 questions
QUIZZ AIJ XI TKJ - ROUTING STATIS
Quiz
•
KG - Professional Dev...
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
