Search Header Logo

Python Fundamentals

Authored by Mohammad Alfesani

Computers

12th Grade

Used 117+ times

Python Fundamentals
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is valid arithmetic operator in python?

//

?

<

and

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is invalid?

_a = 1

__a = 1

__str__ = 1

None of the mentioned

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is an invalid variable?

my_string_1

foo

1st_string

_

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Python is case senisitive-

Yes

No

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of

0.1 + 0.2 == 0.3

True

False

Machine Dependent

Error

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Python library to be imported for sin() function-

math

random

mysql

tkinter

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Python library to be imported for randint() function -

math

random

mysql

tkinter

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?