
Kiểm tra kiến thức lập trình
Authored by thuhoai tran
Computers
10th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
21 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Điền vào "…" hoàn thành phát biểu sau: "Chương trình chạy không lỗi ngoại lệ nhưng kết quả đưa ra …. Đây là lỗi … bên trong chương trình."
sai, lôgic.
đúng, Syntax Error.
đúng, lôgic.
sai, ngoại lệ.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mã lỗi ngoại lệ của lệnh sau là float("2 + 3")
IndexError.
TypeError.
ValueError.
SyntaxError.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau mắc lỗi gì? #Tính tích của 3 số nguyên dương đầu tiên. >>>s = 1 >> for i in range(3) >>>s = s * i >>>print(s) 0
Lôgic.
Sai cú pháp.
Lỗi ngoại lệ.
Không có lỗi.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình sau thông báo lỗi gì? for i in range(10) print(i)
Type Error.
NameError.
SyntaxError.
ValueError.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mã lỗi ngoại lệ của lệnh sau là s = "12" + 12
ZeroDivisionError.
TypeError.
IndentationError.
SyntaxError.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mã lỗi nào được đưa ra khi lệnh thực hiện phép chia cho giá trị 0
ZeroDivisionError.
TypeError.
ValueError.
SyntaxError.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong lời gọi hàm, nếu các đối số được truyền vào hàm bị thiếu thì lỗi ngoại lệ phát sinh thuộc loại nào dưới đây?
SyntaxError.
NameError.
TypeError.
Không phát sinh lỗi ngoại lệ.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Toán tử trong C ++
Quiz
•
10th - 12th Grade
21 questions
AP CSP Internet
Quiz
•
9th - 12th Grade
20 questions
Массивы, зачет №1
Quiz
•
10th Grade
20 questions
Bài 11. Tệp và quản lý tệp
Quiz
•
10th Grade
16 questions
ICT SPM Section A (Programming)
Quiz
•
1st - 10th Grade
18 questions
Quiz tổng hợp_Access
Quiz
•
10th Grade - University
20 questions
Python Recap
Quiz
•
7th Grade - University
17 questions
"switch" Java Statement - 1
Quiz
•
9th - 10th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
10 questions
Valentine's Day: History and Modern Celebration
Interactive video
•
9th - 12th Grade
11 questions
Valentine's Day Trivia
Quiz
•
8th - 12th Grade
10 questions
Factor Quadratic Expressions with Various Coefficients
Quiz
•
9th - 12th Grade