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
15 questions
IEEE Day

Quiz
•
KG - 5th Grade
15 questions
iav ML Study Group Pop Quiz 3

Quiz
•
1st - 2nd Grade
10 questions
Python

Quiz
•
1st - 10th Grade
15 questions
OCR Exam Language

Quiz
•
5th Grade
10 questions
Python-Partie9

Quiz
•
1st Grade
10 questions
การประเมินการเขียนโปรแกรมภาษาไพทอน

Quiz
•
1st Grade
11 questions
Data analitycs open-source tools

Quiz
•
3rd Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

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

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
9 questions
A Fine, Fine School Comprehension

Quiz
•
3rd Grade
10 questions
Common Denominators

Quiz
•
5th Grade
24 questions
Flinn Lab Safety Quiz

Quiz
•
5th - 8th Grade
12 questions
Passport Quiz 1

Quiz
•
1st - 5th Grade
10 questions
Making Predictions

Quiz
•
4th - 5th Grade
6 questions
Spiral Review 8/5

Quiz
•
4th Grade