Python_Quiz_1

Python_Quiz_1

University

10 Qs

quiz-placeholder

Similar activities

QUIZ-group5

QUIZ-group5

University

10 Qs

tic geral 1

tic geral 1

9th Grade - University

15 Qs

Quiz sobre P5.js e JavaScript

Quiz sobre P5.js e JavaScript

1st Grade - University

8 Qs

UL_FPS_S2

UL_FPS_S2

University

15 Qs

Komponen Komputer

Komponen Komputer

1st Grade - University

10 Qs

SOAL MID SEMESTER INFORMATIKA

SOAL MID SEMESTER INFORMATIKA

6th Grade - University

10 Qs

Automation And AI Agents Quiz

Automation And AI Agents Quiz

University

15 Qs

MongoDB Concepts 2

MongoDB Concepts 2

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

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?