STRING

STRING

10th Grade

5 Qs

quiz-placeholder

Similar activities

Lekcja 1.3

Lekcja 1.3

4th Grade - University

7 Qs

Dasar C++

Dasar C++

10th Grade

10 Qs

Uraian Pemrograman Dasar X SMK

Uraian Pemrograman Dasar X SMK

10th Grade

10 Qs

Evaluasi Percabangan C

Evaluasi Percabangan C

10th Grade

10 Qs

Quiz Pengetahuan Umum Komputer

Quiz Pengetahuan Umum Komputer

3rd Grade - University

10 Qs

Basics of Network and Internet Safety

Basics of Network and Internet Safety

10th Grade - University

10 Qs

python

python

10th Grade

10 Qs

Berpikir komputasional

Berpikir komputasional

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