Search Header Logo

Python and Excel Objective Questions

Authored by Sathish Krishnaa

Information Technology (IT)

Professional Development

Used 1+ times

Python and Excel Objective Questions
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

101 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

What is the output of print(2 ** 3)?

6

8

9

5

2.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

Which of the following is a valid variable name in Python?

2var

_value

my-variable

class

3.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

What data type is the result of 3 / 2 in Python 3?

int

float

str

bool

4.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

Which function is used to get the length of a list?

length()

count()

len()

size()

5.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

What does // operator do?

Modulus

Power

Floor division

None

6.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

Which of the following is immutable?

List

Dictionary

Set

Tuple

7.

MULTIPLE CHOICE QUESTION

20 sec • 10 pts

What is the output of 'a' + 'b' * 2?

'abb'

'abab'

'a2b'

Error

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?