String (python)

String (python)

3rd Grade

12 Qs

quiz-placeholder

Similar activities

Test Programmation

Test Programmation

2nd - 4th Grade

14 Qs

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

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

1st - 10th Grade

10 Qs

Ôn tập Tin học 3_HK II

Ôn tập Tin học 3_HK II

3rd Grade

14 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

10 Qs

Quiz sur le langage Python

Quiz sur le langage Python

1st - 5th Grade

10 Qs

Bài 5. Tập gõ bàn phím

Bài 5. Tập gõ bàn phím

3rd Grade

10 Qs

PHẢN BIỆN HỆ THỐNG AI

PHẢN BIỆN HỆ THỐNG AI

3rd Grade - University

16 Qs

Kiểm tra kiến thức tháng 9- lớp 3

Kiểm tra kiến thức tháng 9- lớp 3

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?