Python and Excel Objective Questions

Python and Excel Objective Questions

Assessment

Quiz

Information Technology (IT)

Professional Development

Practice Problem

Medium

Created by

Sathish Krishnaa

Used 1+ times

FREE Resource

Student preview

quiz-placeholder

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

Create a free account and access millions of resources

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?