Python Quiz

Python Quiz

1st Grade

10 Qs

quiz-placeholder

Similar activities

SCR1 Recap Day 2

SCR1 Recap Day 2

1st Grade

7 Qs

Medidas de Tendencia central

Medidas de Tendencia central

1st - 2nd Grade

13 Qs

Jak dobrze znająsz MSP?

Jak dobrze znająsz MSP?

1st Grade - University

9 Qs

Bạn có phải là người học tốt Tin học 8

Bạn có phải là người học tốt Tin học 8

1st Grade - University

10 Qs

Evaluación Noveno Informática 1er. Periodo

Evaluación Noveno Informática 1er. Periodo

1st Grade

10 Qs

Latihan soal construct 3

Latihan soal construct 3

1st - 12th Grade

10 Qs

2R1P druk materialy papier

2R1P druk materialy papier

1st Grade

15 Qs

Examen Diagnostico

Examen Diagnostico

1st Grade

12 Qs

Python Quiz

Python Quiz

Assessment

Quiz

Computers

1st Grade

Practice Problem

Medium

Created by

Junior Tina

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Python est un langage _______?

interprété

machine

compilé

binaire

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Laquelle des fonctions suivantes convertit un « string » en « float » en python?

str(x)

float(x)

long(x [,base])

int(x [,base])

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quel est le type de données pour un caractère en python?

chr

char

character

python ne possède aucun type de données pour les caractères, ils sont traités comme des chaînes de caractères (String)

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Combien vaudra la variable d à la fin de ce programme ? a=7 b=a+1 c=b-1 d=c-3

7

1

4

0

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Combien vaudra la variable x à la fin de ce programme utilisant un test if ? x=13 if x<=11: x=x+4 if x==8: x=x-6

7

13

16

Erreur

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Combien vaudra la variable x à la fin de ce programme ?

i=62

if i!=40:

x=41

elif i>11:

x=46

else:

x=56

41

62

46

56

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Combien vaut l'expression logique 1 or 1 and 0 ?

0

1

Create a free account and access millions of resources

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?