Data Types

Quiz
•
Engineering
•
Professional Development
•
Hard

py thon
Used 2+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Primer Quizz

Quiz
•
Professional Development
10 questions
Understanding MRI Technology

Quiz
•
Professional Development
14 questions
Security Hardening, Secure Boot and AD

Quiz
•
Professional Development
15 questions
PA_Datatypes_Indentations2

Quiz
•
Professional Development
10 questions
TIMING TEST

Quiz
•
Professional Development
7 questions
ValueAnalysis

Quiz
•
Professional Development
10 questions
RTES

Quiz
•
Professional Development
14 questions
BSD 3B Quiz No. 2

Quiz
•
Professional Development
Popular Resources on Wayground
55 questions
CHS Student Handbook 25-26

Quiz
•
9th Grade
10 questions
Afterschool Activities & Sports

Quiz
•
6th - 8th Grade
15 questions
PRIDE

Quiz
•
6th - 8th Grade
15 questions
Cool Tool:Chromebook

Quiz
•
6th - 8th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
20 questions
Bullying

Quiz
•
7th Grade
18 questions
7SS - 30a - Budgeting

Quiz
•
6th - 8th Grade
Discover more resources for Engineering
11 questions
All about me

Quiz
•
Professional Development
10 questions
How to Email your Teacher

Quiz
•
Professional Development
5 questions
Setting goals for the year

Quiz
•
Professional Development
11 questions
complex sentences

Quiz
•
Professional Development
8 questions
Ötzi the Iceman: A 5,000-Year-Old True Crime Murder Mystery | Full Documentary | NOVA | PBS

Interactive video
•
Professional Development
1 questions
Savings Questionnaire

Quiz
•
6th Grade - Professio...
6 questions
Basics of Budgeting 7

Quiz
•
6th Grade - Professio...
20 questions
Movies

Quiz
•
Professional Development