Python - 01

Python - 01

1st - 5th Grade

11 Qs

quiz-placeholder

Similar activities

AZMerit Vocabulary

AZMerit Vocabulary

3rd Grade

14 Qs

P3 Digital Citizenship Part 2

P3 Digital Citizenship Part 2

3rd Grade

10 Qs

Retroalimentacion Tecnología 1

Retroalimentacion Tecnología 1

1st Grade

10 Qs

HARD-SOFTware INF 6

HARD-SOFTware INF 6

2nd Grade

10 Qs

Unos korisnika - ponavljanje

Unos korisnika - ponavljanje

5th Grade

10 Qs

KUIZ PYTHON

KUIZ PYTHON

1st - 5th Grade

15 Qs

Bilişim Teknolojileri ve Yazılım 7. Sınıf 1. Dönem

Bilişim Teknolojileri ve Yazılım 7. Sınıf 1. Dönem

5th - 8th Grade

8 Qs

Family Quizz

Family Quizz

5th Grade - Professional Development

15 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?