Search Header Logo

Python [Basic]

Authored by RUZANNA PKT

Fun, Computers, Education

KG

Used 69+ times

Python [Basic]
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 • 1 pt

Which statement correctly assigns the string "Melon" to the variable fruit?

fruit = print("Melon")

fruit = "Melon"

input ("Melon")

fruit = input ("Melon")

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol used for modulus in arithmetic operation?

&

/

%

**

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type that can have one of two values: True or False ?

string

tuple

boolean

interpreter

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

10**2

10//2

10*2

10**10

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

x = 5

y = 7

print (x*y)

35

12

x*y

Syntax Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Operators used in python:

divide, multiply, add, subtract

\,x,+,-

div,mul,+,-

~,*,+,-

/,*,+,-

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Do python case sensitive when dealing with identifiers?

no

yes

none

machine dependent

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?