Evaluation Python 2

Evaluation Python 2

12th Grade

14 Qs

quiz-placeholder

Similar activities

Creating a document

Creating a document

1st Grade - Professional Development

9 Qs

Signaux et information

Signaux et information

9th - 12th Grade

10 Qs

Working around Adobe Photoshop

Working around Adobe Photoshop

12th Grade

10 Qs

C-Programming Basics

C-Programming Basics

12th Grade

16 Qs

KTTX-T4

KTTX-T4

9th - 12th Grade

10 Qs

Access 12

Access 12

12th Grade

10 Qs

Iteracja i rekurencja

Iteracja i rekurencja

9th - 12th Grade

19 Qs

PowerPoint Test

PowerPoint Test

9th - 12th Grade

15 Qs

Evaluation Python 2

Evaluation Python 2

Assessment

Quiz

Computers

12th Grade

Practice Problem

Medium

Created by

Housem Boulmezaoud

Used 105+ times

FREE Resource

AI

Enhance your content in a minute

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

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pour déclarer une variable α de type entier, on utiliser l'instruction

a == 4

a = 4

a = 4.0

a = '4'

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

L'instruction range(5) renvoie la liste

[0,1,2,3,4,5]

[0,1,2,3,4]

[1,2,3,4,5]

[1,2,3,4]

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

La suite d'instruction

mot = 'Baccalaureat'

for i in mot:

.....print(i)

Affiche une liste d'éléments de type int

Affiche une liste de mot

Affiche une liste de lettre

N'affiche rien

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Le mot réservé while, permet de définir

une variable

une boucle

un test

une fonction

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

La suite d'instruction:

n = 3

while n>4:

.....n = n +2

print(n)

affiche 0

ne affiche rien

affiche 3

affiche 5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

n = -1

if n > 0:

.....print(False)

else:

.....print(True)

False

True

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cette suite d'instructions est elle correctement écrite:

n = 3

if n > 2:

print('oui')

else :

......print('non')

Oui

Non

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?