Python_Quiz_1

Python_Quiz_1

University

10 Qs

quiz-placeholder

Similar activities

REMID PTS AK1

REMID PTS AK1

10th Grade - University

15 Qs

SOAL MID SEMESTER INFORMATIKA

SOAL MID SEMESTER INFORMATIKA

6th Grade - University

10 Qs

TRẢ LỜI ĐÚNG - TRÚNG QUÀ COOL

TRẢ LỜI ĐÚNG - TRÚNG QUÀ COOL

University

11 Qs

MongoDB Concepts 2

MongoDB Concepts 2

University

10 Qs

QUIZ-group5

QUIZ-group5

University

10 Qs

Software Engineering II - Confrotando mi saber Unidad 1

Software Engineering II - Confrotando mi saber Unidad 1

University

12 Qs

Matploblib en Python

Matploblib en Python

University

13 Qs

Quiz sobre P5.js e JavaScript

Quiz sobre P5.js e JavaScript

1st Grade - University

8 Qs

Python_Quiz_1

Python_Quiz_1

Assessment

Quiz

Information Technology (IT)

University

Hard

Created by

Dinesh Kushwaha

Used 22+ times

FREE Resource

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?