Python If Statements Quiz

Python If Statements Quiz

6th Grade

9 Qs

quiz-placeholder

Similar activities

Tin học cơ sở

Tin học cơ sở

1st Grade - University

10 Qs

ม.2 แบบทดสอบก่อนเรียน หน่วย 2

ม.2 แบบทดสอบก่อนเรียน หน่วย 2

6th - 8th Grade

10 Qs

Word Processing Review B

Word Processing Review B

5th - 8th Grade

11 Qs

SMS CS Q1 post-test

SMS CS Q1 post-test

6th - 8th Grade

12 Qs

Bezpieczny Internet

Bezpieczny Internet

6th Grade

10 Qs

Keyboard Shortcuts

Keyboard Shortcuts

4th - 8th Grade

14 Qs

if...else statements

if...else statements

6th - 8th Grade

8 Qs

Grade 6 : Test your QB quotient

Grade 6 : Test your QB quotient

6th - 7th Grade

10 Qs

Python If Statements Quiz

Python If Statements Quiz

Assessment

Quiz

Computers

6th Grade

Practice Problem

Easy

Created by

Anton Lovrić

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

9 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Kako se zove način izvođenja programa gdje je moguće više različitih koraka nakon provjeravanja uvjeta?

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kako izgleda ispravna izjava grananja u Pythonu?

if uvjet:

if (uvjet) {

if (uvjet) do:

if (uvjet) then {

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Koji relacijski operator koristimo za provjeravanje ako su dvije vrijednosti jednake?

>

<=

!=

==

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Što će ispisati ovaj programski kod?

x = 5

if x > 10:

print('Broj je veći od 10')

else:

print('Broj je manji od 10')

Manji od ili jednak 10

Jednak 10

Neispravan unos

Veći od 10

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Što će ispisati ovaj programski kod?

x = 3

if x > 5:

print('Veći od 5')

if x > 2:

print('Veći od 2')

else:

print('Manji ili jednak 2')

Greater than 5

Less than or equal to 5

Equal to 2

Greater than 2

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Koje su ključne riječi prilikom grananja u Pythonu?

else

then

elseif

if

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Što je rezultat ovog programskog koda?

a = 7

b = a % 2

print(b)

0

3

1

4

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?