
KT15 K10 L2

Quiz
•
Other
•
9th - 12th Grade
•
Easy
NGUYỄN TIÊN
Used 5+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Em biết được kiểu dữ liệu danh sách trong Python được khởi tạo bởi?
A. <tên list>= [<v1>, [<v2>,…..,[<vn>]
B. <tên str>= [<v1>, [<v2>,…..,[<vn>]
C. <tên float>= [<v1>, [<v2>,…..,[<vn>]
D. <tên int>= [<v1>, [<v2>,…..,[<vn>]
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Muốn thêm phần tử 10 vào cuối danh sách T ta dùng lệnh nào sau đây?
A. T.clear(10)
B. T.append(10)
C. T.insert(1,10)
D. T.remove(10)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 6. Có mấy công đoạn cần để thực hiện sản xuất một phần mềm?
A. 6.
B. 8.
C. 5.
D. 7.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 3. Giả sử chương trình có lệnh nhập dữ liệu sau:
n = int(input(“Nhập số nguyên n : ”))
Khi nhập vào 1.5 thì chương trình có phát sinh lỗi ngoại lệ nào không?
A. ValueError
B. TypeError
C. IndexError
D. SyntaxError
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau có lỗi ở dòng lệnh nào?
n = int(input("Nhập số tự nhiên n: "))
s = ""
for i in range(10):
s = s + i
A. 4.
B. 3.
C. 2.
D. 1.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình chạy phát sinh lỗi ngoại lệ ZeroDivision, nên xử lí như thế nào?
A. Kiểm tra lại chỉ số trong mảng.
B. Kiểm tra lại giá trị số chia.
C. Kiểm tra kiểu dữ liệu nhập vào.
D. Kiểm tra giá trị của số bị chia.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm func(m, n) được định nghĩa như sau:
Giả sử chúng ta thực hiện các lệnh sau:
Kết quả sẽ in ra số nào?
A. 31
B. 11
C. 13
D. 10
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Antonim

Quiz
•
11th Grade - University
20 questions
Ռափայել Պատկանյան

Quiz
•
9th Grade
25 questions
TSI Practice

Quiz
•
11th - 12th Grade
15 questions
Arduino

Quiz
•
9th - 12th Grade
23 questions
TN chủ đề F A1

Quiz
•
10th Grade
20 questions
podstawy HTML

Quiz
•
12th Grade
20 questions
PSIKOTES KERJA

Quiz
•
12th Grade
15 questions
Պետրոս Դուրյան

Quiz
•
10th - 12th 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 Other
10 questions
Video Games

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

Interactive video
•
6th - 10th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
20 questions
Biomolecules

Quiz
•
9th Grade
6 questions
Rule of Law

Quiz
•
6th - 12th Grade