logo

Crowdly

Browser

Додати до Chrome

* Contrôles Continus - P2 - Promo 2029

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

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

Si un nombre représente une opération d'empilement push(), le symbole # représente un dépilement pop(), et le symbole @ représente une consultation top(), quelles sont les valeurs stockées dans la pile après la séquence d'opérations suivante ?

3 8 5 @ # 7 # 4 2 @ # 9 1 @ # 6 0 @ #

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

Une file implémentée avec une liste chaînée 'head and tail' peut-elle être « pleine » ?

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

If a number represents a push() stack operation, the # symbol represents a pop() unstack, and the @ symbol represents a top() lookup, what values are stored in the stack after the following sequence of operations?

3 8 5 @ # 7 # 4 2 @ # 9 1 @ # 6 0 @ #

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

Can a queue implemented with a 'head and tail' linked list be 'full'?

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

On vous propose la fonction suivante pour effcteur un parcours de liste circulaire, sans rebouclage (pas de boucle infinie)

void browseCircList(t_circ_list mylist)

{

    t_cell *temp = mylist.head;

    while (temp != mylist.tail)

    {

       // ici une ou des instructions pour le parcours (affichage par exemple)

      //  pas de piège pour ces instructions

      temp = temp->next;

    }

   return;

}

Parmi les propositions suivantes, indiquez celles qui sont correctes (plusieurs réponses, attention les mauvaises réponses sont pénalisées)

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

On vous propose d'utiliser le type t_std_list pour définir une liste circulaire, plutôt que le type t_ht_list.

Quelle est la conséquence de ce choix ?

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

We suggest the following function to perform a circular list traversal, without looping back (no infinite loop)

void browseCircList(t_circ_list mylist)

{

    t_cell *temp = mylist.head;

    while (temp != mylist.tail)

    {

       // ici une ou des instructions pour le parcours (affichage par exemple)

      //  pas de piège pour ces instructions

      temp = temp->next;

    }

   return;

}

Which of the following statements are correct (multiple answers, wrong answers will be penalised)?

0%
0%
0%
0%
Переглянути це питання
We suggest you use type t_std_list to define a circular list, rather than type t_ht_list.

What is the consequence of this choice ?

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

on vous propose la fonction suivante : 

void reverse(t_ht_list *p_list)

{

t_cell *temp;

temp = p_liste->tail;

p_liste->tail= p_liste->head;

p_liste->head= temp;

return;

}

On vous dit que cela permet de parcourir la liste en sens inverse de son ordre initial.....vrai ou faux ?

0%
0%
Переглянути це питання
we suggest the following function: 
void reverse(t_ht_list *p_list)

{

t_cell *temp;

temp = p_liste->tail;

p_liste->tail= p_liste->head;

p_liste->head= temp;

return;

}

You are told that this allows the list to be browsed in the opposite direction to its initial order.....true or false?

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

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

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

Browser

Додати до Chrome