Python_Quiz_1

Python_Quiz_1

University

10 Qs

quiz-placeholder

Similar activities

PAW.09 - DOM Javascript

PAW.09 - DOM Javascript

University

10 Qs

Pre-test Capcut (yippie)

Pre-test Capcut (yippie)

University

10 Qs

Tin 9 Bài 8. Hàm SUMIF

Tin 9 Bài 8. Hàm SUMIF

9th Grade - University

10 Qs

7 клас тест 2 15 балів

7 клас тест 2 15 балів

7th Grade - University

15 Qs

Web Application - PHP Repetition

Web Application - PHP Repetition

University

15 Qs

Aula07 - Matrizes

Aula07 - Matrizes

University

12 Qs

 BAB 4 | 4.1 KOD ARAHAN | SUBTOPIK 4.1.2

BAB 4 | 4.1 KOD ARAHAN | SUBTOPIK 4.1.2

2nd Grade - University

15 Qs

ԹԳՀԳ

ԹԳՀԳ

7th Grade - University

11 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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?