STRING

STRING

10th Grade

5 Qs

quiz-placeholder

Similar activities

Ice Breaking Informatika

Ice Breaking Informatika

10th Grade - University

10 Qs

Examination Chapter 1

Examination Chapter 1

10th Grade

10 Qs

Test shkollor, 7

Test shkollor, 7

7th Grade - University

10 Qs

Asesmen Informatika Fase E Sms Ganjil

Asesmen Informatika Fase E Sms Ganjil

10th Grade

10 Qs

Աղջիկներ թգհգ

Աղջիկներ թգհգ

6th Grade - University

10 Qs

TRẮC NGHIỆM VUI PYTHON

TRẮC NGHIỆM VUI PYTHON

10th Grade

10 Qs

DPK 2.7 Bacaan

DPK 2.7 Bacaan

10th Grade

10 Qs

Ms. Word & Ms. Excel

Ms. Word & Ms. Excel

10th Grade

10 Qs

STRING

STRING

Assessment

Quiz

Information Technology (IT)

10th Grade

Medium

Created by

Nhung BP

Used 2+ 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

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