
ÔN TẬP TRƯỚC FOR
Authored by Nguyễn Viết Phùng
Computers
10th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để nhập 1 số thực N từ bàn phím ta sử dụng lệnh nào sau đây:
N=str(input("Mời bạn nhập số N: "))
N=int(input("Mời bạn nhập số N: "))
N=float(input("Mời bạn nhập số N: "))
N=input("Mời bạn nhập số N: ")
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để đưa ra giá trị của N ta dùng lệnh nào sau đây:
print(‘N’)
print(“N”)
print(N)
print N
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Đưa ra màn hình 2 số A, B mỗi số cách nhau 1 khoảng trắng ta thực hiện:
(nhiều phương án đúng)
print(A,B)
print(A, ‘ ’,B)
print(A,end= ‘ ’)
print(B)
print(A)
print(B)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Lệnh sau đây có ý nghĩa gì:
if N>0: print(N)
Đưa ra màn hình số dương
Đưa số N ra màn hình
Đưa ra màn hình số chẵn
Đưa ra màn hình số âm
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Chọn phương án đúng nhất. Tập lệnh sau đây có ý nghĩa gì:
if N%2 = = 0: print(N, “chan”)
else: print(N, “le”)
Kiểm tra tính chẵn lẻ của số N
Kiểm tra số N là dương hay âm
Đưa ra màn hình số chia hết cho 2
Đưa ra số không chia hết cho 2
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho số N và số K. Câu lệnh để kiểm tra N chia hết cho K là:
if N%K == 0:
if K%N == 0:
if N%K != 0:
if K%N != 0:
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Để kiểm tra N có phải là ước của K hay không. Lệnh nhập dữ liệu cho N, K nào sau đây là đúng nhất?
N = float(input())
K = float(input())
N = input()
K = input()
N = int(input())
K = int(input())
N = str(input())
K = str(input())
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
5 questions
Máy tính - những người bạn mới
Quiz
•
1st Grade - University
10 questions
Logic Gates Advance
Quiz
•
10th Grade
10 questions
ระบบทางเทคโนโลยี ม.4
Quiz
•
10th Grade - University
10 questions
Latihan Class Library
Quiz
•
9th - 12th Grade
12 questions
ICT Computer Basics pt1
Quiz
•
10th - 12th Grade
13 questions
python A
Quiz
•
10th Grade
10 questions
Quiz Informatika
Quiz
•
10th Grade
10 questions
1.1 - System Architecture - CPU [OCR] [GCSE]
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade