Python level 2
Quiz
•
Mathematics, Computers
•
7th - 12th Grade
•
Practice Problem
•
Hard
duy Nguyen
Used 28+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh return dùng để?
Kết thúc vòng lặp
Trả lại giá trị
Kết thúc vòng lặp và trả lại giá trị
Kết thúc hàm và trả lại giá trị
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đâu là cú pháp của truyền nhiều tham số trong hàm?
def <tên hàm>(*biến):
Câu lệnh
...
def <tên hàm>(x=0,y=3):
Câu lệnh
...
def <tên hàm>(a,b)
Câu lệnh
...
def <tên hàm>(a)
Câu lệnh
...
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Tác dụng của hàm là gì?
Chỉ cần viết 1 lần
Có thể sử dụng lại
Cập nhật nhanh gọn
Chỉ cần viết 1 lần,Có thể sử dụng lại,Cập nhật nhanh gọn
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh global dùng để làm gì
Khai báo biến nội bộ
Khai báo biến toàn cầu
Khai báo biến trong hàm
Khai báo lại giá trị biến
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong học phần 2 có bao nhiêu cách khai báo module?
1
2
3
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để random ra số thực ngầu nhiên ta dùng cú pháp nào?
import random
random.randint(số thứ 1, số thứ 2)
import random
random.randrange(số thứ 1, số thứ 2)
import random
random.uniform(số thứ 1, số thứ 2)
import random
random.choice(số thứ 1, số thứ 2)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Nếu gọi module math vào bằng cách:
from math import*
Hãy tìm câu lệnh để viết ra phép căn 9
math.sqrt(9)
sqrt(9)
math.sprt(9)
sprt(9)
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
15 questions
BÀI 16 - THUẬT TOÁN SẮP XẾP
Quiz
•
9th Grade - University
20 questions
QUY TẮC TÍNH ĐẠO HÀM
Quiz
•
11th Grade
20 questions
Góc
Quiz
•
1st Grade - University
17 questions
Email Lớp 6
Quiz
•
6th Grade - University
22 questions
Đề Kiểm Tra Cuối Kỳ II - Tin Học Lớp 8
Quiz
•
6th Grade - University
20 questions
ÔN TẬP HỌC KỲ 2 - TIN HỌC 8
Quiz
•
8th Grade
20 questions
KTTX lần 01 Tin 11
Quiz
•
11th Grade
20 questions
KIỂM TRA 15 PHÚT TIN 11- KET NOI TRI THUC
Quiz
•
11th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th 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
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Mathematics
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
20 questions
Solving Systems of Equations by Graphing
Quiz
•
8th Grade
15 questions
Christmas Movie Trivia
Quiz
•
7th Grade
25 questions
Christmas Trivia
Quiz
•
8th Grade
20 questions
Scatter Plots and Line of Best Fit
Quiz
•
8th Grade
12 questions
8th U4L11 On Both of the Lines
Quiz
•
8th Grade
33 questions
Algebra 1 Semester 1 Final 2025
Quiz
•
8th - 10th Grade
