Python pętle while/for

Python pętle while/for

9th Grade

14 Qs

quiz-placeholder

Similar activities

PYTHON UNIT I MCQS

PYTHON UNIT I MCQS

University

15 Qs

Menulis Gambar

Menulis Gambar

1st Grade - Professional Development

15 Qs

สร้าง AI ด้วย designer.microsoft   ฺBy k.juthamas

สร้าง AI ด้วย designer.microsoft ฺBy k.juthamas

10th Grade

10 Qs

Tin 10 - Bái 21 - 22 - 23

Tin 10 - Bái 21 - 22 - 23

10th Grade

16 Qs

UNIT-1 PYTHON BASICS

UNIT-1 PYTHON BASICS

University

10 Qs

Introduction to Computer

Introduction to Computer

11th Grade

10 Qs

Lesson 5 Looping Quiz

Lesson 5 Looping Quiz

10th - 12th Grade

15 Qs

UTS Aplikasi Komputer 4C

UTS Aplikasi Komputer 4C

University

10 Qs

Python pętle while/for

Python pętle while/for

Assessment

Quiz

Computers

9th Grade

Practice Problem

Medium

Created by

KP KP

Used 23+ times

FREE Resource

AI

Enhance your content in a minute

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

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Co zostanie wypisane po wykonaniu poniższego kodu? for i in range(5): print(i)

0 1 2 3 4

1 2 3 4

1 2 3 4 5

0 1 2 3

2.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Jakie wartości będzie przyjmować zmienna i w poniższym kodzie? for i in range(1, 3): print(i)

1 2

1 2 3

2 3

1 3

3.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Co zostanie wypisane po wykonaniu poniższego kodu? for i in range(1, 6, 2): print(i)

1 3 5

1 2 3 4 5

1 2 3 4

1 3

4.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Jakie wartości będą wypisane po wykonaniu poniższego kodu? i = 1 while i <= 100: print(i) i *= 2

1 2 4 8 16 32 64

1 2 4 8 16 32 64 128

1 2 4 8 16 32 64 128 256 512

1 2 4 8 16 32 64 128 256

5.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Co oznacza iteracja w kontekście programowania?

Zakończenie programu

Wywołanie funkcji

Zmiana wartości zmiennej

Powtarzanie tej samej operacji w pętli

6.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Jakie wartości będą wypisane po wykonaniu poniższego kodu? i = 3 while i <= 10: print(i) i += 3

3 6 9 12 15 18

3 6 9 12

3 6 9 12 15

3 6 9

7.

MULTIPLE CHOICE QUESTION

10 mins • 1 pt

Co zostanie wypisane po wykonaniu poniższego kodu? should_print = True while should_print: print("Będzie wypisane tylko raz") should_print = False

Będzie wypisane tylko raz

Będzie wypisane tylko raz Będzie wypisane tylko raz

Nic się nie wypisze

Będzie wypisane tylko raz Będzie wypisane tylko raz Będzie wypisane tylko raz

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?