Search Header Logo

Python basics

Authored by Adam Łukasiuk

Computers

6th - 10th Grade

Used 48+ times

Python basics
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

45 sec • 1 pt

Jak wygląda poprawna składnia sprawdzająca czy wartość A jest różna od B:

A /= B

A =/= B

A != B

A =!= B

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Poprawne przypisanie wartości 5 do zmiennej F to:

F == 5

F = 5

def F 5

F eq 5

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Możliwe wyniki działania testów logicznych to:

true / false

0 / 1 / 2

Boolean

Equal / Not Equal

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Poprawne przypisanie tekstu 'Korea' do zmiennej "kraj" to:

'kraj' = Korea

kraj = Korea

'kraj' = 'Korea'

kraj = 'Korea'

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Aby znaleźć trzeci znak w zmiennej 'napis', zapisujemy:

napis[3]

napis[-3]

napis[2]

napis[-2]

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

polecenie 'print(len('mama'))' zwróci wartość:

3

4

False

True

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

brakujący wyraz w składni polecenia for i ___ range(10) to:

at

in

out

on

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?