Selection

Selection

KG - Professional Development

11 Qs

quiz-placeholder

Similar activities

Python Control Structures Vocab quiz

Python Control Structures Vocab quiz

9th - 12th Grade

14 Qs

Exception ✋

Exception ✋

8th Grade

12 Qs

Python beginner quiz

Python beginner quiz

9th Grade

13 Qs

Python Basics - Year 8

Python Basics - Year 8

7th - 9th Grade

14 Qs

Python (Selection)

Python (Selection)

8th - 10th Grade

13 Qs

Python Revision

Python Revision

7th - 9th Grade

14 Qs

🔦 Formative Assessment 2: Flow Controls

🔦 Formative Assessment 2: Flow Controls

12th Grade

10 Qs

CO - 2_ Quiz 1_Python Conditionals

CO - 2_ Quiz 1_Python Conditionals

10th Grade - University

15 Qs

Selection

Selection

Assessment

Quiz

KG - Professional Development

Hard

Created by

Tezel Asena

Used 446+ times

FREE Resource

AI

Enhance your content

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

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is selection?

Selecting a random variable in python

Also called a decision, one of the three basic logic structures in programming. If statements

Iteration, repeating a line of code within a loop

Casting

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What symbol must you place at the end of an if statement?

)

:

;

}

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an indentation in Python?

A line of code that returns a value

A subroutine

A block of code that creates a variable

A code block (body of a function, loop etc.) starts with indentation and ends with the first unintended line.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1==0

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5 >= 5

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will this code display?

a = 6

if a => 6:

print("pass")

else:

print("fail")

pass

fail

nothing because there will be an error

passfail

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an example of a logical operator

and

else

there

if

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?