Современные языки программирования. Тема-4

Современные языки программирования. Тема-4

University

10 Qs

quiz-placeholder

Similar activities

Python Quiz 1.4

Python Quiz 1.4

University

12 Qs

Python-quiz2

Python-quiz2

University - Professional Development

11 Qs

Computational Thinking in Python[Quiz 3]

Computational Thinking in Python[Quiz 3]

University

15 Qs

Java quiz-2024-Sec-B

Java quiz-2024-Sec-B

University

12 Qs

Системы счисления

Системы счисления

University

15 Qs

Python-Quiz-Basic-Datatypes

Python-Quiz-Basic-Datatypes

12th Grade - Professional Development

10 Qs

Tuples and set

Tuples and set

University

10 Qs

Современные языки программирования. Тема-4

Современные языки программирования. Тема-4

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Khatira Abbasova

Used 12+ times

FREE Resource

AI

Enhance your content in a minute

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

Что будет выведено на экран после выполнения этой программы?

s = "123"

s = s + s[1] + s + s[2]

print ( s )

12321233

s2s3

12311232

123123

23

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Сколько единиц будет выведено на экран?

s = "12345678"

while len(s) > 0:

s = s[2:]

print ( "1", end="" )

1

4

2

3

5

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Что выведет данный программный код?

array = ['computer science', 'Russian language','mathematics']

name1="Peter"

name2="Slava"

stroka = ",".join(array)

print(f'{name1} and {name2} pass {stroka}')

Peter and Slava pass computer science,Russian language,mathematics

Peter and Slava pass computer science Russian language mathematics

Peter and Slava

"Peter" and "Slava" pass 'computer science', 'Russian language','mathematics'

name1 name2 stroka

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Что покажет приведенный ниже фрагмент кода?

s = 'aabbAAccDDaa'

s = s.lower()

print(s.count('a'))

4

aabbaaccddaa

bbAAccDD

6

bbccdd

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Что покажет приведенный ниже фрагмент кода?

s = 'www.unec.edu.az'

print(s.startswith('www'))

True

False

unec.edu.az

www

www.unec.edu.az

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Что покажет приведенный ниже фрагмент кода?

s = 'www.unec.edu.az'

print(s.endswith('.ru'))

True

False

az

www.unec.edu.ru

unec.edu.ru

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Что покажет приведенный ниже фрагмент кода?

s = 'I learn Python language. Python - awesome!'

print(s.find('Python'))

7

[8:14]

8

True

False

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?