logo

Crowdly

Browser

Add to Chrome

ITI0102 Programmeerimise algkursus (2025/2026)

Looking for ITI0102 Programmeerimise algkursus (2025/2026) test answers and solutions? Browse our comprehensive collection of verified answers for ITI0102 Programmeerimise algkursus (2025/2026) at moodle.taltech.ee.

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

Mis on koodi väljund?

class A:

def test(self):

return "A"

class B(A):

def test(self):

super().test()

return "B"

class C(A):

def test(self):

return "C"

obj = B()

print(obj.test())

0%
0%
0%
0%
View this question

Kuidas märgitakse privaatseid atribuute Pythonis?

0%
0%
0%
0%
View this question

Mis on peamine erinevus print ja return vahel Pythonis?

0%
0%
0%
0%
View this question

Milline järgmistest väidetest ei vasta tõele Pythonis tingimuslausete kohta?

0%
0%
0%
0%
View this question
Mis on tulemus?

numbers = []

for i in [5, 10, 3]:

for j in range(5, 10, 3):

numbers.append(i + j)

print(numbers)

0%
0%
0%
0%
0%
View this question

Selgita, mis on rekursioon (“rekursioon on rekursioon” ei sobi vastuseks).

Miks on rekursiivse funktsiooni puhul vajalik baastingimus ja mis juhtub selle puudumisel?

Too näide olukorrast, kus rekursiooni kasutamine on mõistlik.

View this question

Mis on tulemuseks?

x = 0

y = True

z = False

result1 = (x and y) or (z and not x)

result2 = not (y or z) and (x or not y)

print(result1, result2)

0%
0%
0%
0%
View this question

Mis juhtub, kui proovida Pythonis lisada set-i element, mis juba eksisteerib?

0%
0%
0%
0%
0%
0%
View this question

Mis on järgmise tehte tulemus?

a = (17 % 5) + (2 ** 3) * (6 // 3) - 7

print(a)

View this question

Kuidas saab kasutajale input() funktsiooni abil konsoolis juhiseid kuvada? (Näiteks "Sisesta oma nimi:")

0%
0%
0%
0%
View this question

Want instant access to all verified answers on moodle.taltech.ee?

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

Browser

Add to Chrome