
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
15 questions
Hội Thi Master Manager

Quiz
•
University
9 questions
KTMT c3.4

Quiz
•
University
10 questions
bài thực hành

Quiz
•
University
5 questions
4SW1

Quiz
•
University
13 questions
KTMT c5.1

Quiz
•
University
13 questions
Bài 2. Phần mềm máy tính

Quiz
•
7th Grade - University
12 questions
English 10

Quiz
•
9th Grade - University
11 questions
Bài kiểm tra Excel

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Education
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

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

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University