B24.2-Tin10

B24.2-Tin10

12th Grade

10 Qs

quiz-placeholder

Similar activities

Richland Highly Structured Review

Richland Highly Structured Review

9th Grade - Professional Development

10 Qs

Els Mecanismes

Els Mecanismes

9th - 12th Grade

10 Qs

Safety in shop

Safety in shop

10th - 12th Grade

13 Qs

hairstyling quiz

hairstyling quiz

10th - 12th Grade

14 Qs

Genres of Literature

Genres of Literature

8th Grade - University

15 Qs

ĐỀ CƯƠNG TIN HỌC 7 HK2 21-22

ĐỀ CƯƠNG TIN HỌC 7 HK2 21-22

12th Grade

13 Qs

Ut. 3. Tèc. de repr. gràfica - Materials i estris 1

Ut. 3. Tèc. de repr. gràfica - Materials i estris 1

12th Grade

15 Qs

B24.2-Tin10

B24.2-Tin10

Assessment

Quiz

Instructional Technology

12th Grade

Hard

Created by

TRUC Ng

FREE Resource

AI

Enhance your content

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Xâu rỗng là xâu có độ dài bằng bao nhiêu?

1.

2.

0.

3.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Để biết độ dài của xâu s ta dùng hàm gì?

str(s).

len(s).

length(s).

s.len().

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Có bao nhiêu xâu kí tự nào hợp lệ?

1) “123_@##”

2) “hoa hau”

3) “346h7g84jd”

4) python

5) “01028475”

6) 123456

5.

6.

4.

3

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cho s = "123456abcdefg", s1 = "124", s2 = "235", s3 = "ab", s4 = "56" + s3 Có bao nhiêu biểu thức lôgic sau đúng?

1) s1 in s.

2) s2 in s.

3) s3 in s.

4) s4 in s.

1.

2.

3.

4.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

>>> s = "abcdefg"

>>> print(s[2])

'c'.

'b'.

'a'.

'd'.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Biểu thức sau cho kết quả đúng hay sai?

S1 = "12345"

S2 = "3e4r45"

S3 = "45"

S3 in S1

S3 in S2

True, False.

True, True.

False, False.

False, True.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Chương trình sau giải quyết bài toán gì?

n = input("Nhập n")

s = "" for i in range(n):

if i % 2 == 0:

s. append(i)

print(s)

In ra một chuỗi các số từ 0 tới n.

Chương trình bị lỗi.

In ra một chuỗi các số lẻ từ 0 đến n.

In ra một chuỗi các số chẵn từ 0 đến n - 1.

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?