Search Header Logo

Liste i sortiranja

Authored by Tihomir Robotić

Computers

9th - 10th Grade

Used 2+ times

Liste i sortiranja
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 • 5 pts

Zadana je lista l = [5,7,2,9,1,4,3,6]

Koja naredba će ispisati šesti element liste?

print(l[4])

print(l[5])

print(l[6])

print(l(6))

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Koja naredba će ispravno razvrstati listu l?

sort(l)

l.sort()

sort[l]

l.sort[]

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Zadana je lista l = [1,2,3,4,5,6,7,8]

Što će ispisati naredba

for i in range(5,len(l)):

print(l[i])

5 6

6 7

5 6 7

6 7 8

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

Koji algoritam razvrstavanja je prikazan na slici?

Razvrstavanje zamjenom (Selection sort)

Razvrstavanje metodom mjehurića (Bubble sort)

Brzo razvrstavanje (Quick sort)

Razvrstavanje umetanjem (Insertion sort)

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

Koji algoritam razvrstavanja je prikazan na slici?

Razvrstavanje zamjenom (Selection sort)

Razvrstavanje metodom mjehurića (Bubble sort)

Brzo razvrstavanje (Quick sort)

Razvrstavanje umetanjem (Insertion sort)

6.

FILL IN THE BLANK QUESTION

1 min • 5 pts

Media Image

Koja naredba nedostaje kako bi se ispisala cijela dvodimenzionalna lista?

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?