Search Header Logo

ATP-lab viva

Authored by Keerthi Krishnan

Other

University

Used 14+ times

ATP-lab viva
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

45 sec • 1 pt

In python, which keyword is used to start function?

function

def

try

import

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the output of

“hello”+1+2+3

hello

hello6

hello123

Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Let List1=[2,4,6,8,10], then print(List1[-2]) will result in

10

8

6

4

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What will be the result of the following Python code?

S=[x**2 for x in range(5)]

print(S)

[1,4,9,16,25]

[0,1,4,9,16]

[0,1,2,4,5]

[0,1,4,9,16,25]

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following code : print 9//2

4.5

4

4.0

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a mutable data type in Python?

Dictionary

List

String

Tuple

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which can be an Identifier among them in Python?

1abc

@python

$12a

_xy1

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?