New game
Download
Get Academic Plan
Share game
Integrate it into your platform

You can integrate the game into an LMS compatible with LTI 1.1 or LTI 1.3 such as Canvas, Moodle, or Blackboard. This way, the scores will be automatically saved into the platform’s gradebook.
Download
You have exceeded the maximum number of games you can integrate into Google Classroom with your current Plan.

To integrate as many games as you want in Google Classroom, you need an Academic Plan or a Commercial Plan.

You have exceeded the maximum number of games you can integrate into Microsoft Teams with your current Plan.

To integrate as many games as you want in Microsoft Teams, you need an Academic Plan or a Commercial Plan.

Downloading games is an exclusive feature for users with an Academic Plan or a Commercial Plan.

Get your Academic Plan or your Commercial Plan now and start integrating your games into your LMS, website or blog.

If you wish, you can download a demo game here and test its integration:

Quiz vòng lặp Python

Quiz

Played 0

About this activity

Kiểm tra kiến thức căn bản về vòng lặp và Python

Created by

Viet Nam

Download the paper version to play

Make your own free game from our game creator
Compete against your friends to see who gets the best score in this game

Top Games

%
Anonymous
Anonymous
%
%
%
You have exceeded the maximum number of games you can print with your current Plan.

To print as many games as you want, you need an Academic Plan or a Commercial Plan.

Print your game
Quiz vòng lặp Python
 

Quiz vòng lặp PythonOnline version

Kiểm tra kiến thức căn bản về vòng lặp và Python

by Trong
1

Cú pháp chuẩn của vòng lặp for trong Python là:

2

Hàm range(5) sẽ tạo ra dãy số nào?

3

Trong vòng lặp for i in range(3): print(i) sẽ in ra:

4

Trong Python, từ khóa để kết thúc vòng lặp ngay lập tức là:

5

Để duyệt từng ký tự trong chuỗi 'TinHoc', ta viết:

6

Vòng lặp for i in range(2, 10, 2): sẽ lặp bao nhiêu lần?

7

Trong for i in range(1, n+1):, giá trị cuối cùng của i là:

8

Kết quả cả chuỗi lệnh sau: for i in range(1,4): print(i*i) là:

9

Đoạn code: for i in range(5): if i%2==0: print(i) sẽ in ra:

10

Nếu viết for i in range(10,5,-1): print(i), kết quả là:

11

Cho code: s=0; for i in range(1,6): s+=i; print(s) kết quả in ra:

12

Trong Python, câu lệnh continue trong for có ý nghĩa:

13

Cho đoạn code: for c in 'ABC': print(c, end='-') Kết quả là:

14

Trong vòng lặp for, hàm range(a,b,c) có nghĩa:

15

Viết vòng lặp for để in ra các số từ 1 đến 9. Đoạn code nào đúng?

16

Tổng của các số chẵn từ 2 đến 10 là bao nhiêu?

17

Đoạn code sau in ra gì? for i in range(3): for j in range(2): print(i,j)

18

Với n=4, đoạn code: for i in range(1,n+1): print('*'*i) In ra:

19

Để tính n! = 1×2×...×n, câu lệnh for nào đúng?

20

Để tính tổng các chữ số của số n=1234, đoạn code đúng là:

Are you sure you want to leave the page?

If you leave the page, you will lose your game progress.