
KHDL
Authored by Mạnh Huy
Computers
University
Used 22+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
45 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 1: Kết quả xuất ra màn hình của đoạn chương trình sau phụ thuộc vào giá trị nhập x như thế nào?
X=int(in put()
if (x%2==0):
print('Even')
else:
print('Odd')
A. In ra " Even" nếu x là số chẵn
B. Luôn in ra màn hình " Odd "
C. In ra "Odd" nếu x là số chẵn
D. Luôn in ra màn hình " Event "
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 2: Phát biểu nào sau đây là chính xác khi nói về hàm python?
A. Không thể tự tạo các hàm của riêng người viết chương trình.
B. Tất cả các đáp án đều đúng
C. Sử dụng hàm không có tác động tích cực gì đến các module trong chương trình
D. Hàm có thể được tái sử dụng trong chương trình.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 3: Cho biết kết quả xuất ra màn hình của đoạn chương trình sau:
def cong_so (so1,so2):
return so1+s02
print (cong_so(55))
A. Lỗi khi chạy chương trình
B. 30
C. 75
D. 55
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 4: Để vẽ biểu đồ hình cột với dữ liệu (x, y) và cột có màu đỏ trong thư viện Matplotlib.pyplot sử dụng lệnh nào dưới đây?
A. bar(x,y, marker = 'red')
B. plot(x,y, color = 'r')
C. scatter(x,y, color = 'r')
D. bar(x,y, color = 'r')
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 5: Trong quy trình của một dự án về khoa học dữ liệu, bước nào chiếm nhiều thời gian và nguồn lực nhất?
A. Phân tích và khám phá dữ liệu (Data Exploration and Analysis)
B. Thu thập tất cả dữ liệu từ các nguồn khác nhau liên quan đến dự án (Data collection)
C. Chuẩn bị dữ liệu (Data Preparation)
D. Thiết lập mục tiêu của dự án (Setting the research goal)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 6: Lệnh nào dùng để lấy dữ liệu đầu vào từ người dùng?
A. >>
B. input()
C. cin
D. scanf()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu 7: Khẳng định nào là đúng về chú thích trong Python?
A. Trình thông dịch Python sẽ bỏ qua những chú thích.
B. Tất cả các đáp án trên.
C. Có thể viết chú thích trên cùng một dòng với lệnh/biểu thức hoặc viết trên nhiều dòng mà không vấn đề gì cả
D. Chú thích giúp cho các lập trình viên hiểu rõ hơn về chương trình
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
50 questions
Technical Quiz 2022-23
Quiz
•
University
49 questions
Cuestionario - TEMA 7 (SOM). Sistema operativo Linux.
Quiz
•
KG - Professional Dev...
50 questions
Application Software Quiz
Quiz
•
12th Grade - University
50 questions
XIRPL2_PASQUIZZ
Quiz
•
1st Grade - Professio...
50 questions
IP Address
Quiz
•
University
40 questions
SIMULASI DIGITAL - X
Quiz
•
KG - Professional Dev...
44 questions
Round 1 Code2duo
Quiz
•
University
50 questions
Sistem Komputer gerbang aritmatika Kelas 10
Quiz
•
12th Grade - University
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
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
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Computers
8 questions
2 Step Word Problems
Quiz
•
KG - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
18 questions
Great Lakes States
Quiz
•
KG - University
7 questions
DNA, Chromosomes, Genes, and Traits: An Intro to Heredity
Interactive video
•
11th Grade - University
7 questions
Reflexive Verbs in Spanish
Lesson
•
9th Grade - University
7 questions
Narrative Writing 1
Interactive video
•
4th Grade - University