logo

Crowdly

Browser

Додати до Chrome

25_HESSO-VS_SI_Informatique SYND

Шукаєте відповіді та рішення тестів для 25_HESSO-VS_SI_Informatique SYND? Перегляньте нашу велику колекцію перевірених відповідей для 25_HESSO-VS_SI_Informatique SYND в cyberlearn.hes-so.ch.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

Qu’est-ce que cela signifie lorsqu’une classe est abstraite en Java?

Was bedeutet es, wenn eine Klasse in Java abstrakt ist?

✅
❌
❌
❌
Переглянути це питання
Переглянути це питання
Переглянути це питання

What is the Big O space complexity of this algorithm?

Example:

int n = 10;

float sum = 0.0f;

for (int i = 0; i < n; i++) {

    int k = i*2 + i - n;

    sum += (float)k + 1.0f;

}

System.out.println(sum);

0%
0%
0%
0%
Переглянути це питання

What is the Big O space complexity of this algorithm?

Example:

int n = 10;

float[] sum = new float[n];

for (int i = 0; i < n; i++) {

    sum[i]= (float)52 * (float)i + 1.0f;

}

System.out.println(sum[n-1]);

✅
❌
❌
❌
Переглянути це питання

What is the Big O time complexity of this algorithm?

Example:

for (int i = 0; i < n; i++) {

    for (int j = 0; j < 1; j++){

        for (int k = 0; k < 1; k++){

            System.out.println("Hello World!");

        }

    }

}

0%
0%
0%
❌
0%
Переглянути це питання

What is the Big O time complexity of this algorithm?

i = 0;

while (i < n) {

    if (i == 3) {

        for (int j = 0; j < n; j++){

            System.out.println("Hello World!");

        }

    }

}

0%
0%
0%
0%
0%
Переглянути це питання

What is the Big O time complexity of this algorithm?

Example:

for (int i = 0; i < n; i++) {

    for (int j = 0; j < n; j++){

        int k = i*2 + j - n;

        System.out.println("Hello World!");

    }

}

0%
0%
0%
0%
0%
Переглянути це питання

Which of the following suggested variable names are correct?

❌
✅
❌
✅
❌
❌
✅
✅
Переглянути це питання

What is the space complexity (BigO) of this algorithm?

Note: the algorithm is described in pseudo-code. The input array arr is an array of size 40

In your calculation, do NOT consider the space used by the input array.

bubbleSort(arr)

    n <- arr.length

    for i from 0 to n - 1

        for j from 0 to n - i - 1

            if arr[j] > arr[j + 1]

                swap(arr[j], arr[j + 1])

0%
0%
0%
0%
0%
Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на cyberlearn.hes-so.ch?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome