Les bases de la programmation en Python

Les bases de la programmation en Python

University

30 Qs

quiz-placeholder

Similar activities

Python new

Python new

3rd Grade - University

26 Qs

Understanding Input, Selection and Loops in Python

Understanding Input, Selection and Loops in Python

7th Grade - University

25 Qs

Python Basics

Python Basics

University

25 Qs

PL101 MIDTERM Long Quiz

PL101 MIDTERM Long Quiz

University

35 Qs

Input and output devices

Input and output devices

University

25 Qs

Fund of CS Cycle 3 Exam

Fund of CS Cycle 3 Exam

9th Grade - University

28 Qs

programming quiz

programming quiz

University

25 Qs

Python Quiz II

Python Quiz II

9th Grade - University

30 Qs

Les bases de la programmation en Python

Les bases de la programmation en Python

Assessment

Quiz

Computers

University

Medium

Created by

Erwan Capitaine

Used 30+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Quelle est la syntaxe correcte pour écrire "Hello World !" en langage Python ?

print("Hello World") 

echo("Hello World");

p("Hello World")

echo "Hello World"

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Comment écrire un commentaire en Pyhton ?

//Ceci est un commentaire

/*Ceci est un commentaire*/

#Ceci est un commentaire

"Ceci est un commentaire"

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quelle réponse ne correspond pas à un nom de variable correct ?

MaVariable1

ma_variable1

_maVariable

1ma_variable

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Comment créer une variable "x" avec une valeur de 5 ?

x = 5

5 = x

x = int(5)

x = float(5)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quelle est l'extension d'un fichier python ?

.py

.ipynb

.pyt

.pyth

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Comment créer une variable "x" avec une valeur de 21.6 ?

x = 21.6

21.6 = x

x = int(21.6)

x = float(21.6)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Comment créer une fonction en Python ?

create myFunction():

def myFunction():  

function myfunction():

while myfunction():

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?