Trắc nghiệm: Bài 18-Các lệnh vào ra đơn giản
Quiz
•
Computers
•
10th Grade
•
Medium
Thành Nguyễn
Used 24+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào trong các lệnh sau đây sẽ báo lỗi?
int(“12.5”)
float(13+1)
str(17.001)
int(“1950”)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Khi chạy chương trình, nếu nhập m=1, n=2, p=3. Kết quả nào sau đây là đúng?
Tổng 3 số là: 6
Tổng 3 số là 6
tổng 3 số là : 6
tổng 3 số là 6
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Các lệnh vào ra đơn giản của Python bao gồm:
Lệnh input và lệnh print
Lệnh input và lệnh output
Lệnh print và lệnh output
Python không có lệnh vào ra
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Một số kiểu dữ liệu cơ bản của Python bao gồm:
int (số nguyên), float (số thực), str (xâu kí tự), bool (lôgic)
int (số thực), float (số nguyên), str (lôgic), bool (xâu kí tự)
int (số thực), float (số nguyên), str (xâu kí tự), bool (lôgic)
int (số nguyên), float (số thực), str (lôgic), bool (xâu kí tự)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh nào trong các lệnh sau đây sẽ báo lỗi?
int(“12+45”)
float(123.56)
float(“12345.5”)
str(12345)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cú pháp của lệnh input nào sau đây là đúng?
<biến> = input(<Dòng thông báo>)
<biến> : input(<Dòng thông báo>)
<biến> = Input(<Dòng thông báo>)
<biến> : Input(<Dòng thông báo>)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu nào sau đây là sai?
Lệnh int() có chức năng chuyển đổi số thực hoặc xâu chứa số thực thành số nguyên.
Lệnh int() có chức năng chuyển đổi số thực hoặc xâu chứa số nguyên thành số nguyên.
Lệnh float() dùng để chuyển đổi số nguyên và xâu kí tự thành số thực.
Các lệnh int(), float() không thực hiện xâu là biểu thức toán.
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
15 questions
Bài 22-Kiểu dữ liệu danh sách
Quiz
•
10th Grade
10 questions
Flow Charts (OCR GCSE)
Quiz
•
7th - 11th Grade
10 questions
LOOPS IN C++
Quiz
•
10th Grade - University
15 questions
TIN 10-1F-LÀM QUEN VỚI NGÔN NGỮ LẬP TRÌNH BẬC CAO
Quiz
•
10th Grade
9 questions
MẠNG MÁY TÍNH
Quiz
•
10th Grade
10 questions
Pyhton
Quiz
•
9th - 10th Grade
10 questions
LATIHAN SOAL
Quiz
•
10th Grade
11 questions
Programming basics
Quiz
•
10th - 11th Grade
Popular Resources on Wayground
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Order of Operations
Quiz
•
5th Grade
20 questions
Halloween
Quiz
•
5th Grade
16 questions
Halloween
Quiz
•
3rd Grade
12 questions
It's The Great Pumpkin Charlie Brown
Quiz
•
1st - 5th Grade
20 questions
Possessive Nouns
Quiz
•
5th Grade
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
Discover more resources for Computers
10 questions
Halloween Traditions and Origins
Interactive video
•
5th - 10th Grade
20 questions
Halloween movies trivia
Quiz
•
7th - 12th Grade
15 questions
Halloween Characters
Quiz
•
7th - 12th Grade
10 questions
Halloween Movies Trivia
Quiz
•
5th Grade - University
10 questions
Halloween Trivia Challenge
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
14 questions
Halloween Fun
Quiz
•
2nd - 12th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
