
Bài tập câu lệnh For

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Phan 2
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Số công việc cần phải lặp với số lần xác định?
1) Đếm số học sinh của lớp.
2) Đếm số chia hết cho 5 trong đoạn từ 10 tới 100.
3) Đọc tên lần lượt từng học sinh của một lớp có 30 em.
4) Chạy 5 vòng sân bóng.
5) Tính tổng các số có 2 chữ số.
3
4
5
2
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Biến đếm trong vòng lặp for i in range(<giá trị cuối>) tăng lên mấy đơn vị sau mỗi lần lặp?
1
2
0
tất cả đều sai
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Cho các câu lệnh sau, hãy chỉ ra câu lệnh đúng
x = 0
for i in range(10): x = x + 1
x = 0
for i in range(10): x:= x + 1
x = 0
for i in range(10) x = x + 1
x:= 0
for i in range(10): x = x + 1
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Trong Python, câu lệnh nào dưới đây được viết đúng?
for in range(10): print(“A”)
for i in range(10): print(“A”)
for i in range(10): print(A)
for i in range(10) print(“A”)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
4
3
2
5
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bạn An thực hiện đoạn chương trình sau nhưng chương trình báo lỗi. Theo em, bạn An sai ở dòng thứ mấy:
4
3
2
5
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
10, 9, 8, 7, 6, 5, 4, 3, 2, 1
Đưa ra 10 dấu cách
1 2 3 4 5 6 7 8 9 10
Không đưa ra kết quả gì
Create a free account and access millions of resources
Similar Resources on Wayground
13 questions
Python Loops

Quiz
•
9th - 11th Grade
14 questions
циклы в Python

Quiz
•
10th Grade
9 questions
tulkarm club first comp

Quiz
•
9th - 11th Grade
15 questions
Вспомним Python

Quiz
•
9th Grade
15 questions
Uvod u algoritme i programiranje

Quiz
•
9th - 12th Grade
10 questions
S For loops

Quiz
•
10th Grade
10 questions
Luyện tập Bài 20. Câu lệnh lặp for (T1)

Quiz
•
9th - 12th Grade
10 questions
PYTHON (FOR LOOP)

Quiz
•
1st - 10th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

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

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
40 questions
LSHS Student Handbook Review: Pages 7-9

Quiz
•
11th Grade
24 questions
Scientific method and variables review

Quiz
•
9th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
19 questions
Mental Health Vocabulary Pre-test

Quiz
•
9th Grade