Python_Quiz_1

Python_Quiz_1

University

10 Qs

quiz-placeholder

Similar activities

Quiz on Basics of C

Quiz on Basics of C

University

10 Qs

IMSD_Week-3_CSE-1

IMSD_Week-3_CSE-1

University

10 Qs

Design-Interface and Dialogue

Design-Interface and Dialogue

University

15 Qs

Quizzi bài 29 Tin học 10

Quizzi bài 29 Tin học 10

10th Grade - University

10 Qs

Kiểm tra nhanh lớp 10

Kiểm tra nhanh lớp 10

10th Grade - University

10 Qs

Pengenalan Kecerdasan Buatan

Pengenalan Kecerdasan Buatan

11th Grade - University

15 Qs

Quiz Software

Quiz Software

8th Grade - University

15 Qs

Quiz Meet 3 Mini SC Programing

Quiz Meet 3 Mini SC Programing

University

10 Qs

Python_Quiz_1

Python_Quiz_1

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Hard

Created by

Dinesh Kushwaha

Used 22+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will be the output of the following Python code?

[‘ab’, ‘cd’]

[‘AB’, ‘CD’]

[None, None]

none of the mentioned

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will be the output of the following Python code?

1 2

1 2 3

error

none of the mentioned

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output of the following Python code?

a b c d e f

abcdef

i i i i i i …

error

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will be the output of the following Python code?

no output

i i i i i i …

a a a a a a …

a b c d e f

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output of the following Python code?

0 1 2 3 4 Here

0 1 2 3 4 5 Here

0 1 2 3 4

1 2 3 4 5

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What will be the output of the following Python code?

0 1 2

error

0 1 2 0 1 2

none of the mentioned

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Suppose list1 is [4, 2, 2, 4, 5, 2, 1, 0], Which of the following is correct syntax for slicing operation?

print(list1[2:])

print(list1[:2])

print(list1[:-2])

all of the mentioned

Create a free account and access millions of resources

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?