KTHK_2 K_10

KTHK_2 K_10

10th Grade

21 Qs

quiz-placeholder

Similar activities

BAI 26 + 27 TIN 10c1

BAI 26 + 27 TIN 10c1

10th Grade

20 Qs

Quiz Informatika Kelas X

Quiz Informatika Kelas X

10th Grade

20 Qs

BT VỀ HĐH

BT VỀ HĐH

10th Grade

20 Qs

Tin 10 - Bài 3

Tin 10 - Bài 3

10th Grade

18 Qs

2324tx6

2324tx6

9th - 12th Grade

20 Qs

QUIZ BAB 4: SISTEM OPERASI

QUIZ BAB 4: SISTEM OPERASI

8th Grade - University

20 Qs

Coding Basics SC-1

Coding Basics SC-1

7th - 12th Grade

20 Qs

TIN 10 _CD_F8_CÂU LỆNH LẶP

TIN 10 _CD_F8_CÂU LỆNH LẶP

10th Grade

20 Qs

KTHK_2 K_10

KTHK_2 K_10

Assessment

Quiz

Computers

10th Grade

Easy

Created by

Quang Linh Ngô

Used 1+ times

FREE Resource

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Trong Python, để nhập số tự nhiên từ bàn phím, ta dùng lệnh:

n = float(input(“Nhập số tự nhiên: “))

n = input(“Nhập số tự nhiên: “))

n = int(input(“Nhập số tự nhiên: “))

n = int(input(“Nhập số tự nhiên: “)

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Trong Python, để nhập số thực từ bàn phím, ta dùng lệnh:

x = float(input(“Nhập số thực: “))

x = input(“Nhập số thực: “))

x = int(input(“Nhập số thực: “))

x = float(input(“Nhập số thực: “)

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Kết qủa của đoạn lệnh sau là gì?

x=sum(range(5))

print(x)

4

5

10

15

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Trong hàm range, nếu không đặt khoảng cách giữa hai số thì Python sẽ hiểu mặc địch nó bằng:

1

0

2

3

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

range(2,101) sẽ tạo ra:

Một dãy số từ 2 đến 100

Một dãy số từ 0 đến 100

Một dãy số từ 1 đến 100

Một dãy số từ 2 đến 101

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Cú pháp đúng của câu lệnh lặp for

for <biến chạy> in range(start,stop,step): <Khối lệnh>

for <biến chạy> in range(start,step): <Khối lệnh>

for <biến chạy> in range(start,stop,step); <Khối lệnh>

for <biến chạy> in range(start,stop,step) <Khối lệnh>

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Điền phần còn thiếu trong đoạn code để được out dưới đây?

for i in range(5,0,....):

print(str(i)*5)

0

none

1

-1

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?