
Kiểm thử chương trình Python
Quiz
•
Information Technology (IT)
•
10th Grade
•
Practice Problem
•
Medium
Lê Long
Used 2+ times
FREE Resource
Enhance your content in a minute
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chọn phát biểu sai trong các phát biểu sau:
Có thể phân biệt lỗi chương trình Python làm ba loại.
Khi có lỗi sai cú pháp, chương trình lập tức dừng và thông báo lỗi.
Lỗi ngoại lệ là lỗi không thể thực hiện một lệnh trong chương trình.
Cách xử lí các loại lỗi giống nhau.
2.
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.
ValueError.
SyntaxError.
3.
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
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khi dòng lệnh thụt vào không thẳng hàng chương trình đưa ra mã lỗi ngoại lệ nào?
ZeroDivisionError.
TypeError.
IndentationError.
SyntaxError.
5.
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?
Kiểm tra lại giá trị số chia.
Kiểm tra lại chỉ số trong mảng,
Kiểm tra giá trị của số bị chia.
Kiểm tra kiểu dữ liệu nhập vào.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chương trình chạy phát sinh lỗi ngoại lệ NameError, nên xử lí như thế nào?
Kiểm tra lại chỉ số trong mảng.
Kiểm tra lại tên các biến và hàm.
Kiểm tra giá trị của số bị chia.
Kiểm tra kiểu dữ liệu nhập vào.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đâu KHÔNG phải là công cụ để kiểm thử chương trình?
Công cụ điểm dừng trong phần mềm soạn thảo lập trình.
Công cụ thống kê dữ liệu.
Công cụ in biến trung gian.
Công cụ sinh các bộ dữ liệu test.
Create a free account and access millions of resources
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
18 questions
Introduction to Java Programming
Quiz
•
10th Grade
20 questions
KELAS 7 BAB 6 ANALISIS DATA C. Pengolahan Data Dasar
Quiz
•
7th Grade - University
15 questions
AI và đạo đức người dùng
Quiz
•
9th - 12th Grade
15 questions
Bài 19: Câu lệnh rẽ nhánh IF
Quiz
•
10th Grade
13 questions
TEST 1 MWORD2016
Quiz
•
10th Grade
16 questions
Test1
Quiz
•
9th - 12th Grade
20 questions
Câu hỏi về cấu trúc lặp trong Python
Quiz
•
10th Grade
15 questions
quiz PT
Quiz
•
10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Information Technology (IT)
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
20 questions
Cell organelles and functions
Quiz
•
10th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
10 questions
Exploring the Energy Cycle: Photosynthesis and Cellular Respiration
Interactive video
•
6th - 10th Grade
10 questions
Guess the Christmas Movie by the Scene Challenge
Interactive video
•
6th - 10th Grade
