Search Header Logo

Round 2

Authored by San Saravanan

Computers

University

Used 7+ times

Round 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are the two main types of functions in Python?


User defined function & System function

System function & Custom function

Built-in function & User defined function


Built-in function & User function

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the maximum possible length of an identifier in Python?


79 characters

31 characters

63 characters

none of the mentioned

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

To add a new element to a list we use which Python command?


list1.append(5) 

list1.addLast(5)

list1.add(5)

list1.addEnd(5)

4.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Media Image

What will be the output of the following Python code?

a

B

C  

D

 a b c d


error

A

B

C  

D

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

. What will be the output of the following Python code snippet?

z=set('abc$de')

'a' in z


Error

True

False

No output 

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What will be the output of the following Python code?

l=[1, 0, 2, 0, 'hello', '', []]

list(filter(bool, l))


[1, 0, 2, ‘hello’, ”, []]

Error

[1, 2, ‘hello’]

[1, 0, 2, 0, ‘hello’, ”, []

7.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

What will be the value of the following Python expression?

4 + 3 % 5

7

2

4

1

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?

Discover more resources for Computers