Funkcije i metode za rad sa znakovnim nizovima

Quiz
•
Computers
•
6th - 8th Grade
•
Hard
Magdalena J
Used 2K+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
str(6)+str(7)
'67'
13
šezdeset i sedam
nema rješenja
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ako je s = 'programiranje', koliko je len(s)?
12
13
11
14
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ako želimo unijeti znakovnu vrijednost putem tipkovnice, koristimo naredbu...
int(input())
int()
input()
ne postoji takva naredba
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kako se zove metoda koja kao rezultat vraća kopiju znakovnog niza (A) prikazanog malim tiskanim slovima?
len(A)
index(A)
upper(A)
lower(A)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kako se zove funkcija koja kao rezultat vraća poziciju prvog pojavljivanja slova "m" unutar zadanog niza M?
index(m)
upper(m)
lower(m)
len(m)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kako se poziva metoda u Pythonu ako je niz M = 'cvijet', a metoda koju želimo pozvati upper?
M.lower()
M.upper
M.upper()
upper.M()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ako je M = 'padobran', što će se ispisati na zaslonu računala nakon izvođenja prikazanog dijela programa?
0
1
2
3
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Ako je s = 'Mi volimo programiranje.', što će se ispisati nakon izvođenja prikazanog dijela programa?
0
4
3
2
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Što treba promijeniti da bi prikazani program računao koliko neka rečenica ima riječi?
ništa
br = 3
print(br+1)
br = br+2
Similar Resources on Wayground
10 questions
Scratch Quiz

Quiz
•
4th - 6th Grade
12 questions
WEBSITE AUTHORING CHECKPOINT

Quiz
•
8th - 9th Grade
10 questions
J277 Network Threats

Quiz
•
7th - 11th Grade
10 questions
list

Quiz
•
6th Grade
9 questions
Windows 10 review (standard)

Quiz
•
KG - University
10 questions
Uređivanje fotografije

Quiz
•
6th Grade
12 questions
Algoritmi i programiranje - 5. razred

Quiz
•
5th - 6th Grade
8 questions
Informatika 8. razred Logičke izjave

Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
8 questions
Time Management

Quiz
•
6th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade