Round 2

Round 2

University

25 Qs

quiz-placeholder

Similar activities

Python Quiz - BPLCK105B

Python Quiz - BPLCK105B

University

20 Qs

Day 6 - ONLINE TEST - PL03 PYTHON PROGRAMMING

Day 6 - ONLINE TEST - PL03 PYTHON PROGRAMMING

University

20 Qs

Introduction to Python

Introduction to Python

KG - University

25 Qs

[Python For All] Quiz 2 - Rewind.py

[Python For All] Quiz 2 - Rewind.py

University

20 Qs

Grade 7 Python Programming Quiz

Grade 7 Python Programming Quiz

7th Grade - University

20 Qs

Python 101

Python 101

University

20 Qs

Ch.8 - Introducing Python

Ch.8 - Introducing Python

6th Grade - Professional Development

20 Qs

UNIT1-PYTHON

UNIT1-PYTHON

University

20 Qs

Round 2

Round 2

Assessment

Quiz

Computers

University

Hard

Created by

San Saravanan

Used 7+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?