Search Header Logo

Основы программирования1-565 гр. Тема 4

Authored by Khatira Abbasova

Computers

University

Used 12+ times

Основы программирования1-565 гр. Тема 4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Что будет выведено на экран в результате выполнения следующего кода?

print('31', '12', '2019', sep='-')

31-12-2019

31, 12, 2019

'31', '12', '2019'

31

12

2019

31=12=2019

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Что будет выведено на экран в результате выполнения следующего кода?

print('Mercury', 'Venus', sep='*', end='!')

print('Mars', 'Jupiter', sep='**', end='?')

'Mercury', 'Venus','Mars', 'Jupiter'

Mercury*Venus!Mars**Jupiter?

Mercury, Venus, Mars, Jupiter

Mercury Venus

Mars Jupiter

Mercury*Venus

Mars**Jupiter

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Сколько строк будет распечатано в результате выполнения следующего кода?

print('a', 'b', 'c', sep='*')

print('d', 'e', 'f', sep='**', end='')

print('g', 'h', 'i', sep='+', end='%')

print('j', 'k', 'l', sep='-', end='\n')

print('m', 'n', 'o', sep='/', end='!')

print('p', 'q', 'r', sep='1', end='%')

print('s', 't', 'u', sep='&', end='\n')

print('v', 'w', 'x', sep='%')

print('y', 'z', sep='/', end='!')

9

7

1

5

3

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Какие из имён допустимы для названия переменных в Python?

teacher2

2teacher

teacher_2

teacher

teacher?

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

language = 'Pascal'

language = 'Python'

print(language)

Python

Pascal

Python

Pascal

Pascal

Python

'Pascal' 'Python'

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Какое значение будет находиться в переменной s1 после выполнения следующего кода?

s1 = 'C++'

s2 = 'Python'

s3 = 'Java'

s3 = s2

s1 = s3

Python

C++

Java

s3

Python C++ Java

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Выберите строки кода, соответствующие стандарту PEP 8.

print('Follow PEP8!')

print ('Follow PEP8!')

print('Follow', 'PEP8!')

name=input()

name = input()

Access all questions and much more by creating a free account

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

Already have an account?