Search Header Logo

9.o - Python teszt 3

Authored by Móni Bartosné

Computers

9th Grade

Used 26+ times

9.o - Python teszt 3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Melyik parancsot kell kiadni a véletlenszám használat betöltéséhez?

insert random

input random

import randint

import random

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Melyik paranccsal tudunk véletlenszámot generálni?

import random()

random.random()

random.randint()

random input

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Melyik kulcsszót kell írni a "különben, ha" utasításhoz?

else

else if

elif

if

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Melyik operátor NEM szerepelhet a feltételek között?

<=

!=

=

==

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Melyik sor hibás a feltételmegadásnál?

if szam == 0:

elif szam > 0:

else szam < 0:

Mindhárom jó.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Melyik két szám felel meg a következő feltételnek?

a> 0 and b <20

a=15 , b=22

a=8 , b=20

a=20 , b=15

a=0 , b=19

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Melyik számra igaz a következő feltétel?

a % 3 == 0

a=3

a=12

Mindkettőre

Egyikre sem

Access all questions and much more by creating a free account

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?

Discover more resources for Computers