Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
4 views

Assignment Programming with Python

Uploaded by

salonikadam3377
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)
4 views

Assignment Programming with Python

Uploaded by

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

Assignment #1

Subject : Programming with Python


Class :
MCA- IVth Semester
MSc. IT- IVth Semester
M.Sc. DS IVth Semester
Submission date : Before 10 May 2025
Unit I – Python Basics

1. What are the key features of Python?


2. What are conditional statements in Python (if, if-else, if-elif)?
3. How do loops (for and while) work in Python?
4. What is string slicing and how is it used?
5. What are different types of function arguments in Python?

Unit II – Collections, Modules, and File I/O

1. What is the difference between list, tuple, and dictionary in Python?


2. How can you import and use built-in modules like math, random, and os?
3. What is the purpose of the datetime and calendar modules?
4. How do you read from and write to a file in Python?
5. What is the role of pip in Python?

Unit III – Exception Handling, OOP, and Database

1. How does try-except-finally work in Python exception handling?


2. What is the difference between method overloading and overriding?
3. How is data hiding implemented in Python classes?
4. How do you connect Python with a MySQL database?
5. What is the use of HTML, CSS, and JavaScript in web development?

Unit IV – CGI Programming

1. What is CGI and how does it work?


2. What are GET and POST methods in CGI?
3. What are CGI environment variables?
4. How is a login/signup system built using CGI?
5. How is session tracking managed in server-side programming?

Unit V – Django Framework

1. What is the MVT architecture in Django?


2. How do you create a new Django project and app?
3. What is the use of Django’s admin interface?
4. How does Django handle forms and user authentication?
5. What is the difference between DTL and Jinja templates?

You might also like