logo

Crowdly

Browser

Додати до Chrome

CC - P1 - Promo 2029

Шукаєте відповіді та рішення тестів для CC - P1 - Promo 2029? Перегляньте нашу велику колекцію перевірених відповідей для CC - P1 - Promo 2029 в moodle.myefrei.fr.

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

En exécutant le programme suivant, combien de fois la chaîne "hello" est-elle affichée ?

#include<stdio.h>

int main() {

int i = 0;

while (i < 5) {

printf("hello\n");

}

return 0;

}

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

Dans le bout de programme suivant, on suppose que toutes les variables sont correctement déclarées et initialisées. Parmi les affirmations proposées, laquelle est nécessairement vraie ?

if (a > b) {

result = a;

} else {

result = b;

}

Переглянути це питання
L'algorithme du tri par insertion permet de trier un tableau dans un certain ordre. Parmi les affirmations suivantes, laquelle décrit le mieux cet algorithme de tri ?
0%
0%
0%
0%
Переглянути це питання

Après l'exécution des instructions suivantes, que contiennent les variables str1 et str2 ?

char str1[100] = "Howdy, ";

char str2[100] = "partner!";

char * p1 = str1;

char * p2 = str2;

while (*p1 != '\0') p1++;

while (*p2 != '\0') *(p1++) = *(p2++);

*p1 = '\0';

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

On considère le programme suivant. Parmi les affirmations suivantes, lesquelles sont vraies ?

#include<stdio.h>

#define N 10

int main() {

int t[] = {1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0};

int l = 0, r = N - 1;

int cpt = 0;

while (l <= r) {

cpt++;

int m = l + (r - l) / 2;

if (t[m] == 1) {

l = m + 1;

} else {

r = m - 1;

}

}

printf("%d %d\n", l, cpt);

return 0;

}

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

L'algorithme du tri à bulles trie un tableau en plaçant à chaque itération le plus grand élément à sa place. En arrêtant l'algorithme dès que le tableau est trié, en combien d'itérations le tableau int T[6] = {-1, 3, 7, 42, 13, 21} est-il trié ?

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

On considère la chaîne de caractères suivante char str[] = "hello". Parmi les affirmations suivantes, lesquelles sont vraies ?

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

On souhaite écrire une fonction moyenne qui calcule et renvoie la moyenne d'un tableau d'entiers tab de taille n. Parmi les propositions suivantes, quelle est l'en-tête de fonction correcte ?

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

We consider two continuous functions and over the interval .

Which of these three statements is false?

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

Let the integral

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

Хочете миттєвий доступ до всіх перевірених відповідей на moodle.myefrei.fr?

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

Browser

Додати до Chrome