
Xâu kí tự

Quiz
•
Computers
•
10th Grade
•
Medium
Oanh Kim
Used 3+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Kết quả của đoạn mã sau là gì? x = 10 if x > 5: print("Lớn hơn 5") else: print("Nhỏ hơn hoặc bằng 5")
Lớn hơn 5
Nhỏ hơn hoặc bằng 5
Không in gì cả
Lỗi chương trình
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Kết quả của đoạn mã sau là gì? x = 3 y = 5 if x > 2 and y < 10: print("Điều kiện đúng")
Điều kiện đúng
Không in gì cả
Lỗi chương trình
None
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Lệnh nào kiểm tra nếu một chuỗi s rỗng?
if s == ""
if s is None:
if len(s) == 0:
Cả A và C đều đúng
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Kết quả của đoạn mã sau là gì? for i in range(3): print(i, end=" ")
1 2 3
0 1 2
0 1 2 3
1 2
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Lệnh nào kết thúc vòng lặp ngay lập tức?
continue
break
pass
return
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Đoạn mã sau in ra gì? i = 0 while i < 3: print(i, end=" ") i += 1
0 1 2
1 2 3
0 1 2 3
Lỗi chương trình
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Kết quả của đoạn mã sau là gì? for i in range(5): if i == 3: break print(i, end=" ")
0 1 2
0 1 2 3 4
1 2 3
Lỗi chương trình
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Kiểm tra thường xuyên lần 2

Quiz
•
10th Grade
19 questions
TIN 10 Bài 8 CĐ F. Cấu trúc lặp

Quiz
•
10th Grade
15 questions
Kiểm tra thường xuyên 3 HK1

Quiz
•
10th Grade
13 questions
reviews

Quiz
•
1st Grade - University
10 questions
Ôn tập: Câu lệnh IF

Quiz
•
10th Grade
15 questions
Ôn tập Thi HK1

Quiz
•
10th Grade
11 questions
BAI 24_LỚP 10

Quiz
•
10th Grade
20 questions
Tin 10 - Bài 12 CDF - Kiểu dữ liệu xâu kí tự

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

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade