Search Header Logo

B18.3-Tin10

Authored by TRUC Ng

Instructional Technology

12th Grade

B18.3-Tin10
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào dùng để nhận biết kiểu dữ liệu của biến trong python?

type().

int().

size().

abs().

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Viết chương trình nhập vào 4 số và tính tổng của chúng. Các dòng lệnh số mấy bị sai?

a = int(input(“Nhập số a”))

b = float(input(“Nhập số b”))

c = int(input(“Nhập số c”))

d = input(“Nhập số d”)

print(“Tổng là: ”, a+b+c+d)

Dòng 1, 2.

Dòng 2, 4.

Dòng 3, 5.

Dòng 4.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Trong các lệnh sau những lệnh nào sẽ báo lỗi?

int("12+45").

float(123.56).

float("123,5.5").

Câu lệnh A và C sẽ báo lỗi.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đưa dữ liệu ra màn hình dùng thủ tục nào?

print().

input().

type().

abs().

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Muốn nhập vào 2 số nguyên a, b mỗi số trên 1 dòng trong Python ta dùng lệnh gì?

a=int(input()) b=int(input()).

a=float(input()) b=float(input()).

a,b=map(int,input().split()).

a,b=map(float,input().split()).

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Đâu không phải là kiểu dữ liệu cơ bản trong python?

int.

float.

list.

string.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Câu lênh nào sau đây không báo lỗi?

1) float(4)

2) int(“1+3”)

3) int(“3”)

4) float(“1+2+3”)

 1

2

3

4

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?