Python(2)

Python(2)

2nd Grade

16 Qs

quiz-placeholder

Similar activities

python initiation

python initiation

2nd Grade

21 Qs

Excel Tableau croisé dynamique ( niveau 8 )

Excel Tableau croisé dynamique ( niveau 8 )

1st - 12th Grade

11 Qs

quizz1

quizz1

1st - 2nd Grade

17 Qs

Essai intermédiaire

Essai intermédiaire

1st - 10th Grade

12 Qs

TP1_Angular

TP1_Angular

2nd - 3rd Grade

13 Qs

Intro to Small Basic

Intro to Small Basic

KG - 7th Grade

15 Qs

Java_TDI3

Java_TDI3

2nd Grade

18 Qs

PYTHON BASIC

PYTHON BASIC

2nd Grade

18 Qs

Python(2)

Python(2)

Assessment

Quiz

Computers

2nd Grade

Medium

Created by

younes ettouhami

Used 13+ times

FREE Resource

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quelle est la bonne extension pour un fichier Python ?

.py

.txt

.java

.exe

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Comment affiche-t-on du texte à l'écran ?





show("Text")

display("Text")

echo "Text"

print("Text")

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quelle est la bonne syntaxe pour créer une variable ?



int variable = 10

var:10

variable = 10

10 = variable

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quel type de variable peut contenir plusieurs éléments ?

list

int

str

bool

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Comment crée-t-on une liste vide ?

{}

[]

()

""

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quelle est la bonne syntaxe pour convertir une variable de type chaine de caractaire en entier ?



int("15")

float("15")

"15".int()

str(15)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quel est l’indice du premier élément d’une liste ?

0

1

-1

Aucun

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?