Python-Loops-Iterables

Python-Loops-Iterables

12th Grade - University

25 Qs

quiz-placeholder

Similar activities

Python 1.0

Python 1.0

10th Grade - University

20 Qs

Python Basics 1

Python Basics 1

University

20 Qs

Pengujian dan Pembayaran Tagihan

Pengujian dan Pembayaran Tagihan

University - Professional Development

20 Qs

Basic 3 Python

Basic 3 Python

12th Grade - Professional Development

21 Qs

Python Basics

Python Basics

12th Grade

25 Qs

python programming quiz

python programming quiz

12th Grade - University

26 Qs

python

python

University

20 Qs

Python

Python

University

30 Qs

Python-Loops-Iterables

Python-Loops-Iterables

Assessment

Quiz

Professional Development

12th Grade - University

Hard

Created by

Omprakash Sai

Used 9+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not an iterable?

List

Dict

String

int

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the Following is a mutable Data Type?

List

Tuple

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which Arithematic Operator Cannot be used for Strings

' + ' operator

' - ' operator

' * ' operator

All the above.

4.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

Media Image

What will be the Output of the Code

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following functions is a built-in function in python?

seed

print

sqrt

factorial

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python function?

sum(2,4,6)

sum([1,2,3])

Error

6

12

Error

12

6

Error

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you insert comments in python

#This is a comment

//This is a comment

/*This is a comment*/

<!This is a comment>

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?