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
15 questions
Python lecture 1

Quiz
•
1st - 3rd Grade
6 questions
Python Training Module Quiz

Quiz
•
KG - University
16 questions
Quizz

Quiz
•
1st - 12th Grade
15 questions
NAT4 SDD

Quiz
•
4th Grade
10 questions
Algorithm

Quiz
•
3rd - 6th Grade
14 questions
Python Functions and Flowcharts

Quiz
•
1st - 3rd Grade
10 questions
Python

Quiz
•
3rd - 10th Grade
10 questions
programowanie Python

Quiz
•
1st 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