String (python)

String (python)

3rd Grade

12 Qs

quiz-placeholder

Similar activities

Roblox Blade Ball Mastery Quiz

Roblox Blade Ball Mastery Quiz

1st - 5th Grade

10 Qs

BÀI TẬP TIN HỌC LỚP 3 HKII 24 25

BÀI TẬP TIN HỌC LỚP 3 HKII 24 25

3rd Grade - University

12 Qs

CUARTO GRADO

CUARTO GRADO

2nd - 10th Grade

13 Qs

Grade3 cH7:Computational thinking

Grade3 cH7:Computational thinking

3rd - 4th Grade

11 Qs

Test Programmation

Test Programmation

2nd - 4th Grade

14 Qs

Программирование C#

Программирование C#

1st - 10th Grade

10 Qs

Word 2016

Word 2016

1st - 3rd Grade

9 Qs

Bài 14: Thực hiện công việc theo điều kiện

Bài 14: Thực hiện công việc theo điều kiện

3rd Grade

17 Qs

String (python)

String (python)

Assessment

Quiz

Computers

3rd Grade

Hard

Created by

ZINA Abla

Used 28+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Ce code permet d'affecter à la variable a :

un entier aléatoire composé de 2 chiffres

un réel aléatoire composé de 2 chiffres

un entier aléatoire composé de 3 chiffres

un réel aléatoire composé de 3 chiffres

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

peut afficher comme résultat

12

12.25

12.547

12.985441

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Ce code affiche :

Un réel entre 10 et 19

Un entier entre 10 et 19

Un réel entre 10 et 20

Un entier entre 10 et 20

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Quelle est la sortie du programme suivant ?

var1 = 'Hello Geeks!'    

var2 = "GeeksforGeeks"   

print ( var1[0], var2[1:5])

H eeks

H eek

H eeksf

H Geeks

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Laquelle des fonctions suivantes convertit une chaine de caractères en réel en python?

str(x)

float(x)

int(x)

len(x)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ch="18/10/2022"

x=ch[0:2]

donne comme résultat

18

18/

10

20

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Soit la chaine ch="18/10/2022"

si on veut extraire l'année 2022 de la date et la stocker dans la variable a

quelle est la bonne instruction?

a=ch[6:4]

a=ch[6:]

a=ch[7:]

a=ch[7:4]

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?