Test d'échantillon PCAP

Test d'échantillon PCAP

University

6 Qs

quiz-placeholder

Similar activities

tangent line quiz

tangent line quiz

10th Grade - University

10 Qs

(1) INTRODUCTION TO TPM

(1) INTRODUCTION TO TPM

University

11 Qs

figurative Language by Blaise J.

figurative Language by Blaise J.

KG - Professional Development

11 Qs

English

English

12th Grade - University

10 Qs

The Montgomery Bus Boycott

The Montgomery Bus Boycott

10th Grade - Professional Development

10 Qs

Latihan Soal Matematika

Latihan Soal Matematika

2nd Grade - University

10 Qs

IDI 0280 Sec. 09 2021 - 1

IDI 0280 Sec. 09 2021 - 1

University

10 Qs

PRESENT SIMPLE

PRESENT SIMPLE

1st Grade - University

11 Qs

Test d'échantillon PCAP

Test d'échantillon PCAP

Assessment

Quiz

English

University

Practice Problem

Hard

Created by

Narjes KHALIFA

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

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

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

L'expression suivante 2 ** 3 ** 2 ** 1 est égale :

64

16.0

invalide

512

16

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Quel est le résultat attendu du code suivant ? i = 250 while len(str(i)) > 72: i *= 2 else: i //= 2 print(i)

125

250

72

500

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Quel code inséreriez-vous à la ligne indiquée ci-dessous :

n = 0

while n < 4:

n += 1

# insérez votre code ici

pour imprimer la chaîne suivante sur le moniteur après l'exécution de la boucle : 1 2 3 4

print(n)

print(n, sep=" ")

print(n, end=" ")

print(n, " ")

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Quel est le type de valeur retourné après l'exécution du code suivant ?

x = 0

y = 2

z = len("Python")

x = y > z

print(x)

int

float

str

bool

NoneType

5.

MULTIPLE SELECT QUESTION

5 mins • 1 pt

Quelle ligne peut être utilisée à la place du commentaire pour faire en sorte que le snippet produise la sortie attendue suivante ? (Sélectionnez tout ce qui s'applique) Code : z, y, x = 2, 1, 0 x, z = z, y y = y - z # mettez la ligne ici print(x, y, z) Sortie attendue : 0, 1, 2

x, y, z = y, z, x

z, y, x = x, z, y

y, z, x = x, y, z

Le code est erroné

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Quel est le résultat attendu du snippet suivant ? a = 0 b = a ** 0 if b < a + 1: c = 1 elif b == 1: c = 2 else: c = 3 print(a + b + c)

1

2

3

Le code est erroné

Access all questions and much more by creating a free account

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?