Xâu 4
Quiz
•
English
•
5th Grade
•
Practice Problem
•
Hard
Edu TSmart
Used 28+ times
FREE Resource
Enhance your content in a minute
25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chuỗi "Python".swapcase() trả về gì?
python
PYTHON
pYTHON
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn mã sau in ra gì?
C O D E
C
C D
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh if s.endswith("!"): trả về True khi nào?
s chứa dấu chấm than
s kết thúc bằng dấu !
s bắt đầu bằng dấu !
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 5: Đoạn mã sau đếm số nguyên âm trong chuỗi là lệnh nào trong Python?
sum(1 for c in s if c in 'aeiou')
sum(1 for c in s if c in '0123456789')
sum(1 for c in s if c in '-0123456789')
sum(1 for c in s if c in '-')
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn mã sau:
3
5
2
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để đảo chuỗi s = "abc" ta dùng lệnh?
s[::-1]
reversed(s)
Cả hai đúng
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đoạn mã nào chuyển ký tự thường thành hoa bằng lặp?
for c in s: print(c.upper())
print(s.upper())
Cả hai đúng
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
20 questions
Simple presente tense. Culinary verbs
Quiz
•
University
20 questions
ENGLISH GRADE 7
Quiz
•
7th Grade
20 questions
The Forest Troll
Quiz
•
6th Grade
20 questions
English 1 - LIFE - Unit 9: Entertainment
Quiz
•
University
20 questions
degree comparasion
Quiz
•
8th Grade
20 questions
Offering Service/Help Grade XII
Quiz
•
12th Grade
20 questions
UTS BAHASA INGGRIS SEMESTER GANJIL KELAS 9
Quiz
•
9th Grade
20 questions
Future Forms Practice
Quiz
•
9th - 12th 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
Discover more resources for English
14 questions
Context Clues
Quiz
•
4th - 6th Grade
10 questions
Context Clues
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
5th Grade
11 questions
USING CONTEXT CLUES
Lesson
•
5th - 7th Grade
25 questions
Greek and Latin Roots
Quiz
•
5th - 9th Grade
10 questions
Plot - Elements of Plot Practice
Interactive video
•
5th Grade
10 questions
Theme
Quiz
•
3rd - 5th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
