logo

Crowdly

Browser

Add to Chrome

Основи програмування

Looking for Основи програмування test answers and solutions? Browse our comprehensive collection of verified answers for Основи програмування at virt.ldubgd.edu.ua.

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

Чому у setter-і властивості потрібно використовувати self._value, а не self.value?

0%
67%
33%
0%
View this question

Що відбудеться, якщо визначити метод класу без параметра self і спробувати його викликати через екземпляр?

0%
100%
0%
0%
View this question

Що виведе наступний код?

class Box:

def __init__(self):

self._side = 7

@property

def side(self):

return self._side + 3

b = Box()

print(b.side)

View this question

Яким символом у UML-діаграмі класів позначається публічний метод або атрибут?

0%
100%
0%
0%
View this question

До якої категорії шаблонів проектування відноситься Strategy?

0%
0%
67%
View this question

Чим ООП-підхід відрізняється від процедурного програмування?

100%
0%
0%
0%
View this question

Маємо class D(B, A):. Метод method() визначений і в B, і в A. Який виклик D().method() викличе?

0%
67%
0%
View this question

Що виведе наступний код?

print(int(issubclass(bool, int)))

View this question

До якої категорії шаблонів проектування відноситься Factory Method?

67%
0%
0%
View this question

Що виведе наступний код?

print(2 ** 4)

View this question

Want instant access to all verified answers on virt.ldubgd.edu.ua?

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

Browser

Add to Chrome