0% found this document useful (0 votes)
3 views2 pages

Python Unit 4 QB

The document outlines a series of questions related to Python programming, specifically focusing on lists, tuples, and dictionaries. It covers topics such as list creation, operations, slicing, sorting algorithms, and how to manipulate tuples and dictionaries. Each question is categorized by its Bloom's Level and Course Outcome, indicating the depth of understanding required.

Uploaded by

arpanchhetri008
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views2 pages

Python Unit 4 QB

The document outlines a series of questions related to Python programming, specifically focusing on lists, tuples, and dictionaries. It covers topics such as list creation, operations, slicing, sorting algorithms, and how to manipulate tuples and dictionaries. Each question is categorized by its Bloom's Level and Course Outcome, indicating the depth of understanding required.

Uploaded by

arpanchhetri008
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Python

Unit 4
S. Questions BL CO
PI
No 6 Marks CODE
1 How can you create List and how will you access a list? L1 CO4 1.1.1

2 Explain the types of list with suitable examples. L2 CO4 1.2.1

3 Write any two basic operations of list with suitable snippets. L1 CO4 1.1.1
Give a brief note on any 5 basic functions of list with
4 L2 CO4 1.2.1
examples.

5 What is list slicing? Explain. L1 CO4 1.1.1

6 How list cloning is performed? L3 CO4 1.3.1

7 How list parameters are accessed? L3 CO4 1.3.1

8 Write the difference between sort() and sorted() function. L3 CO4 1.3.1
Define tuple and write a statement to create a tuple ‘T1’ CO4
9 L4 1.4.1
containing first five even numbers.

10 What are different ways of creating a tuple? L2 CO4 1.2.1

11 How are individual elements of tuples accessed? L2,3 C04 1.2.1

12 L2,3 CO4 1.2.1


Why are dictionaries called mutable types?
What do you understand by ordered collection and unordered
13 collection ? Give examples. L3 CO4 1.3.1

Explain insertion sort CO4


14 L2 1.2.1

Explain selection sort CO4


15 L2 1.2.1

Explain merge sort CO4


16 L2 1.2.1

How will you plot histogram in python? CO4


17 L2 1.2.1

S. Questions BL CO
PI
No 6 Marks CODE
S. Questions BL CO
PI
No 12 Marks CODE
Explain the list Slice notations in python with suitable
1 examples. L1 CO4 1.1.1

2 Write a snippet to concatenate two lists index wise. L2 CO4 1.2.1

3 Write any four basic operations of list with suitable snippets. L1 CO4 1.1.1
Give a brief note on any 10 basic functions of list with
4 L2 CO4 1.2.1
examples.
What is nested list? Explain with a sample source code to
5 L4 CO4 1.4.1
extend nested list by adding the sublist..
Compare and contrast append() and extend() functions. How to
6 L3 CO4 1.3.1
clone or copy a list in python?
Explain briefly list comprehension and write a snippet to
7 L3 CO4 1.3.1
remove all odd numbers from the given list of numbers.
8 How to Count Occurrences of a List Item in Python. L3 CO4 1.3.1
Write a program to accept five numbers from the user and CO4
9 L4 1.4.1
store it in a tuple.

10 How is a tuple as return value in python? L2 CO4 1.2.1

11 How do you add key value pairs to an existing dictionary? L2,3 C04 1.2.1

12 How is indexing of a dictionary different from that of a list or a L2,3 CO4 1.2.1
string? Explain in detail.
Briefly discuss the dictionary functions in detail. CO4
13 L3 1.3.1

Explain insertion sort with an example. CO4


14 L2 1.2.1

Explain selection sort with an example. CO4


15 L2 1.2.1

Explain merge sort with an example. CO4


16 L2 1.2.1

How will you plot histogram in python? Explain indetail CO4


17 L2 1.2.1

You might also like