Search Header Logo

UNIT1_PYTHON

Authored by Asst.Prof.,CSE Chennai

Other

University

Used 3+ times

UNIT1_PYTHON
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

Who developed Python Programming Language?

Wick van Rossum

Rasmus Lerdorf

Guido van Rossum

Niene Stom

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the value of the following Python expression?

4+3%5

7

2

4

1

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is not a keyword in Python language?

pass

eval

assert

nonlocal

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What arithmetic operators cannot be used with strings in Python?

*

-

+

All of the mentioned above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python code?

list1 = [1, 3]

list2 = list1

list1[0] = 4

print(list2)

[1, 4]

[1, 3, 4]

[4, 3]

[1, 3]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python program?

i = 0

while i < 5:

    print(i)

    i += 1

    if i == 3:

        break

else:

    print(0)

error

0 1 2 0

0 1 2

None of the mentioned above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a Python tuple?

{1, 2, 3}

{}

[1, 2, 3]

(1, 2, 3)

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?