
Python Data structures

Quiz
•
Computers
•
University
•
Hard
Dimitra Mavroforaki
Used 4+ times
FREE Resource
Student preview

20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is NOT valid variable name in python?
Myvar123
my_var
1_myvar
_myvar1
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What the answer of the expression 22 % 3 is?
1
7
0
5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these commands will create a list?
list1=[1,2,3]
list1=list("123")
list1=[]
All of these
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which method should I use to convert String "welcome to the beautiful world of python" to "Welcome To The Beautiful World Of Python"
capitalize()
upper()
None of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Following set of commands are executed in shell, what will be the output?
hello
lo
he
hel
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The following is displayed by a print function call:
tom
nick
harry
Select all of the function calls that result in this output
print("tomnickharry")
print("tom
nick
harry")
print("tom\nnick\nharry")
print("tom/nnick/nharry")
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output when following code is executed?
Daman
n
D
Error
Create a free account and access millions of resources
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
15 questions
Let's Take a Poll...

Quiz
•
9th Grade - University
2 questions
Pronouncing Names Correctly

Quiz
•
University
12 questions
Civil War

Quiz
•
8th Grade - University
18 questions
Parent Functions

Quiz
•
9th Grade - University
21 questions
Mapa países hispanohablantes

Quiz
•
1st Grade - University
19 questions
Primary v. Secondary Sources

Quiz
•
6th Grade - University
25 questions
Identifying Parts of Speech

Quiz
•
8th Grade - University
20 questions
Disney Trivia

Quiz
•
University