Milyen adattípust ad vissza az input() függvény?

Python ismeretek

Quiz
•
Computers
•
10th Grade
•
Medium
Kiss Andrea
Used 3+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int (integer - szám)
str (string - szöveg)
float (valós szám)
bool (logikai)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mi történik, ha int(input("Adj meg egy számot: ")) parancsot használunk, és a felhasználó "alma"-t ír be?
A program 0-t ad vissza.
A program szövegként tárolja.
Hibaüzenetet kapunk.
A program lefut, de nem történik semmi.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Melyik for ciklus írja ki a számokat 0-tól 4-ig?
for i in range(5):
for i in range(1,5):
for i in range(0,4):
for i in range(6):
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Melyik ciklus fut, amíg a szám kisebb, mint 10?
while szam > 10:
while szam < 10:
while szam == 10:
while szam != 10:
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Melyik elágazás ellenőrzi, hogy egy szám negatív, nulla vagy pozitív?
if, else
if, elif, else
while, if
for, if
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Mi lesz a következő kód kimenete?
Nagy
Kicsi
Hibát jelez.
Nem történik semmi.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Melyik match-case szerkezet ellenőrzi, hogy a valtozo értéke 1 vagy 2?
match valtozo:
case 1:
print("Egy")
case 2:
print("Kettő")
if valtozo == 1 or 2:
print("Egy vagy kettő")
switch valtozo:
case 1:
print("Egy")
match valtozo:
case "1":
print("Egy")
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Digit 10 - 1 - 01 - Excel ismétlés

Quiz
•
10th Grade
23 questions
Számítógépes alapismeretek tesztkérdések gyakorlása 2

Quiz
•
8th - 12th Grade
17 questions
Szoftverfejlesztőknek

Quiz
•
9th - 12th Grade
15 questions
ALAPVIZSGA2023

Quiz
•
9th - 12th Grade
15 questions
Informatika_5_6

Quiz
•
8th - 12th Grade
22 questions
TESZT_CSS

Quiz
•
9th - 12th Grade
20 questions
IT-bajnokok

Quiz
•
9th - 12th Grade
20 questions
Online alapismeretek tesztkérdések tanulása 2

Quiz
•
5th - 12th Grade
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
20 questions
Types of Credit

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

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