Data Types
Quiz
•
Engineering
•
Professional Development
•
Practice Problem
•
Hard
py thon
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the result of the following code:
x = 'Welcome'
print(x[3])
Wel
c
Welcome Welcome Welcome
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the follwing repersents list data type?
N={1,2,3}
N=[1,2,3]
N= (1,2,3)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If x = 9, what is a correct syntax to print 'The price is 9 dollars'?
print(f'The price is {x:f} dollars')
print(f'The price is {x} dollars')
print(f'The price is {x:f(2)} dollars')
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the result of the following code:
prinThe price is 23 dollars
The price is 5 dollars
The price is {2 + 3} dollars
The price is 6 dollars
t(f'The price is {2 + 3} dollars')
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False.
List items cannot be removed after the list has been created.
True
False
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Whis one of theese is a dictionary?
x = ('apple', 'banana', 'cherry')
x = {'type' : 'fruit', 'name' : 'banana'}
x = ['apple', 'banana', 'cherry']
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False.
Dictionary items cannot be removed after the dictionary has been created.
True
False
Access all questions and much more by creating a free account
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
Cyber Security for Remote Users
Quiz
•
Professional Development
13 questions
Quality Assestment
Quiz
•
Professional Development
11 questions
FIRE Board
Quiz
•
Professional Development
10 questions
Calculations in C-R & L-R Circuits Quiz
Quiz
•
Professional Development
10 questions
Coimbatore master plan 2041
Quiz
•
Professional Development
8 questions
Number Systems Quiz
Quiz
•
Professional Development
10 questions
EE 030 S2
Quiz
•
Professional Development
15 questions
Java Networking Fundamentals
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Engineering
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...
