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

Python Programming Practical Test Guide

The document outlines a Python programming practical test with a total duration of 3 hours and a maximum score of 50 marks. It includes two sections: Section A focuses on basic Python tasks such as list manipulation and calculations, while Section B covers data structures and algorithms, including search and sort operations. Additionally, there is a bonus question for merging two lists.
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)
2 views2 pages

Python Programming Practical Test Guide

The document outlines a Python programming practical test with a total duration of 3 hours and a maximum score of 50 marks. It includes two sections: Section A focuses on basic Python tasks such as list manipulation and calculations, while Section B covers data structures and algorithms, including search and sort operations. Additionally, there is a bonus question for merging two lists.
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

PYTHON PROGRAMMING PRACTICAL TEST

Subject: Python Programming


Time: 3 Hours
Maximum Marks: 50

Instructions:
1. Attempt all questions.
2. Write clear and properly indented Python programs.
3. Use meaningful variable names.
4. Output must match the problem statement.
5. Marks will be awarded for logic, correctness, and readability.

Section A: Basics of Python (20 Marks)

Q1. Write a Python program to accept n numbers from the user and store them in a list.
Display the list. (5 Marks)

Q2. Write a Python program to find the sum, average, maximum and minimum of elements
in a list. (5 Marks)

Q3. Write a Python program to reverse a list without using built-in reverse functions. (5
Marks)

Q4. Write a Python program to count the number of even and odd elements in a list. (5
Marks)

Section B: Python using DSA Concepts (30 Marks)

Q5. Write a Python program to perform Linear Search and Binary Search on a list. (8 Marks)

Q6. Write a Python program to sort a list using Bubble Sort or Selection Sort. (7 Marks)

Q7. Write a Python program to insert and delete an element at a given position in a list. (7
Marks)

Q8. Write a Python program to find the second largest element in a list without sorting it. (4
Marks)

Q9. Write the time complexity for the following operations:


1. Accessing an element in a list
2. Linear Search
3. Binary Search
4. Insertion at the beginning of a list (4 Marks)

Bonus Question:
Write a Python program to merge two lists. (+5 Marks)

You might also like