Search Header Logo

Revisando a Aula 3 Estrutura de Dados

Authored by Bruno Kostiuk

Computers

University

Used 1+ times

Revisando a Aula 3 Estrutura de Dados
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Quantas varreduras o algoritmo Bubble sort fará no conjunto:
dados = [1,2,3,4,5,6,7,9]

8 varreduras

9 varreduras

1 varredura

0 varreduras

2.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Qual a Complexidade Big-O do Algoritmo Bubble Sort?

O(n)

O(n^2)

O(n log n)

O(n^3)

3.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Quantas chamadas recursivas são realizadas no algoritmo Merge Sort visto na ultima aula?

1 chamada

0 chamadas

2 chamadas

3 chamadas

4.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Qual a Complexidade Big-O do Algoritmo Merge Sort?

O(n)

O(n^2)

O(n log n)

O(n^3)

5.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

Ao executar o Bubble Sort no conjunto [4,5,1,2,3], quantas TROCAS são realizadas na primeira varredura?

3 trocas

1 troca

4 trocas

5 trocas

2 trocas

6.

MULTIPLE CHOICE QUESTION

30 sec • 20 pts

O algoritmo Merge Sort ordena os elementos de um vetor percorrendo este diversas vezes e, a cada passagem, deslocando até o topo o maior elemento da sequência.

Correto

Falso

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?