Search Header Logo

Python - složene strukture podataka

Authored by NASTAVNIK INF

Computers

9th - 12th Grade

Used 1+ times

Python - složene strukture podataka
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kojom metodom možemo saznati duljinu niza?

replace()

str()

len()

2.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

Koje će se slovo ispisati nakon naredbi:

s='Gitara'

print(s[2])

(a)  

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Što će se ispisati nakon naredbi?

s='Priroda i društvo'

print(s[2:4])

iro

rir

ri

ir

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pretvara sva slova u velika slova.

upper()

replace()

lower()

len()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Zamjenjuje dio znakova u nizu drugim znakovima.

upper()

replace()

lower()

len()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pretvara sva slova u mala slova.

upper()

replace()

lower()

len()

7.

FILL IN THE BLANKS QUESTION

1 min • 1 pt

Što će ispisati sljedeći program?

s='anakonda'

print(s.index('ako'))

(a)  

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?