Quiz sur Python

Quiz sur Python

1st - 5th Grade

10 Qs

quiz-placeholder

Similar activities

Programming languages

Programming languages

1st - 3rd Grade

10 Qs

Python L1 Quiz 5: Random Numbers and More Turtle Features

Python L1 Quiz 5: Random Numbers and More Turtle Features

1st - 12th Grade

10 Qs

Python Basics

Python Basics

1st Grade

10 Qs

9 сынып python

9 сынып python

1st Grade

10 Qs

Variable Scope in Python

Variable Scope in Python

1st Grade - Professional Development

15 Qs

Java 2_TDI

Java 2_TDI

3rd - 12th Grade

10 Qs

K10 - TX2

K10 - TX2

3rd Grade

10 Qs

Python101

Python101

1st Grade - Professional Development

10 Qs

Quiz sur Python

Quiz sur Python

Assessment

Quiz

Computers

1st - 5th Grade

Easy

Created by

Khaled Abdellatif

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Que renvoie len("Python") ?

"Python"

5

6

Erreur

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

"bonjour".upper() renvoie :

BONJOUR

bonjour

Bonjour

Erreur

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

" Python ".strip() renvoie :

"Python"

" Python"

"Python "

" Python "

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

"chat".replace("a", "o") renvoie :

"cho"

"chot"

"chat"

"chao"

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Que fait la méthode find() ?

Supprime un caractère dans une chaîne

Ajoute un caractère à une chaîne

Renvoie l'indice de la première occurrence d’un élément

Trie les lettres de la chaîne

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

"python".find("y") renvoie :

0

1

"y"

True

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

"banana".count("a") renvoie :

1

2

3

6

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?