
ôn tập câu lệnh print
Authored by Khôi Phạm
Instructional Technology
9th - 12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Tìm câu lệnh sai cú pháp.
print("9999")
print(9999)
Print("xin chào!")
print("Xin chào thế giới!")
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Câu lệnh print() nhận các nội dung nào?
Nhận tất cả các nội dung: Chuỗi, kí tự, số, kí tự đặc biệt,...
Chỉ nội dung là chuỗi kí tự.
Chỉ nội dung là số.
Nội dung là số và chuỗi kí tự không nhận kí tự đặc biệt.
Answer explanation
Câu lệnh print có thể nhận các nội dung khác nhau.
3.
MULTIPLE SELECT QUESTION
10 sec • 1 pt
(Nhiều hơn một đáp án)Nội dung print có thể nhận là:
print("\n"): xuống dòng
print("\t"): cách ra 1 khoảng trống
Print("\n,\t"): xuống dòng, cách ra 1 khoảng trống
Print("Nội dung "*<số lần nhân lên>): Lặp lại nội dung
print("Nội dung "*<số lần nhân lên>): Lặp lại số lần nội dung
Answer explanation
\n, \t là trường hợp đặc biệt của nội dung chuỗi kí tự cho nên muốn viết \n, \t chúng ta phải để trong ngoặc.
"Nội dung"<Số lần nhân lên>: Nhân lên số lần nội dung
4.
MULTIPLE SELECT QUESTION
10 sec • 1 pt
(Có nhiều hơn 1 đáp án) Các đáp án đúng khi viết một số nội dung số:
print(số)
Print("số")
print("số")
printf(số)
Answer explanation
print có thể viết theo 2 cách:
1. chuyển về kí tự
2. viết trực tiếp số
vì vậy câu lệnh print(số) và print("số") đúng.
2 đáp án còn lại sai
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Trong câu lệnh print("Nội dung") thì:
"\n": cách khoảng 1 tab
"\t": xuống dòng
"\n": Xuống dòng
"\t": cách
"\n", "\t": Đều xuống dòng
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
10 questions
BÀI KIỂM TRA 10 PHÚT MÔN TIN HỌC LỚP 10A8
Quiz
•
10th Grade
10 questions
AN TOÀN ĐIỆN
Quiz
•
12th Grade
10 questions
Kiểm tra thường xuyên lần 1
Quiz
•
9th Grade
10 questions
Câu hỏi củng cố bài 14. Bản vẽ cơ khí
Quiz
•
10th Grade
10 questions
Media and Information Literacy Pre-Test
Quiz
•
12th Grade
10 questions
BÀI TẬP CŨNG CỐ BÀI 1
Quiz
•
12th Grade
10 questions
Trắc nghiệm vui bài 4 CN 10
Quiz
•
10th Grade
10 questions
TIN HỌC 11 - BÀI 5
Quiz
•
11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Instructional Technology
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Cell Organelles and Their Functions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Combining Sentences
Lesson
•
9th Grade
22 questions
El Imperfecto
Quiz
•
9th - 12th Grade
20 questions
Box and Whisker Plots
Quiz
•
9th Grade