Python_tinh_toan1

Python_tinh_toan1

1st - 5th Grade

10 Qs

quiz-placeholder

Similar activities

Sistemas Operativos

Sistemas Operativos

4th Grade

12 Qs

Sao chép di chuyển chi tiết tranh vẽ

Sao chép di chuyển chi tiết tranh vẽ

3rd Grade

15 Qs

Bài tập lớp 5 - 7/4/2020

Bài tập lớp 5 - 7/4/2020

5th Grade

10 Qs

 TIN 4- ÔN TẬP CHƯƠNG 5

TIN 4- ÔN TẬP CHƯƠNG 5

4th Grade

11 Qs

Ôn tập học kì 2-Lớp 5

Ôn tập học kì 2-Lớp 5

5th Grade

15 Qs

แบบทดสอบ เรื่อง การค้นหาข้อมูลบนอินเทอร์เน็ต

แบบทดสอบ เรื่อง การค้นหาข้อมูลบนอินเทอร์เน็ต

3rd Grade

10 Qs

PTI 7-10

PTI 7-10

1st Grade

15 Qs

БАЗЫ ДАННЫХ

БАЗЫ ДАННЫХ

2nd - 5th Grade

14 Qs

Python_tinh_toan1

Python_tinh_toan1

Assessment

Quiz

Computers

1st - 5th Grade

Practice Problem

Medium

Created by

Hoài Thanh

Used 11+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Chọn đáp án đúng nhất:

i = 0; x = 0

while i < 10:

if i%2 == 0:

x += 1

i += 1

print(x)

2

3

4

5

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả của chương trình sau:

x = 1

y = 5

while x < y:

    print(x, end = " ")

    x = x + 1

1 2 3 4

2 3 4 5

1 2 3 4 5

2 3 4

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tính tổng S = 1 + 2 + 3 + 4 +… + n + … cho đến khi S>10000. Điều kiện nào sau đây cho vòng lặp while là đúng:

while s>=10000

while s<10000

while s<=10000

while s>10000

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả của chương trình sau là gì?

x = 8

y = 2

while y < x:

    x = x - 2

    print(x, end = " ")

8 6 4 2

8 6 4

6 4 2

8 6 4 2 0

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho đoạn chương trình python sau:

Tong = 0

while Tong < 10:

    Tong = Tong + 1

Sau khi đoạn chương trình trên được thực hiện, giá trị của tổng bằng bao nhiêu:

9

10

11

12

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lệnh sau giải bài toán nào:

while M != N:

    if M > N:

        M = M – N

    else:

        N = N – M

Tìm UCLN của M và N

Tìm BCNN của M và N

Tìm hiệu nhỏ nhất của M và N

Tìm hiệu lớn nhất của M và N

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cấu trúc lặp với số lần biết trước có dạng:

for <biến đếm> in range([giá trị đầu], <giá trị cuối>, [bước nhảy]):

for <biến đếm> in range([giá trị đầu], <giá trị cuối>, [bước nhảy]):

<lệnh>

for <biến đếm> in range([giá trị đầu], <giá trị cuối>, [bước nhảy])

<lệnh>

for <biến đếm> in range([giá trị đầu] to <giá trị cuối>, [bước nhảy]):

<lệnh>

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers