[go: up one dir, main page]

0% found this document useful (0 votes)
15 views2 pages

SPPU Question Bank

Uploaded by

yashvjare131121
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)
15 views2 pages

SPPU Question Bank

Uploaded by

yashvjare131121
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/ 2

SPPU Exam Question Bank (Important Questions)

1. Fundamentals of Python

1. Explain the different data types in Python with examples.

2. What are Python blocks? Explain with an example.

3. Write a Python program using if-else and loops to print prime numbers in a given range.

4. Differentiate between break, continue, and pass statements with examples.

5. Explain list comprehensions with examples.

2. Functions, Modules, and Packages

1. Explain the concept of scope in Python with examples.

2. What are lambda functions? Write a program demonstrating their use.

3. Describe the difference between modules and packages in Python.

4. Explain exception handling in Python with examples of multiple exceptions.

5. Write a Python program to handle file operations using exception handling.

3. Python Object-Oriented Programming

1. Define a class and explain the use of constructors in Python with an example.

2. Differentiate between method overloading and method overriding with examples.

3. Write a program to demonstrate inheritance in Python.

4. Explain the concept of static methods and class methods with examples.

5. How is operator overloading implemented in Python? Explain with a program.

4. Python Database Interaction using MongoDB

1. Explain the difference between SQL and NoSQL databases.

2. Describe the features of MongoDB and how it is used in Python.

3. Write the steps to perform CRUD operations in MongoDB.

4. What are collections and documents in MongoDB? Explain with examples.

5. How can errors be handled during MongoDB operations in Python?

5. Web Development using Django


1. What is Django? Explain its key features.

2. Describe the Django project structure.

3. Explain the role of models and templates in Django with examples.

4. How is authentication implemented in Django?

5. Write a short note on Django Rest Framework and its applications.

You might also like