kartkówka - petle for i while w języku Python

kartkówka - petle for i while w języku Python

12th Grade

15 Qs

quiz-placeholder

Similar activities

ULANGAN HARIAN KELAS TIK 9

ULANGAN HARIAN KELAS TIK 9

12th Grade

20 Qs

Đề ôn tập cuối HKI lớp 5

Đề ôn tập cuối HKI lớp 5

6th Grade - University

17 Qs

Python

Python

7th - 12th Grade

15 Qs

TEST1.PY

TEST1.PY

10th Grade - University

20 Qs

Mengenal Jendela dan Ikon Microsoft Excel

Mengenal Jendela dan Ikon Microsoft Excel

7th Grade - University

15 Qs

AWS Cloud

AWS Cloud

11th - 12th Grade

14 Qs

Pemrograman Dasar 3

Pemrograman Dasar 3

9th - 12th Grade

20 Qs

kartkówka - petle for i while w języku Python

kartkówka - petle for i while w języku Python

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Dawid Pindel

Used 12+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Jaki będzie wynik wyżej napisanego kodu?

Wypisze 10 razy słowo sprawdzian

Wypisze liczbę 10 i słowo sprawdzian

Wypisze liczbę 10 i słowo sprawdzian

Wypisze jeden raz słowo sprawdzian

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Powtarzanie, aż określony warunek stanie się prawdziwym użyciem

Zastosujesz pętle for

Zastosujesz pętle while

Zastosujesz instrukcje if

Zastosujesz instrukcje elif

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Znak, który musi znajdować się na końcu linii w przypadku if, while, for itp.

:

;

.

,

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image


Jaki będzie wynik tego programu?

1
2
11

1
2
21

1
2
3
11

1
2
3
21

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ile razy następujący program wypisze słowo „komputer”:

slowo= "komputer"  
for i in range(1,6):  
    print(slowo)

5
1

7

0

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Co zostanie wypisane w wyniku działania poniżej pętli?

licznik = 0

while licznik < 5:

print (licznik)

licznik = licznik + 1

0,1,2,3,4

0,1,2,3,4,5

1,2,3,4

1,2,3,4,5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jakiego kodu użyjesz aby wypisać ciąg liczb: 6, 12, 18, 24, 30 ?

for x in range(6, 30, 6):

print(x)

while x (6, 35, 6):

print(x)

for x in range(6,35,6):

print(x)

while x (6, 30, 6):

print(x)

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers