logo

Crowdly

Browser

Add to Chrome

ITI0002 Programmeerimise täiendusõpe (2025)

Looking for ITI0002 Programmeerimise täiendusõpe (2025) test answers and solutions? Browse our comprehensive collection of verified answers for ITI0002 Programmeerimise täiendusõpe (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!

Millised alljärgnevatest valikutest on sobilikud funktsiooni nimed koodistiili silma pidades?

0%
0%
0%
View this question

Mis prinditakse konsooli alljärgnevat koodi käivitades?

def greet(name):

   print("Hello, " + name + "!")

greet('John')

0%
0%
0%
View this question

Mis prinditakse konsooli alljärgnevat koodi käivitades?

def hello():

    return("Hello there!")

print(hello())

0%
0%
View this question

Mida kirjutab antud kood konsooli?

def print_sum_of_numbers(list_of_numbers):

    print(sum(list_of_numbers))

print(print_sum_of_numbers([1, 2, 3, 4, 5]))

0%
0%
View this question

Olgu meil alljärgnev kood. Vali õiged kirjeldused funktsiooni osadele.

def i_am_function(number: int, char: str) -> str:

"""Return function parameters."""

return number * char

View this question

Mis trükitakse konsooli selle koodi käivitamisel?

a = 3

b = 0

for i in range(a):

     for j in range(a):

         b += j

print(b)

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

Mis on x väärtus antud tsükli alguses ja tsükli lõpus?

for x in range(5):

    # some code

0%
0%
0%
View this question

Millised vead esinevad alljärgnevas koodis?

for number in range (6)

print number

0%
0%
0%
0%
View this question

Mis trükitakse konsooli selle koodi käivitamisel?

s = 0

for i in range(7, 13):

     if i % 3 != 0:

         s += i

     else:

         s -= i

print(s)

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

Mis on muutuja total väärtus peale järgneva tsükli käivitamist?

total = 0

for x in range(1, 6):

    if x % 2 == 0:

        total = total + (x * 2)

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