Search Header Logo

Tin

Authored by abc def

English

1st - 5th Grade

Used 9+ times

Tin
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

60 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

int("5*2)

float(123)

str(5)

tất cả đều báo lỗi

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

để đưa ra màn hình 3,4 mỗi số trên 1 dòng ta dùng lệnh gì?

print('3,4')

print(3') print('4')

print(3' ,end=") print('4')

print('3') ('4')

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

để nhập vào 2 số thực a,b mỗi số trên 1 dòng trong pythin ta dùng lệnh nào dưới đây?

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

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

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

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

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

trong python để nhập vào số nguyên n từ bàn phím,ta dùng lệnh nào?

n=int(input('chuỗi thông báo:'))

n=(input('chuỗi thông báo'))

n=('chuỗi thông báo')

int(input('chuỗi thông báo: '))

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

để nhập vào ba số nguên a,b,c từ bàn phím ngăn cách nhau bởi 1 dấu cách,ta có thể dùng lệnh gì?

a,b,c=int(input('chuỗi thông báo:'))

a,b,c=map(int,input('chuỗi thông báo:').split())

a,b,c=map(float,input('chuỗi thông báo:').split())

a,b,c=float(input('chuỗi thông báo:'))

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

muốn giữ cho con trỏ không chuyển xuống đầu dòng tiếp theo ta có thể dùng lệnh nào?

print(<danh sách kết quả ra>)

write(<danh sách kết quả ra>,end=")

cout<<(<danh sách kết quả ra>,end=")

print(<danh sách kết quả ra>,end=")

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

để đưa màn hình dòng chữ"xin chào" trong python ta dùng lệnh gì?

print(xin chao)

print('xin chào')

input(xin chao)

input('xin chao')

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?