Quiz sur Python

Quiz sur Python

1st - 5th Grade

10 Qs

quiz-placeholder

Similar activities

KODEKIDDO HACK #MLH3

KODEKIDDO HACK #MLH3

4th Grade - University

10 Qs

Python 11 - Bai 2

Python 11 - Bai 2

1st Grade

10 Qs

Advance Python

Advance Python

KG - Professional Development

10 Qs

Algorithms basic

Algorithms basic

3rd - 7th Grade

12 Qs

Algobox

Algobox

1st Grade

14 Qs

Python practice questions

Python practice questions

4th - 6th Grade

10 Qs

Intro to Python Test

Intro to Python Test

3rd - 12th Grade

11 Qs

Python

Python

1st - 10th Grade

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?