String (python)

String (python)

3rd Grade

12 Qs

quiz-placeholder

Similar activities

Ôn Tập Tin học 3 - HKII

Ôn Tập Tin học 3 - HKII

3rd Grade

16 Qs

INTRODUCTION TO MEDIA AND INFORMATION LITERACY HUMSS

INTRODUCTION TO MEDIA AND INFORMATION LITERACY HUMSS

KG - 11th Grade

14 Qs

KS3 Computational Thinking

KS3 Computational Thinking

KG - University

10 Qs

Bài 1: Thông tin và Quyết định

Bài 1: Thông tin và Quyết định

3rd Grade

15 Qs

Platformer L5 Debug Stuck in Level Changing

Platformer L5 Debug Stuck in Level Changing

1st - 5th Grade

11 Qs

K3-KI-ON TAP 1

K3-KI-ON TAP 1

3rd Grade

13 Qs

ôn tập tin học 3

ôn tập tin học 3

3rd Grade

8 Qs

Edytor tekstu - Word

Edytor tekstu - Word

KG - University

10 Qs

String (python)

String (python)

Assessment

Quiz

Computers

3rd Grade

Practice Problem

Hard

Created by

ZINA Abla

Used 28+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?

Discover more resources for Computers