Python

Python

1st - 10th Grade

10 Qs

quiz-placeholder

Similar activities

Python_R

Python_R

2nd Grade - Professional Development

8 Qs

Basic Python Programming_Class VIII

Basic Python Programming_Class VIII

8th Grade

10 Qs

Python Series

Python Series

1st - 5th Grade

15 Qs

Python Basic

Python Basic

6th - 8th Grade

10 Qs

Python Basics

Python Basics

8th - 10th Grade

10 Qs

Python Basics Quiz

Python Basics Quiz

8th Grade

11 Qs

Python Quiz - 4

Python Quiz - 4

4th - 11th Grade

10 Qs

Python  beginners quiz

Python beginners quiz

9th - 10th Grade

10 Qs

Python

Python

Assessment

Quiz

Computers

1st - 10th Grade

Medium

Created by

Allali Mohammed

Used 79+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quelle est la syntaxe correcte pour afficher "Hello World" en Python ?

echo("Hello World");

p("Hello World")

print("Hello World")

echo "Hello World"

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Comment insérer des COMMENTAIRES dans le code Python ?

/*This is a comment*/

#This is a comment

//This is a comment

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lequel n'est PAS un nom de variable légal ?

_myvar

myvar

my-var

Myvar

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Comment créez-vous une variable avec la valeur numérique 5 ?

x = 5

x = int(5)

Both the other answers are correct

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quelle est l'extension de fichier correcte pour les fichiers Python ?

.pyth

.pt

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Comment créez-vous une variable avec le nombre flottant 2.8 ?

x = float(2.8)

Both the other answers are correct

x = 2.8

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

En Python, 'Hello', est identique à "Hello"

vrai

faux

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?