Bài tập củng cố: Bài 24. Xâu kí tự

Bài tập củng cố: Bài 24. Xâu kí tự

10th Grade

5 Qs

quiz-placeholder

Similar activities

Peran informatika untuk masa depan

Peran informatika untuk masa depan

10th Grade

10 Qs

Peran Kecerdasan Buatan dalam Kehidupan

Peran Kecerdasan Buatan dalam Kehidupan

10th Grade

10 Qs

Quiz on Basics of C

Quiz on Basics of C

University

10 Qs

TIK (canva)

TIK (canva)

10th Grade

10 Qs

Thực hành một số tính năng của mạng xã hội

Thực hành một số tính năng của mạng xã hội

11th Grade

10 Qs

0- and 1-Pixel Art Activity

0- and 1-Pixel Art Activity

9th - 12th Grade

10 Qs

Quiz Arduino Level 1

Quiz Arduino Level 1

11th Grade

10 Qs

Fitur-fitur Micosoft Word

Fitur-fitur Micosoft Word

10th Grade

10 Qs

Bài tập củng cố: Bài 24. Xâu kí tự

Bài tập củng cố: Bài 24. Xâu kí tự

Assessment

Quiz

Information Technology (IT)

10th Grade

Practice Problem

Medium

Created by

Diep Nguyen

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

Câu 1. Trong Python, lệnh nào sau đây dùng để đưa ra độ dài của xâu?

A. length()

B. len()

C. s. len()

D. s. length()

2.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

Câu 2. Xâu "Hoa cỏ mùa xuân" có độ dài bằng bao nhiêu?

A. 15

B. 16

C. 17

D. 18

3.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

Câu 3. Kết quả của chương trình sau là bao nhiêu?

s="abcdefg"

print(s[2])

A. "b"

B. "c"

C. "d"

D. "e"

4.

MULTIPLE CHOICE QUESTION

20 sec • 2 pts

Câu 4. Biểu thức sau cho kết quả True hay False?

S1= "12345", S2= "3e4r45", S3= "45"

S3 in S1

S3 in S2

A. False, True

B. True, False

C. True, True

D. False, False

5.

MULTIPLE CHOICE QUESTION

10 sec • 2 pts

Câu 5. Để duyệt các kí tự trong xâu, ta có mấy cách?

A. 2

B. 3

C. 4

D. 5