Xâu 4

Quiz
•
English
•
5th Grade
•
Hard
Edu TSmart
Used 24+ times
FREE Resource
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
Similar Resources on Wayground
22 questions
Phonics ABCD

Quiz
•
1st Grade - University
20 questions
Asking & Giving Opinion

Quiz
•
11th Grade
20 questions
Trắc nghiệm bài 2 Vai trò Tb thông minh

Quiz
•
10th Grade
25 questions
KYS| Chuyên đề 1: Các thì trong tiếng Anh - P1

Quiz
•
12th Grade
20 questions
Vocab and Passive Voice

Quiz
•
University
20 questions
Review 2 (Family and friends 3)

Quiz
•
7th - 8th Grade
20 questions
Grade 10. Unit 6. Gender equality

Quiz
•
12th Grade
20 questions
Latin Suffixes -able and -ible

Quiz
•
5th - 6th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for English
16 questions
Figurative Language

Quiz
•
5th Grade
20 questions
Context Clues

Quiz
•
5th Grade
10 questions
Main Idea and Supporting Details

Quiz
•
3rd - 6th Grade
10 questions
Context Clues

Quiz
•
5th Grade
9 questions
Simple, Compound, and Complex Sentences

Lesson
•
4th - 5th Grade
20 questions
Compound Subject and Predicate

Quiz
•
3rd - 5th Grade
20 questions
Character traits

Quiz
•
5th Grade
20 questions
Context Clues

Quiz
•
5th Grade