
Kiểm tra trắc nghiệm Python

Quiz
•
Computers
•
10th Grade
•
Medium
su thien
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xâu rỗng là xâu có độ dài bằng bao nhiêu?
0
1
2
3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để xóa tất cả các phần tử trong danh sách ta dùng hàm gì?
remove()
pop()
append()
clear()
3.
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 giá trị của số bị chia
Kiểm tra kiểu dữ liệu nhập vào
Kiểm tra lại tên các biến và hàm
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của chương trình sau là gì?
Chương trình bị lỗi
50
10
5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho đoạn lệnh sau. Trên màn hình i có các giá trị là
0 1 2 3 4
1 2 3 4
0 1 2 3
1 2 3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để biết độ dài của xâu s ta dùng hàm gì?
str(s)
len(s)
s.len()
length(s)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python biến được khai báo và sử dụng bên trong một hàm được gọi là gì?
Biến riêng
Biến thông thường
Biến tổng thể
Biến địa phương
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
CÂU HỎI ÔN TẬP HÀM

Quiz
•
10th Grade
16 questions
Kiểu Xâu

Quiz
•
8th - 11th Grade
15 questions
Bài 22-Kiểu dữ liệu danh sách

Quiz
•
10th Grade
20 questions
Đề cương CKII - Lớp 5 - TH Minh Quang A

Quiz
•
5th Grade - University
21 questions
Tin học Lớp 5

Quiz
•
4th - 12th Grade
15 questions
Kiến thức về ngôn ngữ Python

Quiz
•
10th Grade
16 questions
Ôn tập Tin học Lớp 3_CKI

Quiz
•
3rd Grade - University
21 questions
TIN 10 KNTT ÔN TẬP BÀI 29

Quiz
•
10th 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 Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Analog vs Digital

Quiz
•
9th - 12th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade