
Ôn tập HK2

Quiz
•
Computers
•
10th Grade
•
Medium
Hanh Do
Used 5+ times
FREE Resource
95 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đưa dữ liệu ra màn hình dùng thủ tục nào?
print()
input()
type()
abs()
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Câu lệnh nào dùng để đưa dữ liệu từ bàn phím vào?
print()
input()
nhap()
enter()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào dùng để nhận biết kiểu dữ liệu của biến trong python?
type()
int()
size()
abs()
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của dòng lệnh sau
>>x=6.7
>>type(x)
int
float
string
double
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Viết chương trình nhập vào 4 số và tính tổng của chúng. Các dòng lệnh số mấy bị sai?
a = int(input(“Nhập số a”))
b = float(input(“Nhập số b”))
c = int(input(“Nhập số c”))
d = input(“Nhập số d”)
print(“Tổng là: ”, a+b+c+d)
Dòng 1, 2
Dòng 2, 4
Dòng 3, 5
Dòng 4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Xác định kiểu của biểu thức sau?
“34 + 28 – 45”
int
float
bool
str
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu nào sau đây là sai khi nói về biểu thức lôgic?
Biểu thức lôgic là biểu thức chỉ nhận giá trị True hoặc False.
Giá trị của biểu thức lôgic thuộc kiểu bool
Ngoài hai giá trị True, False biểu thức lôgic nhận giá trị undefined
Các phép toán trên biểu thức lôgic là and, or và not
Create a free account and access millions of resources
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th 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
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade