logo

Crowdly

Browser

Add to Chrome

ITI0102 Programmeerimise algkursus (2024/2025)

Looking for ITI0102 Programmeerimise algkursus (2024/2025) test answers and solutions? Browse our comprehensive collection of verified answers for ITI0102 Programmeerimise algkursus (2024/2025) 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 prinditakse konsooli kui järgnev koodijupp tööle panna?

class Student:

     def say_hello(self):

         print("Hello!")

class ITStudent(Student):

    def say_hello(self):

        print("Hello! Does anybody need help with their computer?")

alice = Student()

mary = ITStudent()

alice.say_hello()

mary.say_hello()

0%
0%
0%
View this question

Millised järgnevatest väidetest on tõesed __repr__() ja __str()__ meetodide kohta?

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

Millised järgnevatest on objektorienteeritud programmeerimise mõisted?

View this question

Mis on klass objektorienteeritud programmeerimises?

View this question

Milline järgmistest väidetest on korrektne objektorienteeritud programmeerimise kohta Pythonis?

0%
0%
View this question

Mis on objekt objektorienteeritud programmeerimises?

0%
View this question

Mida tähistab eriline muutuja self?

class Cat:

     def __init__(self, name):

         self.name = name

0%
0%
0%
View this question

Kui tahame kirjutada programmi, et simuleerida koera käitumist, kuidas tuleks luua uus koera objekt?

0%
0%
0%
0%
View this question

Mis prinditakse konsooli?

apple = len("kiisumiisu") + len("ujumisrõngas") - "maasikas".find("a") + "maasikas".rfind("a")

print(apple)

View this question

Mis on väljund?

for i, j in enumerate(["a", "b", "c"]):

    print(i, j)

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