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
EVALUACIÓN DE CAD Y AUTOCAD

Quiz
•
10th - 11th Grade
17 questions
Adatbáziskezelés

Quiz
•
9th - 12th Grade
20 questions
Biztonságos internet

Quiz
•
5th - 12th Grade
25 questions
Python alap

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

Quiz
•
5th - 12th Grade
20 questions
Excel függvények

Quiz
•
9th - 10th Grade
15 questions
Számítógépes hálózatok

Quiz
•
9th - 12th Grade
15 questions
Szépészeti ábrázolás

Quiz
•
9th - 10th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
20 questions
Distance, Midpoint, and Slope

Quiz
•
10th Grade
20 questions
Figurative Language Review

Quiz
•
10th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade