Xâu 4

Quiz
•
English
•
5th Grade
•
Hard
Edu TSmart
Used 22+ 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
20 questions
Exploring Planet Earth

Quiz
•
9th Grade
29 questions
BÀI 12-PHẦN MỀM THIẾT KẾ ĐỒ HỌA

Quiz
•
10th Grade
28 questions
Kiến thức về VEX IQ

Quiz
•
6th Grade
24 questions
Tin qkhanh

Quiz
•
10th Grade - University
20 questions
UNIT 1: LESSON 1: ANIMALS

Quiz
•
1st - 5th Grade
21 questions
Dược liệu 2

Quiz
•
University
20 questions
BÀI 13- BỔ SUNG CÁC ĐỐI TƯỢNG ĐỒ HỌA

Quiz
•
10th Grade
20 questions
Mini Game Got Talent

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for English
8 questions
Main Idea & Key Details

Quiz
•
3rd - 6th Grade
20 questions
4 Types of Sentences

Quiz
•
3rd - 5th Grade
10 questions
Making Inferences

Quiz
•
5th Grade
20 questions
Proper and Common nouns

Quiz
•
2nd - 5th Grade
10 questions
Context Clues

Quiz
•
5th Grade
12 questions
Subject Verb Agreement

Lesson
•
3rd - 5th Grade
60 questions
Basic Multiplication facts

Quiz
•
5th Grade
20 questions
Parts of Speech

Quiz
•
5th Grade