Python - Branching and Looping - 1

Python - Branching and Looping - 1

6th Grade - Professional Development

15 Qs

quiz-placeholder

Similar activities

CSS 10 - QUIZ

CSS 10 - QUIZ

10th Grade

20 Qs

Quiz on List and Tuples

Quiz on List and Tuples

University

16 Qs

CHỦ ĐỀ A. MÁY TÍNH VÀ XÃ HỘI TRÍ THỨC P1

CHỦ ĐỀ A. MÁY TÍNH VÀ XÃ HỘI TRÍ THỨC P1

10th Grade

20 Qs

Micro:bit assessment 1

Micro:bit assessment 1

7th - 8th Grade

10 Qs

G7_ICT_1.1_Digital Data

G7_ICT_1.1_Digital Data

7th Grade

10 Qs

Quiz - Pengenalan Sistem Operasi

Quiz - Pengenalan Sistem Operasi

12th Grade

15 Qs

conditional constructs in Java

conditional constructs in Java

10th Grade

10 Qs

Internet

Internet

7th - 10th Grade

10 Qs

Python - Branching and Looping - 1

Python - Branching and Looping - 1

Assessment

Quiz

Computers, Professional Development

6th Grade - Professional Development

Practice Problem

Medium

Created by

Lathika Valavan

Used 13+ 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 • 5 pts

How do we differentiate the body of the loop from the rest of the code?

Writing loop above.

Writing loop below the whole code.

Using proper indentation.

All are correct.

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

a, b = 12, 5

if a + b: print('True')

else: print('False')

True

False

3.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Media Image

Given the nested if-else structure below, what will be the value of x after code execution completes

2

0

3

4

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

Given the nested if-else below, what will be the value x when the code executed successfully

0

4

2

3

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

Mark the output:

cpp

learnpython

java

None

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What is the output?

Or learning python?

Or learning python 4 sona

Am I learning python?

Or learning python? Or learning python 4 sona

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What is the output?

You rock

Not interested

None

Error

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?