
LUYỆN TẬP
Quiz
•
Computers
•
12th Grade
•
Hard
Sen Hà
Used 3+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Khi gõ sai cú pháp một lệnh, chương trình sẽ dừng lại và báo lỗi, đó là lỗi loại gì?
TypeEror
NameError
SyntaxError
IndexError
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Bài toán yêu cầu sắp xếp dãy ban đầu thành dãy tăng dần. Giả sử dãy số ban đầu là [3, 1, 8, 10, 0]. Kết quả thu được dãy [1, 3, 8, 10, 0]. Lỗi chương trình thuộc loại nào?
Lỗi kiểu dữ liệu
Lỗi cú pháp
Lỗi xảy ra khi lệnh cố gắng truy cập phần tử của danh sách nhưng chỉ số vượt qua giới hạn
Lỗi lôgic bên trong chương trình
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Mã lỗi ngoại lệ của lệnh: A[1.5] là gì?
TypeEror
NameError
ValueError
IndexError
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Câu 4: Mã lỗi ngoại lệ của lệnh: int (“abc”) là gì?
TypeEror
NameError
ValueError
IndexError
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Câu 5: Mã lỗi ngoại lệ của lệnh: “10”*3.5 là gì?
TypeEror
NameError
ValueError
IndexError
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Câu 6: Mã lỗi ngoại lệ có thể có của lệnh : 12 + x(10) sau nếu xảy ra lỗi là:
TypeEror
NameError
ValueError
TypeEror và NameError
Similar Resources on Wayground
10 questions
Lớp 5- Bài 11.Cấu Trúc Lặp
Quiz
•
3rd Grade - University
11 questions
Python Function
Quiz
•
11th - 12th Grade
10 questions
1.01 Reliability and Integrity
Quiz
•
9th - 12th Grade
10 questions
Internet Telephone
Quiz
•
12th Grade
10 questions
Structures de données
Quiz
•
12th Grade
10 questions
AP CSP~ BigIdea 2 Data
Quiz
•
9th - 12th Grade
10 questions
Programming Knowledge Quiz (Medium)
Quiz
•
5th Grade - Professio...
10 questions
Bài tập thực hành 1 (tiết 2)
Quiz
•
12th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade