Search Header Logo

Python-Loops-Iterables

Authored by Omprakash Sai

Professional Development

12th Grade - University

Used 9+ times

Python-Loops-Iterables
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

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>

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?