Search Header Logo

Python Review

Authored by PADMAVATHY V

Computers

12th Grade

Used 3+ times

Python Review
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

73 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Viaan is learning Python programming and he writes a simple code to print a message. What will the output be from the following code?
print("Hello world!")

SyntaxError

Hello world!

"Hello world!"

print(Hello world!)

2.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Kabir is trying to calculate the total number of apples he has. He knows he has 3 apples and his friend Anika gives him 4 more. What will the output be from the following code?
print(3+4)

3+4

7

SyntaxError

print(3+4)

3.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Aanya is learning Python programming and she writes the following code in her editor:
print("Hello world!") What will be the output when she runs this code?

SyntaxError

Hello world!

"Hello world!"

print(Hello world!)

4.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Aarav is trying to calculate the total number of apples he has. He knows he has 3 apples and his friend gave him 4 more. What will the output be from the following code?
print(3+4)

3+4

7

SyntaxError

print(3+4)

5.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Avyaan is trying to print the result of a math problem in his Python program. He writes the following code:
print("3+4")

7

3+4

34

SyntaxError

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Tisha is planning a special event on "13th December". Which is the most appropriate data type for this date?

Float

Boolean

Integer

String

7.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

A data type that Aarush uses in his programming class, consisting of numbers, letters and symbols.

String

Integer

Float

Boolean

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?