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!

Який результат?

try:

raise KeyError("problem")

except ValueError:

x = 1

except KeyError:

x = 2

finally:

x += 3

print(x)

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

try:

int("10")

except:

x = 1

else:

x = 2

finally:

x *= 2

print(x)

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

def f():

try:

return 1

finally:

return 2

print(f())

0%
0%
100%
0%
View this question
Який результат обчислення виразу (-2)**3 // 3?
0%
0%
0%
100%
View this question
Який тип даних не підтримує оператор in ?
0%
100%
0%
0%
View this question
Що буде виведено?

x = 0

for i in range(2):

for j in range(2):

for k in range(2):

if i + j + k > 2:

continue

x += 1

print(x)

0%
0%
100%
0%
View this question
Який результат обчислення: 7 // 3.0 + 7.0 // 3?
0%
0%
0%
100%
View this question
Що буде виведено?

def f(x):

return x + 1

x = f

print(f(5) + x(4))

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

x = 1

y = 0

if x or y:

if not y:

y = x + y

print

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

for i in range(3):

for j in range(2):

if i == j:

break

else:

print(i)

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