logo

Crowdly

Browser

Add to Chrome

Алгоритмізація та програмування ННІ 4-25-101-102 Кб (2 сем)

Looking for Алгоритмізація та програмування ННІ 4-25-101-102 Кб (2 сем) test answers and solutions? Browse our comprehensive collection of verified answers for Алгоритмізація та програмування ННІ 4-25-101-102 Кб (2 сем) at kursant.khnuvs.org.ua.

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

Що буде результатом виконання hash((1, 2, [3]))?
0%
0%
100%
0%
View this question
Яке значення поверне вираз ((10 % 3) + (10 // 3)) * (-1)?
0%
0%
0%
100%
View this question
Яке значення буде у `x` після виконання?

x = 0

if x == False:

x = 1

if x:

x += 3

print(x)

100%
0%
0%
0%
View this question
Що виведе наступний код?

a = [1, 2, 3]

b = a

a += [4]

print(a is b, a == b)

0%
100%
0%
0%
View this question
Який буде результат?

a = 1

b = 2

if a == b:

a += b

elif a < b:

if b - a == 1:

a = b * 2

else:

a = b + 2

print(a)

100%
0%
0%
0%
View this question
Який результат?

a = 5

if a % 2 == 0:

a = a / 2

else:

a = a * 2

if a > 5:

a -= 1

print(int(a))

100%
0%
0%
0%
View this question
Що буде виведено?

x = None

if x:

res = 1

elif x is None:

res = 2

else:

res = 3

print(res)

0%
0%
100%
0%
View this question
Що виведе цей код?

s = 0

for i in range(4):

for j in range(i):

s += 1

print(s)

0%
0%
0%
100%
View this question
Що буде виведено?

x = 3

if x > 0:

x += 1

if x > 4:

x *= 2

print(x)

100%
0%
0%
0%
View this question
Який результат виконання?

try:

a = 1 / 1

except ZeroDivisionError:

a = 0

else:

a += 1

print(a)

0%
0%
0%
100%
View this question

Want instant access to all verified answers on kursant.khnuvs.org.ua?

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

Browser

Add to Chrome