Python - Branching and Looping - 1

Python - Branching and Looping - 1

6th Grade - Professional Development

15 Qs

quiz-placeholder

Similar activities

Recap 2

Recap 2

Professional Development

14 Qs

Grade 8 Software Quiz

Grade 8 Software Quiz

8th Grade

20 Qs

Silver Label Course 301-302

Silver Label Course 301-302

Professional Development

15 Qs

Programação Front End - CSS avançado

Programação Front End - CSS avançado

11th Grade

10 Qs

MOS Transistor quiz 1

MOS Transistor quiz 1

Professional Development

20 Qs

PEMOGRAMAN DASAR X KJ 1

PEMOGRAMAN DASAR X KJ 1

10th Grade

10 Qs

7ICT - Algorithms Revision Quiz

7ICT - Algorithms Revision Quiz

7th Grade

15 Qs

Algo Quiz

Algo Quiz

University

16 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?