Python MCQs: Sequence Data Types chapter 5

Python MCQs: Sequence Data Types chapter 5

12th Grade

103 Qs

quiz-placeholder

Similar activities

M3 R5 Chapter 8

M3 R5 Chapter 8

12th Grade - University

100 Qs

M4 R5 chapter 3  part 2 100mcq

M4 R5 chapter 3 part 2 100mcq

12th Grade

107 Qs

Python MCQs: Sequence Data Types chapter 5

Python MCQs: Sequence Data Types chapter 5

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Alexa Institute

Used 3+ times

FREE Resource

103 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are sequence data types in Python?

They are used to store multiple items in a single variable.

Examples include lists, tuples, and strings.

Sequence types support indexing and slicing.

All of the above.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

निम्नलिखित में से कौन सा Python का Sequence Data Type नहीं है?

List

Tuple

Dictionary

String

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How is a list created in Python?

By using:

Curly braces

Square brackets

Parentheses

Quotes

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

सूची में तत्व कैसे जोड़ सकते हैं?

append()

insert()

extend()

सभी

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the code list1 = [10, 20, 30]; print(list1[1])?

10

20

30

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

यदि हम सूची के तत्व list1[5] को एक्सेस करते हैं, और सूची में केवल 4 तत्व हैं, तो क्या होगा?

IndexError

0

Null

कोई त्रुटि नहीं होगी

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method adds an element at the end of a list?

append()

extend()

insert()

add()

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?

Similar Resources on Wayground

Discover more resources for Computers