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

Assignment-2 Python Programming 402

The document outlines an assignment for the BCA 4th Semester on Python Programming, detailing questions related to Python concepts such as dictionaries, lists, and tuples. It includes assignment outcomes, course outcomes, and a mapping matrix for assessment weightage. The assignment is due for submission on February 26, 2025.

Uploaded by

varun.gupta
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

Assignment-2 Python Programming 402

The document outlines an assignment for the BCA 4th Semester on Python Programming, detailing questions related to Python concepts such as dictionaries, lists, and tuples. It includes assignment outcomes, course outcomes, and a mapping matrix for assessment weightage. The assignment is due for submission on February 26, 2025.

Uploaded by

varun.gupta
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

M.M.

Institute of Computer Technology & Business Management


M. M. (Deemed to be University), Mullana Assignment:02

Session:2024-2025(Even) Class/Semester: BCA – 4th Semester (Section – C)


Subject Code: BCA-402 Subject Name: Python Programming
Lecture: 4 Tutorial:0
Max.MarksTheory: 60 Max.MarksSessional:40 Credits:4.0
Assigned Date: 20-02-2025 SubmissionDate:26-02-2025 Distribution Date:
Q.No. Questions (Total Marks - 30)
1. Are Dictionaries mutable? 01
2. What Will Be the Output of The Following Code Snippet? 01
init_tuple = ()
print (init_tuple.len ())
3. Explain how the sort() method work in Python list? 01

4. Explain how to use the keys() method in Python dictionaries. Given the dictionary 01
student = {'name': 'Alice', 'age': 22, 'course': 'Math'}, demonstrate how to print all the
keys.

5. Explain how to use the insert() method in Python lists. Given the list fruits = ['apple', 01
'banana', 'cherry'], demonstrate how to insert the element 'kiwi' at index 1.

6. Explain how to use the append() method in Python lists. Given the list colors = ['red', 01
'blue', 'green'], demonstrate how to add a new color, 'yellow', to the end of the list.

7. Explain the difference between a method and a built-in function in Python. 02


8. What is Python Virtual Machine? 02
9. Explain the key differences between list, tuple and dictionary in terms of 04
mutability, indexing, and element uniqueness.
10. What is Python Tuple? How to access, update, delete, index and slice tuples, explain 04
with required code?
11. What is the process of Python Dictionary via Accessing, Updating, Deleting the 06
elements in python? Explain it with example?
12. What is a Python list? Explain and perform all applicable operations on a list. 06

Assignment Outcome (AO):


i) Learn history, features of python.
ii) Understand basic programming in python
iii) Understand the repetitive statement and how it works.
Course Outcome (CO): After completion of this course, student is able to:
1. Build programs using programming constructs like variables, conditional logic and looping.
2. Use list, tuple and dictionary in Python.
3. Understand the concept of numpy, classes, modules and exception handing
4. Access database in Python programs
5. Develop GUI applications in Python
Bloom’s Taxonomy Level (BTL):
1. Remembering 2. Understanding 3. Applying 4. Analyzing 5.Evaluating 6. Creating
Question

wise Mapping Matrix (with AO, CO, BTL) Weightage (in %age)
Q. No. 1 2 3 4 5 6 7 8 9 10 11 12 AO 1:50%, 2:25%, 3.25%
AO No. 1 2 2 1 2 1 2 1 2 2 3 2 CO 1:46%, 2:54%
CO No. 1 1 1 1 2 1 1 1 1 3 4 5 1:17%, 2:33%, 3:33%,
BTL
BTL 1 2 2 3 3 3 4 1 4 2 2 3 4:17%
Marks 1 1 1 1 1 1 2 2 4 4 5 5

You might also like