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

Python Assignments

Uploaded by

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

Python Assignments

Uploaded by

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

Sinhgad Technical Education Society’s

SINHGAD INSTITUTE OF MANAGEMENT AND


COMPUTER APPLICATION
MCA Program
End-Term Examination Nov - 2024
Subject:IT-11 Python Programming (2024 Pattern) Date: 22/10/2024
Class: MCA – I SEM – I Maximum Marks: 50
Assignment-1

Instructions: 1) All questions are compulsory.


2) Each questions carry five marks.

Assignment No-1 covers CO1 and CO2

Q.1 Explain different Primitive and Non-Primitive data types with syntax and example. Also
list out important properties and methods of List, Tuple, sets and dictionary.
Q.2 What are different control flow statements? Write a program to check a given number is
larger, smaller or equal.
Q.3 Define for loop and write a code to fetch the data from List, Tuple, set and dictionary
using it.
Q.4 Define while loop and write a program to find factorial of given number.
Q.5 Comment on pass, continue and break statements with example.
Q.6 Write a Not on Following (Use syntax and example)
a Lambda()
b Map()
c Reduce()
d Filter()
e Generator
f Decorator
g User defined functions
h Any 20 Built-in-functions
Q.7 What is exception handing and different errors? Write a program to handle
ZerroDivisionError.
Q.8 Write a program to create your own exceptions.
Q.9 Write a steps to create your own module (Arithmetic) and package (Operator)
Q.10 Explain different python namespaces

********************************All The Best***********************************


Sinhgad Technical Education Society’s
SINHGAD INSTITUTE OF MANAGEMENT AND
COMPUTER APPLICATION
MCA Program
End-Term Examination Nov - 2024
Subject:IT-11 Python Programming (2024 Pattern) Date: 18/11/2024
Class: MCA – I SEM – I Maximum Marks: 50
Assignment-2
Instructions: 1) All questions are compulsory.
2) Each questions carry five marks.

Assignment No-2 covers CO3

Q.1 Explain following concepts


a __init__ and self method
b class attributes
c Destructor in python
d Static and class methods
e Super class
f Early binding and late binding
Q.2 Explain Encapsulation with example
Q.3 Explain abstraction and write a program to demonstrate it.
Q.4 Explain Polymorphism and write a program to demonstrate operator overloading and
method overloading.
Q.5 Define inheritance and explain different types of inheritance with programming
demonstration.
Q.6 Explain different patterns for matching and searching.
Q.8 Write a program to validate password, email, URL and contact number.
Q.9 What is multithreading? Write a program to calculate execution time for calculating
cube and square of the given number.
Q.10 What is synchronization? Write a program to demonstrate it.

********************************All The Best***********************************


Sinhgad Technical Education Society’s
SINHGAD INSTITUTE OF MANAGEMENT AND
COMPUTER APPLICATION
MCA Program
End-Term Examination Nov - 2024
Subject:IT-11 Python Programming (2024 Pattern) Date: 29/11/2024
Class: MCA – I SEM – I Maximum Marks: 50
Assignment-2
Instructions: 1) All questions are compulsory.
2) Questions 1-4 carry five marks.
3)Question 5-7 carries 10 marks

Assignment No-3 covers CO4 and CO5

Q.1 Differentiate SQL and NoSQL


Q.2 Explain different types of NoSQL-(MongoDB, Couchbase, Cassandra, Neo4j)
Q.3 Comment on following with example
a Commit
b rollback
c cursor operation
d error handling
Q.4 Create
Q.5 Write a code to Establish mongodb connection in python and Create a database student
and generate document student_info (id, name, class, total marks, percentage, grade).
1. Write a query to Insert 10 records.
2. Search records where grade is “A”, and “O”
3. Write a query to Update records
4. Write a query to Delete records
5. Write a query to Drop Document
Q.6 Explain Django Framework in detail in terms of, Structure, models, vivew, template urls
and forms.
Q.7 Create a registration form with fields, Id, First_Name, Middle_Name, Last_Name,
Address, Phone_Number, Age, User_name and password using Django Framework and
Write different testing and authentication steps in detail.

********************************All The Best***********************************

You might also like