
Python Quiz 7
Quiz
•
Professional Development
•
University
•
Practice Problem
•
Medium
ENDURO SRM
Used 4+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
How many built-in data structures Python has?
Two
Four
Eight
More than eight
Answer explanation
Python has 4 built-in Data Structures -
List
Tuple
Set
Dictionary
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following data structure is unordered?
List
Tuple
Dictionary
None of these
Answer explanation
List and Tuple are Ordered
Set and Dictionary are Unordered
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Why we used set data structure to store the alphabets of the word?
Because sets cannot be changed
Because sets are unordered
Because sets work well with strings
Because sets stores unique values
Answer explanation
Like in case of "Loop"
We want set to be {'L', 'O', 'P'},
not {'L', 'O', 'O', 'P'}
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which statement can be used to close the game?
root.quit( )
root.commit( )
root.exit( )
root.close( )
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will this line of code do?
e1.delete(0, tkinter.END)
Remove the first character entered in Entry box e1
Edit the last character entered in Entry box e1
Print all the characters entered in Entry box e1
Remove all the characters entered in Entry box e1
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the use of global keyword before a variable name?
To use the variable both inside and outside a function
To have two variables with same name
To make the variable value unchangeable
To export the variable to other program files
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which method takes all items in an iterable and joins them into one string?
join() method
connect() method
str() method
concatenate() method
Answer explanation
Eg - ' '.join(word_list)
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
Already have an account?
Similar Resources on Wayground
10 questions
TOEFL Structure (Problems with Usage)
Quiz
•
9th Grade - Professio...
15 questions
BBD1 Quiz
Quiz
•
University
15 questions
OBE Quizz - Week 4
Quiz
•
University
14 questions
selection
Quiz
•
University
10 questions
Research Methodology
Quiz
•
University
15 questions
Chapter 1 History and Career Opportunities
Quiz
•
University
10 questions
Effective Communication
Quiz
•
University
10 questions
Moringa JavaScript Arrays
Quiz
•
5th Grade - Professio...
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Professional Development
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
