logo

Crowdly

Browser

Add to Chrome

Мова програмування Python

Looking for Мова програмування Python test answers and solutions? Browse our comprehensive collection of verified answers for Мова програмування Python at elr.tnpu.edu.ua.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Введіть беріть результат виконання програми, при вхідних даних (-5):

x = int(input())

if x > 0:

....print(x)

else:

....print(-x)

View this question

Введіть результат виконання програми:

a =[1, 2, 3]

if a[2] < 3 :

........print(a[a[1]])

else:

........print(a[1])

View this question

Введіть результат виконання програми:

x = 10

if x > 0:

....print(x)

else:

....print(-x)

View this question

Оберіть результат виконання програми:

a = 0

b = 1

a += b**2

if a == 1 and b == 1:

....print("Nice")

else:

....print(a + b)

0%
100%
0%
0%
View this question

Введіть результат виконання програми:

n = 8

t = 4

if n <= t**2 // 2:

....print(n + t)

else:

....print(n - t)

View this question

Введіть результат виконання програми:

x = True

y = False

z = False

if not x or y:

....print(1)

elif not x or not y and z:

....print(2)

elif not x or y or not y and x:

....print(3)

else:

....print(4)

View this question
Який алгоритм сортування найгірший з точки зору часу виконання?
100%
0%
0%
0%
View this question
Який алгоритм сортування використовує рекурсивний підхід?
0%
0%
0%
100%
View this question
Який з цих алгоритмів сортування має логарифмічну складність у середньому випадку?
100%
0%
0%
0%
View this question
Який з цих алгоритмів сортування є найкращим для майже відсортованих масивів?
0%
100%
0%
0%
View this question

Want instant access to all verified answers on elr.tnpu.edu.ua?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome