Cho đoạn chương trình sau:
>>> s='1234%^^%TFRESDRG'
>>> s1='abc'
>>> len(s+s1)
Cho biết kết quả(độ dài) đoạn chương trình trên là bao nhiêu?
Đề kiểm tra ve Xau khoi 10-2022-2023
Quiz
•
Computers
•
11th Grade
•
Medium
Bich Tran
Used 11+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho đoạn chương trình sau:
>>> s='1234%^^%TFRESDRG'
>>> s1='abc'
>>> len(s+s1)
Cho biết kết quả(độ dài) đoạn chương trình trên là bao nhiêu?
16
17
18
19
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Biểu thức sau cho kết quả đúng hay sai?
>>>S1 = “12345”
>>>S2 = “3e4r45”
>>>S3 = “45”
Hãy cho biết kết quả khi thực hiện
>>>S3 in S1
>>>S3 in S2
True, False.
True, True.
False, False.
False, True.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
s1=['a','b','c','d']
s2=''.join(s1)
s3='abcd4bcd'.find(s2)
print(s3)
0
1
2
3
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Phép nào được sử dụng để ghép hai xâu kí tự lại với nhau?
+
-
*
/
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho đoạn chương trình trong Pyhton:
str1 = "Hello"
str2 = "world"
str3 = str1 + " " + str2
print(str3)
Hãy cho biết kết quả là gì?
"Hello world"
"Helloworld"
" world Hello”
"Hello"
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho đoạn chương trình trong Pyhton:
a=["Hello", "world"]
s=" ".join(a)
print(s)
Hãy cho biết kết quả là gì?
"Helloworld"
"Hello, world"
"Hello world"
"Hello"
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Cho hai xâu "Hello" và "world". Kết quả của phép "Hello" + "world" là gì?
"HelloWorld"
"Hello World"
"Hello world"
"Helloworld"
15 questions
ASK F2 -KOD ARAHAN (PYTHON)
Quiz
•
1st Grade - University
20 questions
Intro to HTML
Quiz
•
8th - 12th Grade
20 questions
2324TX5
Quiz
•
9th - 12th Grade
15 questions
Grade 12-Python selection&iteration
Quiz
•
11th - 12th Grade
20 questions
JavaScript Basics Review
Quiz
•
7th - 12th Grade
25 questions
Kiểm tra giữa HKII - Tin học 11
Quiz
•
11th Grade
24 questions
HK2- Thi Tin Học
Quiz
•
11th Grade
20 questions
KTTX lần 01 Tin 11
Quiz
•
11th Grade
15 questions
Multiplication Facts
Quiz
•
4th Grade
20 questions
Math Review - Grade 6
Quiz
•
6th Grade
20 questions
math review
Quiz
•
4th Grade
5 questions
capitalization in sentences
Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance
Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions
Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines
Quiz
•
Professional Development
12 questions
Dividing Fractions
Quiz
•
6th Grade