Trong ngôn ngữ lập trình Python, ta viết: for i in range(5): print(i) thì con số 5 trong lệnh range(5) có nghĩa là gì?

Untitled Quiz

Quiz
•
Computers
•
10th Grade
•
Hard
Mai Xuân
FREE Resource
69 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
stop
start
step
float
2.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Cho arr = ['xuan', 'hạ', 1. 4, 'đông', '3', 4.5, 7]. Đâu là giá trị của arr[3]?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong ngôn ngữ lập trình Python, khi nào thì lệnh a.append(1) và a.insert(0,1) có tác dụng gi?
khi danh sách a đã có giá trị 1
khi danh sách a chưa có giá trị 1
không xảy ra vì 2 lệnh khác nhau
khi danh sách a rỗng
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Để tính độ dài của xâu ta thực hiện lệnh nào?
5.
OPEN ENDED QUESTION
3 mins • 1 pt
Em hãy chọn đáp án đúng. Cú pháp thiết lập hàm có trả lại giá trị trong ngôn ngữ lập trình Python?
Evaluate responses using AI:
OFF
6.
OPEN ENDED QUESTION
3 mins • 1 pt
Em hãy chọn đáp án đúng. Cú pháp thiết lập hàm không trả lại giá trị trong ngôn ngữ lập trình Python?
Evaluate responses using AI:
OFF
7.
OPEN ENDED QUESTION
3 mins • 1 pt
Chương trình chạy phát sinh lỗi ngoại lệ TypeError, nên xử lí như thế nào?
Evaluate responses using AI:
OFF
Create a free account and access millions of resources
Similar Resources on Quizizz
74 questions
Ôn Tập Cuối Kỳ Môn Tin Học 10

Quiz
•
10th Grade
70 questions
Ôn tập cuối kì I - python

Quiz
•
10th Grade
68 questions
Ôn tập kiểm Tra Học Kì 2 Tin Học 10

Quiz
•
10th Grade
68 questions
ôn giữa kì 2

Quiz
•
10th Grade
68 questions
Câu hỏi về Python

Quiz
•
10th Grade
65 questions
Ôn tập KTCK2 Tin 10

Quiz
•
10th Grade - University
67 questions
tin cuối kỳ 2

Quiz
•
10th Grade
72 questions
Lê Đức Long

Quiz
•
10th Grade
Popular Resources on Quizizz
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
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade