0% found this document useful (0 votes)
8 views

Advanced Python Programming_Assignment 1(CO1)

Assignment

Uploaded by

Hetal Vasava
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Advanced Python Programming_Assignment 1(CO1)

Assignment

Uploaded by

Hetal Vasava
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

DEPARTMENT OF INFORMATION TECHNOLOGY

GOVERNMENT POLYTECHNIC, HIMATNAGAR


Nr. Motipura circle, Gadhoda road, Himatnagar-383001(S.K.), Gujarat
Email: gphdit@gmail.com Website: http://it.gphimatnagar.in/

Subject/Subject Code Semester Issue Date Due Date

Advanced Python Programming (4321602) 1st 21/4/2023 28/4/2023

Assignment: 1 (CO1)
Title: Basic of python data structure - Dictionary, Tuple and Set
CO Cognitive
Level
1. Define the string and its methods. CO1 R
2. Explain the List and its methods with example. CO1 R
3. Demonstrate List Operations with example. CO1 U
4. Define Tuple and how is it created in Python? CO1 R
5. What is indexing and negative indexing in Tuple? CO1 R
6. Demonstrate Tuple Operations with example. CO1 U
7. Demonstrate Tuple Built-in functions and methods with example. CO1 U
8. Explain Nested Tuple with example. CO1 R
9. Differentiate between tuple and list. CO1 U
10. Define Set and how is it created in python? CO1 R
11. Explain accessing items in set. CO1 R
12. Demonstrate Set operations in python CO1 U
13. Write how to add, remove an element from a set. CO1 A
14. Explain what is dictionary and how it is created in Python? CO1 R
15. What is meant by key-value pairs in a dictionary? CO1 R
16. Explain Dictionary Built-in functions and methods. CO1 R
17. Write down the properties of dictionary CO1 R
18. Write a program to input names of n employees and store them in a tuple. CO1 A
Also, input a name from the user and find if this employee is present in the
tuple or not.
19. Create a dictionary with the roll number, name and marks of n students in a CO1 A
class and display the names of students who have scored marks above 75.

20. Write a program to input n numbers from the user and store these numbers in CO1 A
a tuple. Print the maximum and minimum number from this tuple.

Term Dates: 20/03/2023 to 01/07/2023

You might also like