Python - 01

Quiz
•
Computers
•
1st - 5th Grade
•
Medium
Hector Santaella
Used 3+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How would you convert a string into lowercase?
string.lower
string.lower()
lower(string)
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How do you get a list of all the keys in a dictionary?
mydict.keys()
mydict.keys
keys.mydict
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How would you declare a comment in Python?
¢Comment
#Comment
//Comment
{/*
Comment
/*}
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Syntax for a lambda function in Python
lambda arguments : expression
lambda expression : arguments
lamb expression : arguments
l expression : arguments
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
How would you check if a key exists in a Python dictionary?
my_dictionary.has_key(key_to_lookup)
my_dictionary.has(key_to_lookup)
has_key(my_dictionary)
6.
MULTIPLE CHOICE QUESTION
45 sec • Ungraded
Python is only for backend?
Yes
No
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Example for snake-case
one_attribute
One_attribute
oneAttribute
Create a free account and access millions of resources
Similar Resources on Wayground
8 questions
Python 4.2 and 4.3

Quiz
•
1st - 5th Grade
11 questions
N4 Python Programming

Quiz
•
4th Grade
10 questions
การเขียนโปรแกรม ม.1

Quiz
•
1st Grade
6 questions
Python Programming Quiz

Quiz
•
4th Grade - University
10 questions
Computational Thinking & Python

Quiz
•
5th Grade
10 questions
4th Digital Citizenship/Online Protocols

Quiz
•
4th Grade
10 questions
Переменные, циклы и списки

Quiz
•
2nd Grade
14 questions
Basic Python Quiz 3

Quiz
•
5th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade