Python ismeretek

Python ismeretek

10th Grade

20 Qs

quiz-placeholder

Similar activities

Spreadsheet

Spreadsheet

8th Grade - University

20 Qs

Key Applications 3

Key Applications 3

9th - 12th Grade

20 Qs

ArchiMate 3.1 Core Test 1

ArchiMate 3.1 Core Test 1

10th Grade

19 Qs

MS Word/Excel

MS Word/Excel

9th - 12th Grade

25 Qs

Microsoft Excel

Microsoft Excel

KG - Professional Development

20 Qs

Informatika_5_6

Informatika_5_6

8th - 12th Grade

15 Qs

Excel 1-11 Review Quiz

Excel 1-11 Review Quiz

9th - 12th Grade

20 Qs

Iteracja i rekurencja

Iteracja i rekurencja

9th - 12th Grade

19 Qs

Python ismeretek

Python ismeretek

Assessment

Quiz

Computers

10th Grade

Practice Problem

Medium

Created by

Kiss Andrea

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

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

Media Image

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

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?