Search Header Logo

Python Basics

Authored by Mr. varghese

Computers

12th Grade - University

Used 170+ times

Python Basics
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

0

2

4 % 2

2.0

Error

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

The result is 16

The result is 8

The result is 4 ** 2

The result is 4**2

Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

2

0

1

4 / 2

Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Choose the appropriate code snippet which gives the output as False.

Media Image
Media Image
Media Image
Media Image

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

2

0

1

3

4

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Choose the appropriate option to print the following output.

Life is not a problem to be solved, but a reality to be experienced

Media Image
Media Image
Media Image
Media Image

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Predict output for the following code snippet.

print('No pain, no gain'.split('a'))

['No pain', ' no gain']

['No p', 'in, no g', 'in']

['No', 'pain,', 'no', 'gain']

['No pai', ', ', 'o gai', '']

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?