
Bài 18: Các lệnh vào ra đơn giản

Quiz
•
Education
•
University
•
Easy
Sơn Phạm
Used 1+ times
FREE Resource
10 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?
A. print()
B. input()
C. type()
D. 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?
A. print()
B. input()
C. nhap()
D. enter()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Phát biểu nào sau đây là sai?
A. Lệnh input() có chức năng nhập dữ liệu từ thiết bị chuẩn vào bàn phím
B. Bàn phím là thiết bị chuẩn duy nhất
C. Nội dung nhập có thể là số
D. Kết quả của lệnh input() là một xâu kí tự
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1) Cú pháp lệnh input() : <biến> :=input(<Dòng thông báo>)
2) Lệnh print() có chức năng đưa dữ liệu ra thiết bị chuẩn, thường là bàn phím
3) Lệnh input() có chức năng nhập dữ liệu thường từ bàn phím
4) Thông tin cần đưa ra có thể gồm nhiều kiểu dữ liệu khác nhau, cho phép cả biểu thức tính toán
Số phát biểu đúng là:
A. 1
B. 2
C. 3
D. 4
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Đâu không phải là kiểu dữ liệu cơ bản trong python ?
A. int
B. float
C. list
D. string
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của dòng lệnh sau
>>x=6.7
>>type(x)
A. int
B. float
C. string
D. double
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kết quả của dòng lệnh sau
>>> x, y, z = 10, “10”, 10
>>> type(z)
A. int
B. float
C. double
D. str
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Bài 4: Giao thức mạng

Quiz
•
10th Grade - University
5 questions
BÀI 1_TIN HỌC 10

Quiz
•
10th Grade - University
10 questions
Tổ chức dạy học

Quiz
•
University
5 questions
9SNLTW1

Quiz
•
University
10 questions
Kiểm tra cuối khóa

Quiz
•
University
15 questions
MODULE 09

Quiz
•
University
7 questions
Quiz 1 _ VB

Quiz
•
University
15 questions
Ôn tập cuối kì I tin 6

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Education
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University