Search Header Logo

Algoritmi sortiranja - 8. razred

Authored by Iva Hudinec

Computers

8th Grade

Used 6+ times

Algoritmi sortiranja - 8. razred
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Odaberi točan odgovor.

Sortiranje je organizacija podataka prema nekom

redoslijedu.

kriteriju.

sortiranju.

razvrstavanju.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Mjehuričasto sortiranje je način sortiranja kojim se najveći element gura na

kraj liste.

početak liste.

sredinu liste.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Funkcija sorted( ) ispisuje sortiranu listu, ali je ne mijenja.

TOČNO

NETOČNO

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Metoda sort ( ) sortira zadanu listu i mijenja je.

TOČNO

NETOČNO

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Definirana je lista brojeva a = [13, 4, 7, 15, 9, 6, 3, 11, 8].
Kako bi izgledala sortirana lista uzlaznim redoslijedom?

3, 7, 13, 9, 6, 3, 11, 8

3, 4, 6, 7, 8, 9, 11, 13, 15

15, 13, 11, 9, 8, 7, 6, 4, 3

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Definirana je lista brojeva a = [13, 4, 7, 15, 9, 6, 3, 11, 8].

Odaberi kako bi izgledala sortirana lista silaznim redoslijedom.

3, 4, 6, 7, 8, 9, 11, 13, 15

6, 7, 9, 11, 3, 4, 6, 13, 15

15, 13, 11, 9, 8, 7, 6, 4, 3

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Napisana je funkcija koja će dva unesena broja sortirati silaznim redoslijedom.

Dopuni računalno rješenje tako da odabereš odgovor.

def slozi (a,b)

if a > b:

a,b = __________

print (a,b)

a = b

b, a

a, b

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?