
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
PNETSEC Final Examination (II-BINS)
Quiz
•
University
40 questions
Informatika XII
Quiz
•
12th Grade - University
45 questions
Cybersecurity Intro
Quiz
•
University
40 questions
PTS AIJ XI TKJ GENAP 2022/2023
Quiz
•
University
50 questions
HTML
Quiz
•
8th Grade - University
40 questions
ASAS SAINS KOMPUTER T2 [ULANGKAJI]
Quiz
•
1st Grade - University
40 questions
Basic Algorithm in C (Data type, Expression, Branching, Looping)
Quiz
•
University
45 questions
IP MIDTERM
Quiz
•
University
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
20 questions
Disney Trivia
Quiz
•
University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
14 questions
Ch.3_TEACHER-led
Quiz
•
University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University