Search Header Logo

KIỂU DỮ LIỆU XÂU

Authored by Thủy Vũ

Computers

11th Grade

Used 5+ times

KIỂU DỮ LIỆU XÂU
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

45 sec • 1 pt

Câu 1: Cú pháp nào xâu đây là đúng khi thực hiện nhập xâu s từ bàn phím:

s=”xâu”

s=int(input(“Nhập xâu:”)

s= float(input(“Nhập xâu:”)

s=input(“Nhập xâu:”)

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Câu 2: Phép xử lí nào trong xâu thực hiện lặp đi lặp lại xâu gốc n lần:

Phép ghép xâu

Phép nhân xâu

Phép so sánh xâu

Phép tìm xâu

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho xâu A= “Tin học”, khi đó câu lệnh print(len(A)) trả về kết quả là:

“Tin học”

Lỗi

6

7

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Kết quả in ra màn hình của đoạn chương trình trên là:

s

Trường THPT Yên Lãng

Lỗi

Không có kết quả nào

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Câu lệnh nào sau đây dùng để in ra màn hình xâu s=”Python” thành xâu in hoa:

print(s.upper())

print(upper(s))

s.upper()

upper(s)

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Kết quả in ra màn hình là

a+b    

42  

2022

Lỗi

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

Kết quả in ra màn hình là:

a+b

42

2022

Lỗi

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?