STRING

STRING

10th Grade

5 Qs

quiz-placeholder

Similar activities

Quiz Algoritma dan Pseudocode

Quiz Algoritma dan Pseudocode

10th Grade

10 Qs

Pre Tes DTJKT-3 P8

Pre Tes DTJKT-3 P8

10th Grade

10 Qs

Soal pretest siswa

Soal pretest siswa

10th Grade

10 Qs

Bài 25: Một số lệnh làm việc với xâu kí tự

Bài 25: Một số lệnh làm việc với xâu kí tự

10th Grade

10 Qs

KUIS BAB 3

KUIS BAB 3

7th Grade - University

10 Qs

KUIS KODING & KA 1

KUIS KODING & KA 1

10th Grade - University

10 Qs

Pre-Test Koding : Berpikir Komputasional X.13

Pre-Test Koding : Berpikir Komputasional X.13

10th Grade

10 Qs

PTS DKV Informatika

PTS DKV Informatika

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