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!

Який результат поверне вираз -(10 // 3) у порівнянні з -10 // 3?
100%
0%
0%
View this question
Що буде виведено?

try:

x = [1, 2, 3][5]

except IndexError:

x = 10

else:

x = 5

finally:

x *= 2

print(x)

0%
0%
0%
100%
View this question
Яке значення буде у `z` після виконання?

x = 5

y = 2

if x % y:

z = x // y

else:

z = x * y

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

def f(*args):

return len(args)

print(f(1, 2, 3))

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

i = 0

while i < 5:

if i == 2:

i += 1

continue

i += 1

print(i)

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

x = 0

for i in range(5):

if i % 2 == 0:

continue

x += i

print(x)

0%
0%
100%
0%
View this question
Що повертає вираз (-9 // 4) * 4 + (-9 % 4) у Python?
0%
0%
0%
100%
View this question
Що виведе програма?

try:

raise ValueError

except:

x = 3

finally:

del x

print(x)

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

x = 10

def f():

x = 5

f()

print(x)

0%
100%
0%
0%
View this question
Який результат поверне наступний вираз: ((5 // 2)*(-3)) // 4?
0%
0%
100%
0%
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