0% found this document useful (0 votes)
2 views1 page

Python Assignment 3

This document outlines Assignment-3 for the Python Programming course at Raj Kumar Goel Institute of Technology, detailing the course outcomes and maximum marks. It includes a list of questions that cover fundamental Python concepts such as functions, data structures, and file handling. The assignment is due on May 30, 2025, and requires students to demonstrate their understanding of various Python programming techniques.

Uploaded by

sedoy82871
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 views1 page

Python Assignment 3

This document outlines Assignment-3 for the Python Programming course at Raj Kumar Goel Institute of Technology, detailing the course outcomes and maximum marks. It includes a list of questions that cover fundamental Python concepts such as functions, data structures, and file handling. The assignment is due on May 30, 2025, and requires students to demonstrate their understanding of various Python programming techniques.

Uploaded by

sedoy82871
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/ 1

Raj Kumar Goel Institute of Technology

Ghaziabad
ISO 9001:2015 Certified
5th KM. STONE, DELHI-MEERUT ROAD, GHAZIABAD (U.P)-201003
Tel: (0120) 2788409, Fax: (0120) 2788447
Department of Computer Science & Engineering (AI
&ML) BCC-402 Python Programming (2024-
25)
Assignment-3

Maximum Marks: 20 Submission Date: 30/05/25


Blooms
Course Outcomes Knowledge
Level
CO1 Interpret the fundamental Python syntax and semantics and be fluent in the use K1, K2
of Python control flow statements.
CO2 Express proficiency in the handling of strings and functions. K1, K2
CO3 Determine the methods to create and manipulate Python programs by K3
utilizing the data structures like lists, dictionaries, tuples and sets.
CO4 Identify the commonly used operations involving file systems and regular K1, K2
expressions.
CO5 Articulate the Object-Oriented Programming concepts such as encapsulation, K2, K3
inheritance and polymorphism as used in Python.

ATTEMPT ALL QUESTIONS

1. What is the difference between a function and a method in Python?


2. Explain the concept of function arguments and parameters in Python.
3. What are the different ways to define and call a function in Python?
4. Create a Python function that accepts a string and returns the reverse of that string.
5. Implement a Python function that takes a list of integers and returns a new list containing the squares of
each number.
6. Write a Python program using lambda and map.
7. Write a Python program, which returns a list with 2-tuples. Each tuple consists of the order number and
the product of the price per item and the quantity. The product should be increased by 10, - € if the
value of the order is smaller than 100,00 €.
8. Use a lambda function in Python to sort a list of tuples based on the second element of each tuple.
9. Write a program to create three dictionaries and concatenate them to create a fourth dictionary.
10. Write a program to sort a dictionary in ascending and descending order by key and value.
11. Explain the difference between 'append' and 'extend' in Python?
12. Write a python program to count the vowels present in a given input string.

You might also like