STRING

STRING

10th Grade

5 Qs

quiz-placeholder

Similar activities

ASESMEN DIAGNOSTIK INFORMATIKA X DPB 2

ASESMEN DIAGNOSTIK INFORMATIKA X DPB 2

10th Grade - University

10 Qs

bài  21

bài 21

10th Grade

10 Qs

БЖБ 2-тоқсан 10-сынып

БЖБ 2-тоқсан 10-сынып

10th Grade

7 Qs

Kiểu dữ liệu danh sách trong Python

Kiểu dữ liệu danh sách trong Python

10th Grade

10 Qs

Quiz aula 8

Quiz aula 8

9th - 12th Grade

10 Qs

Quiz de Lógica em Python

Quiz de Lógica em Python

6th Grade - University

8 Qs

G9-Introduction to Python Selection

G9-Introduction to Python Selection

9th Grade - University

6 Qs

VÒNG 1. KIỂU DANH SÁCH

VÒNG 1. KIỂU DANH SÁCH

10th Grade

10 Qs

STRING

STRING

Assessment

Quiz

Information Technology (IT)

10th Grade

Medium

Created by

Nhung BP

Used 2+ times

FREE Resource

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

How many strings true are there?

       1) "gmail_@##"

2) "High"

3) "71bentre"

4) Binh Dai district

5) "0985378934"

6) lequidon@123

5

6

4

3

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Câu 2: What is the result of the following program?

s="71C1%^%DISTRICT"

print(len(s))

15

16

17

18

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Câu 3: How many times is the string S printed in the following program?

s = "High school"

for i in range(10):

    if i % 3 == 0:

        print(s)

1

2

3

4

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the result of the following program?

name = "Code Python"

print(name[20])

C

o

n

IndexError

5.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What is the result of the following program?

s = "121 Python 3.11"

kq = False

for i in range(len(s)-1):

    if s[i] == "1" and s[i+1]=="2":

        kq = True

        break

print(kq)

True

False

IndexError


Infinite loop