Kết quả của đoạn chương trình sau là gì? a = 10; while a < 11: print(a)

BÀI KIỂM TRA 15 PHÚT - Môn Tin Học 10 - HK2-PYTHON

Quiz
•
Information Technology (IT)
•
10th Grade
•
Hard
Phạm Thị Nhan
Used 4+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trên màn hình xuất hiện 10 chữ a.
Trên màn hình xuất hiện một số 11.
Chương trình bị lặp vô tận.
Trên màn hình xuất hiện một số 10.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mọi quá trình tính toán đều có thể mô tả và thực hiện dựa trên cấu trúc cơ bản nào?
Cấu trúc tuần tự.
Cấu trúc rẽ nhánh.
Cấu trúc lặp.
Cả ba cấu trúc trên.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để in giá trị phần tử thứ 2 của mảng A = list('3456789') ra màn hình ta viết:
print(A[0]).
print(A[3]).
print(A[1]).
print(A[2]).
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là gì? A = [2, 3, 5, 'python', 6]; A.append(4); A.append(2); A.append('x'); del(A[2]); print(len(A))
7.
8.
6.
5.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào sau đây dùng để tách xâu?
remove()
split()
join()
copy()
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu nào sau đây là sai?
Lệnh print() thực hiện việc in ra màn hình.
Lệnh str() chuyển đối tượng đã cho thành số.
Lệnh input() thực hiện yêu cầu nhập vào một biểu thức.
Lệnh type() trả lại kiểu dữ liệu của biểu thức trong ngoặc.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của các câu lệnh sau là gì? s = '12 34 56 ab cd de '; print(s.find(' ')); print(s.find('12')); print(s.find('34'))
2, 0, 3.
2, 1, 3.
1, 4, 5.
3, 5, 2.
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Ktra thường xuyên Tin 11

Quiz
•
11th Grade - University
20 questions
KIỂM TRA TX HK2 LỚP 10A1

Quiz
•
10th Grade
19 questions
Scratch session 03

Quiz
•
University
15 questions
Trắc nghiệm Bài 2

Quiz
•
10th Grade
15 questions
Bài 30

Quiz
•
10th Grade - University
17 questions
Kiểm Tra Môn Tin Học 10

Quiz
•
10th Grade - University
16 questions
Session 08: Array

Quiz
•
University
16 questions
ICDL K4_ Xử lý văn bản P1_5*

Quiz
•
5th Grade - University
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 Information Technology (IT)
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