String (python)
Quiz
•
Computers
•
3rd Grade
•
Practice Problem
•
Hard
ZINA Abla
Used 28+ times
FREE Resource
Enhance your content in a minute
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
peut afficher comme résultat
12
12.25
12.547
12.985441
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
14 questions
bài 2
Quiz
•
3rd Grade
15 questions
Quiz về máy tính và thông tin
Quiz
•
3rd Grade
10 questions
Bài 7: Sắp xếp để dễ tìm
Quiz
•
3rd Grade
12 questions
Đề Cương 1 - HKI - Tin3 - CTST
Quiz
•
3rd Grade
11 questions
Excel Tableau croisé dynamique ( niveau 8 )
Quiz
•
1st - 12th Grade
10 questions
Trường Tiểu Học An Hạ - Tài Năng Tin Học Cấp Trường K5
Quiz
•
1st - 5th Grade
14 questions
ôn tâp giưa kì tin 6
Quiz
•
1st - 3rd Grade
8 questions
Ôn tập Tin Học Lớp 3
Quiz
•
3rd Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
