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!

Mis trükitakse konsooli antud koodi käivitamisel?

a = ["a", "s", "d", "f", "g"]

b = a[1]

print(b)

0%
0%
0%
0%
View this question

Mis trükitakse konsooli antud koodi käivitamisel?

a = ['a', 'b', 'c', 'd']

a.pop()

print(a)
0%
0%
0%
0%
View this question

Mis trükitakse konsooli antud koodi käivitamisel?

a = [3, 2]

a.insert(1, 5)

print(a)

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

Mis trükitakse konsooli selle koodi käivitamisel?

a = 15

if a // 3 == 5 or a % 5 == 3:

    print(a)

elif a % 3 == 3 or a // 5 == 5:

    print(-a)

else:

    print(a % 3)

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

Mis trükitakse konsooli alljärgneva koodi käivitamisel?

z = 3

if z < 10:

    print("less than ten")

elif z > 1:

    print("more than 1")

else:

    print("not between 1 and 10")

0%
0%
0%
View this question

Millise alljärgneva koodinäite puhul trükitakse konsooli "z is even"?

0%
0%
View this question

Mis trükitakse alljärgneva koodi käivitamise tulemusena konsooli?

a = True

c = 5

b = c > 5

print(not a or not b, 3 < c < 2 or not b != a)

0%
0%
View this question

Olgu antud alljärgnevad koodilõigud. Mis trükitakse iga koodilõigu käivitamise tulemusena konsooli?

View this question

Olgu antud alljärgnevad koodilõigud. Mis trükitakse iga koodilõigu käivitamise tulemusena konsooli?

View this question

Mis trükitakse konsooli selle koodi käivitamisel?

def can_divide():

    my_number = 6

    divides_by_two = False

    divides_by_three = False

    if my_number % 2 == 0: # Can divide by two?

        divides_by_two = True

    elif my_number % 3 == 0: # Can divide by three?

        divides_by_three = True

    return divides_by_two, divides_by_three

print(can_divide())
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