Search Header Logo

CỦNG CỐ KIẾN THỨC CƠ BẢN PYTHON

Authored by thuy Tran

Education

9th - 12th Grade

Used 1+ times

CỦNG CỐ KIẾN THỨC CƠ BẢN PYTHON
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu 01: Để nhập 1 số thực N từ bàn phím ta sử dụng lệnh nào sau đây:

A. N=str(input())

B. N=int(input())

C. N=float(input())

D. N=input()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu 02: Để đưa ra giá trị của số N ta dùng lệnh nào sau đây:

A. print(‘N’)

B. print("N")

C. print(N)

D. print N

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu 03: Đư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:

A. print(A,B)

B. print(A, ‘ ’,B)

C. print(A,end= ‘ ’)

PRINT(B)

D. print(A)

print(B)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu 04: Lệnh sau có ý nghĩa gì:

if N>0: print(N)

A. Đưa màn hình số dương

A. Đưa màn hình số chẵn

A. Đưa N ra màn hình

A. Đưa màn hình số âm

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu 05: Lệnh sau có ý nghĩa gì:

if N%2 = = 0: print(N, “chan”)

else: print(N, “le”)

A. Kiểm tra tính chẵn lẻ của số N

B. Kiểm tra số N là dương hay âm

C. Đưa ra màn hình số chia hết cho 2

D. Đưa ra số không chia hết cho 2

Access all questions and much more by creating a free account

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?