Python - 01

Python - 01

1st - 5th Grade

11 Qs

quiz-placeholder

Similar activities

HTML Quiz

HTML Quiz

KG - University

10 Qs

Python Level 3 - Minecraft

Python Level 3 - Minecraft

5th - 12th Grade

11 Qs

Repaso 1er encuentro

Repaso 1er encuentro

1st Grade

10 Qs

Python

Python

3rd - 10th Grade

10 Qs

Grade 4 - Keywords

Grade 4 - Keywords

4th Grade

12 Qs

e-learning

e-learning

1st Grade

15 Qs

ASK Bab 3

ASK Bab 3

3rd Grade

15 Qs

Crtanje u Pytonu 6.b

Crtanje u Pytonu 6.b

5th - 6th Grade

13 Qs

Python - 01

Python - 01

Assessment

Quiz

Computers

1st - 5th Grade

Practice Problem

Medium

Created by

Hector Santaella

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?