Search Header Logo

Python_P_F

Computers

9th Grade

Used 15+ times

Python_P_F
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Jakie są różnice między funkcją print a funkcją return?

Funkcja print i funkcja return są synonimami i można ich używać zamiennie.

Funkcja print zwraca wartość z funkcji, a funkcja return wyświetla informacje na ekranie.

Funkcja print i funkcja return nie różnią się od siebie.

Funkcja print służy do wyświetlania informacji na ekranie, natomiast funkcja return zwraca wartość z funkcji i kończy jej działanie.

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Oprócz instrukcji FOR drugą instrukcją iteracyjną w Python jest:

IF

REPEAT

UNTIL

WHILE

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Co oznacza taki zapis w instrukcji warunkowej: a != 8?

czy a jest równe od 8

czy a jest różne od 8

czy a jest mniejsze od 8

czy a jest większe od 8

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Jaki operator służy do wyświetlania reszty z dzielenia?

%

//

#

?

5.

FILL IN THE BLANK QUESTION

1 min • 3 pts

Media Image

Wypisz wartości jakie przyjmuje zmienna iteracyjna "i" po wywołaniu tej pętli.

(a)  

6.

MULTIPLE CHOICE QUESTION

2 mins • 3 pts

Media Image

Co wypisze instrukcja?

1 2 3 4 5 6 7 8 9 10

0 1 2 3 4 5 6 7 8 9

0 1 2 3 4 5 6 7 8 9 10

0 1 2 3 4 5 6 7 8 9

koniec petli

7.

MULTIPLE CHOICE QUESTION

2 mins • 3 pts

Media Image

który ciąg liczb wypisze pętla?

12 8 4 0 -4 -8 -12

12 8 4 -4 -8 -13

12 8 4 -4 -8 -12

12 8 4 0 -4 -8

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?