
Python
Authored by Anh Bàn
Fun
1st Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Hàm là gì trong Python?
Hàm trong Python là một biến số
Hàm trong Python là một khối mã được xác định một lần và có thể được gọi nhiều lần để thực hiện một tác vụ cụ thể.
Hàm trong Python chỉ có thể được gọi một lần
Hàm trong Python không thể chứa lệnh điều kiện
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để định nghĩa một hàm trong Python?
Không cần sử dụng từ khóa 'return' để trả về giá trị
Sử dụng từ khóa 'def' để định nghĩa tên hàm, dấu ngoặc đơn chứa tham số, thụt lề cho các câu lệnh bên trong, và từ khóa 'return' để trả về giá trị.
Không cần thụt lề cho các câu lệnh bên trong hàm
Sử dụng từ khóa 'function' để định nghĩa hàm
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Module là gì trong Python?
Module trong Python là một file chứa mã Python, có thể chứa biến, hàm và lớp. Module được sử dụng để tổ chức mã và giúp tái sử dụng mã một cách dễ dàng.
Module trong Python là một loại thư viện âm nhạc
Module trong Python là một hàm toán học
Module trong Python là một loại thẻ HTML
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để sử dụng một module trong Python?
import numpy
from module import function
import math
use module
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Thư viện turtle trong Python được sử dụng để làm gì?
Để lập trình game
Để xử lý cơ sở dữ liệu
Để thực hiện phép tính toán
Để vẽ đồ họa hoặc đồ thị
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để vẽ một hình tròn bằng thư viện turtle?
import turtle t = turtle.Turtle() t.circle(200)
import turtle t = turtle.Turtle() t.circle(0)
import turtle t = turtle.Turtle() t.circle(50)
import turtle # Khởi tạo turtle t = turtle.Turtle() # Vẽ hình tròn với bán kính là 100 t.circle(100) # Hiển thị kết quả turtle.done()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Làm thế nào để vẽ một hình vuông bằng thư viện turtle?
import turtle # Khởi tạo con rùa t = turtle.Turtle() # Vẽ hình vuông t.forward(100) t.right(90) t.forward(100) t.right(90) t.forward(100) t.right(90) t.forward(100) t.right(90) turtle.done()
import turtle t = turtle.Turtle() t.forward(100) t.right(120) t.forward(100) t.right(120) t.forward(100) t.right(120) t.forward(100) t.right(120) turtle.done()
import turtle t = turtle.Turtle() t.forward(100) t.right(45) t.forward(100) t.right(45) t.forward(100) t.right(45) t.forward(100) t.right(45) turtle.done()
import turtle t = turtle.Turtle() t.forward(50) t.right(90) t.forward(150) t.right(90) t.forward(50) t.right(90) t.forward(150) t.right(90) turtle.done()
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
20 questions
H2O: Just Add Water - Trivia quiz
Quiz
•
KG - Professional Dev...
18 questions
A Boy Called Bat-Ch 5-8
Quiz
•
1st - 5th Grade
20 questions
Plano - Super Mario Brothers
Quiz
•
KG - 6th Grade
17 questions
Top Movies :P
Quiz
•
1st Grade - Professio...
18 questions
Used to
Quiz
•
KG - University
18 questions
NAME THAT LOGO - Fun quiz
Quiz
•
KG - 7th Grade
15 questions
國小英語FM7_U3
Quiz
•
1st - 6th Grade
16 questions
rap lyic
Quiz
•
1st 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 Fun
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
10 questions
Christmas/Winter
Quiz
•
KG - 2nd Grade
10 questions
Holiday Movies!
Quiz
•
1st - 12th Grade
10 questions
Christmas Trivia
Quiz
•
KG - 4th Grade
10 questions
Christmas
Quiz
•
1st - 2nd Grade
14 questions
Christmas- Would you rather?
Lesson
•
KG - 12th Grade
22 questions
Holiday Trivia
Quiz
•
KG - 5th Grade
20 questions
Elf Movie
Quiz
•
KG - 12th Grade