Katera izmed spodnjih funkcij vrne 'Sodo', če je stevilo sodo in 'Liho', če je liho?

P1 23/24 Vaje 5

Quiz
•
Computers
•
12th Grade
•
Medium
programiranje1 _2021
Used 3+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kako pravilno definiramo funkcijo z argumentoma niz in st, kjer je privzeta vrednost argumenta st 5?
def fun(niz, 5):
def fun(niz, st=5):
def fun(st=5, niz):
def fun(5=st, niz)
def fun(niz, st: 5):
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kakšna je vrednost izraza 10 == '10'?
None
True
False
Dobimo napako TypeError, saj vrednosti nista istega tipa.
4.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Kaj se izpiše, ko izvedemo stavke na levi?
5.
FILL IN THE BLANK QUESTION
1 min • 1 pt
Kaj se izpiše, ko izvedemo stavke na levi?
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Kaj se zgodi, ko poženemo program na sliki?
Izpiše se niz:
Pozdravljen, Svet!
Izpiše se niz:
Ups
Nič se ne izpiše
Zgodi se napaka ValueError, ker ne moremo izračunati korena negativnega števila.
Similar Resources on Quizizz
10 questions
CÙNG NHAU ÔN TẬP

Quiz
•
12th Grade
10 questions
Συναρτήσεις στην Python

Quiz
•
12th Grade
10 questions
Język Programowania Python

Quiz
•
1st - 12th Grade
8 questions
простой тест программирование

Quiz
•
1st Grade - University
10 questions
Python: Functions and Parameters

Quiz
•
9th - 12th Grade
10 questions
J277 - 2.2 - Functions in Python

Quiz
•
10th Grade - University
10 questions
Функции def

Quiz
•
9th - 12th Grade
10 questions
bài 28

Quiz
•
11th Grade - University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University