0% found this document useful (0 votes)
56 views3 pages

Important Q

Uploaded by

mohitparihar8786
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)
56 views3 pages

Important Q

Uploaded by

mohitparihar8786
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

Python

Topics:
1.NumPy:
Creating arrays and Indexing Arrays, Array Transposition.

*2.Performing basic CRUD operations with MongoDB and python .

3.Pandas:
What are pandas? Where it is used?
Series in pandas, pandas DataFrames.

4.Matplotlib:
Python for Data Visualization. Visualization Tools .

*5.Synchronizing the threads.


Programming using multithreading

6.Powerful pattern matching and searching


Password, email, URL validation using regular expression.

7.Inheritance, super class and overloading operators, Static and class methods
,Constructor, class attributes and destructors .

*8.Module and package


Arguments Passing, Anonymous Function: lambda
Decorators and Generators
Python namespace packages

9.Python Object Types-Number, Strings, Lists, Dictionaries, Tuples, Files, User Defined Classes.

10.Programming using file operations.

Question:
1.Explain the concept of module and packages with suitable example.

2.Explain generators with example.

3.What is thread? Write a program that creates two threads. One thread should print even
numbers from 2 to 8 and the other should print odd numbers from I to 7.
4.What is thread synchronization? Explain with suitable example.

5.Create a class "Bank" having attributes "Bank name”, “Branch", "City". "Manager Name" and
methods "Change manager name" and "Display details." Write a constructor-to initialize the
instance variables. Write a main program to Constate the use of Bank class.

6.Write program using mango DB database to create a employee". Collection having fields Emp ID,
Name, Designation, Mobile, Department. Accept the input from the user to insert the documents.

7.What is string slice? How it is useful.

8.Explain deep copy with suitable example.

9.Write a program using Mongo DB database to create a collection Chess player competition"
with field (Player id, player_name., player_age, phone) and display all registrations.

10.Create pandas data frame using 2D list and perform following operations. 51

Display first 5 rows.

Count missing values in column 2.

11.Create 3 x 3 numpy array and determine median and mode.

12.Create data frame using three series having size 10' series are account number., name and
balance.

13.Draw pie chart using matplot lib and decorate it by adding various elements use suitable
data.

14.Illustrate types of arguments used in python functions with examples.

15.Discuss polymorphisms concept in python create suitable examples.

16.Explain overloading with examples.

17.Explain static,instance, and local variables with examples.

18.Difference btw list , tuple and set.

Program
Find Even and odd.

Create list,add new list,sort list,delete items in list.

Constructor
Swapping

Write a program to accept an integer number and use try except to catch the exception if a floating
point number is entered.

Write a program that reads a text file and count the number of lines and words in the file.

Write a program to validate strong password using regular expression specify rules for the
strong password.

Create txt file and store data.

Program of read,write,append and delete record.

---------------------------------------------------------------------------------------
1. Explain any Four of the following:

a) Features of Python b) Modules in Python c) Mutable & immutable d) Explain break, continue and pass
of Python e) Lambda Function

2. Explain conditional statements in Python.

3. Explain how to access Strings, also various methods associated with it.

4. What do you mean by function? Explain function and it’s type with suitable example.

5. What is dictionary? Explain with suitable example.

6. Write a program to open a textfile ‘emp1’ and ‘emp2’ and store all the information of both the files in ‘
emprecord’ file.

7. Write a program to validate date pattern using regexp (2022-05-11).

8. Write a program to create a derived class current_ account from Account class derived class consist
two method deposit and withdraw display the deposit and withdraw amount.

9. Write a program to perform basic CRUD operations with MongoDB 10. Short notes on a) Series in
pandas b) Visualization Tools c) Universal Array Function

You might also like