logo

Crowdly

Browser

Add to Chrome

YFX0505 Programmeerimine C++ keeles (2026)

Looking for YFX0505 Programmeerimine C++ keeles (2026) test answers and solutions? Browse our comprehensive collection of verified answers for YFX0505 Programmeerimine C++ keeles (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!

Vaatleme järgmist programmilõiku

    std::vector a{1, 1, 2, 3, 5};

    int s = 0;

    for (int i = 1; i < 4; ++i) {

        s += a[i];

    }
Milline on nüüd s väärtus?

View this question

Vaatleme järgmist programmilõiku

    int a = 0, b = 1, c = 2, d = 3;

    if (a == 0 || b < 5 && c > 1) {

        d -= 1;

    } else {

        d += 1;

    }
Milline on nüüd d väärtus?

View this question

Vaatleme järgmist programmilõiku

    int a;

    int & b = a;

    b = 1;
Milline on nüüd a väärtus?

View this question

Vaatleme järgmisi funktsioone

    int f(int a) {

        return a + 1;

    }

    int g(int a) {

        return f(2 * a);

    }
Mis on avaldise g(3) väärtus?

View this question

Mis on avaldise 2 + 6 / 2 * 3 väärtus?

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