Python(2)

Python(2)

2nd Grade

16 Qs

quiz-placeholder

Similar activities

Gestion des données

Gestion des données

2nd Grade

18 Qs

Langage SQL - Basics

Langage SQL - Basics

1st - 12th Grade

11 Qs

Information technology 3 unit 3 connecting to clients

Information technology 3 unit 3 connecting to clients

1st - 11th Grade

12 Qs

L'arborescence d'un site

L'arborescence d'un site

KG - 5th Grade

14 Qs

NSIT_Super_Geek

NSIT_Super_Geek

1st - 10th Grade

20 Qs

Sauvegarde et Restauration

Sauvegarde et Restauration

2nd Grade

15 Qs

LOGICIEL 3D

LOGICIEL 3D

1st - 10th Grade

12 Qs

Quiz sur la Connexion Internet

Quiz sur la Connexion Internet

2nd Grade

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