
Kiểm tra kiến thức lập trình

Quiz
•
Computers
•
10th Grade
•
Hard
thuhoai tran
Used 2+ times
FREE Resource
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ệ.
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
BAI 26_10

Quiz
•
10th Grade
21 questions
TIN 10 KNTT ÔN TẬP BÀI 29

Quiz
•
10th Grade
20 questions
BT VỀ HĐH

Quiz
•
10th Grade
18 questions
Tin 10 - Bài 3

Quiz
•
10th Grade
20 questions
tin học quang minh đẹp trai siêu cấp vũ trụ 7 dải ngân hà

Quiz
•
10th Grade
18 questions
bài 29

Quiz
•
10th Grade
20 questions
Tin 10 - Tệp và thư mục

Quiz
•
10th Grade
21 questions
bài 29,30

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade