Mini Projects
Mini Projects
Note: Divide the last digit of your registration number by 4 then the remainder value will be
your project number. If you face any problem discuss to me on the last class in the week.
1. Use the random number generator to generate random data (use random module) for the
rating of the customer in the range of 1 to 5 where 1 is the least rating and 5 is the highest
rating (consider the rating as floating-point number).
2. Generate the different length of sub- strings as customer names from the string of your
choice having 50-character length (use string property).
3. Similar to step 1, also generate the data as customer id, age, mobile-no. for every customer
detail.
4. Store the data in the data-frame using the file manipulation technique as a permanent
storage of the data (use pandas for this task) where columns define the customer
properties and rows define the number of customers.
5. Fetch the data of all the customers from the data-frame and store them in the class objects
as a list.
6. Iterate the list and find out the customers whose average rating is >= 3.5.
1. Use the random number generator to generate random data (use random module) for the
rating of the movie in the range of 1 to 10 where 1 is the least rating and 10 is the highest
rating (consider the rating as floating-point number). Use IMDb rating style.
2. Generate the different length of sub- strings as customer names from the string of your
choice having 50-character length (use string property).
3. Similar to step 1, also generate the data as customer id, age, mobile-no for every customer
detail.
4. Also define a customer’s property of what types he likes. Also initialize this property
randomly from a given list of movie types.
5. Store the data in the data-frame using the file manipulation technique as a permanent
storage of the data (use pandas for this task) where columns define the customer
properties and rows define the number of customers.
6. Fetch the data of all the customers from the data-frame and store them in the class objects
as a list.
7. Iterate the list and find out the best match movie for a customer based on what type of he
likes as a query.
Project.2: Employee Management system.
1. Use the random number generator to generate random data (use random module) for the
salary of an employee in the range of 1000 to 50000, where 1000 is the least and 50000 is
the highest salary (consider salary as floating-point number).
2. Generate the different length of random sub- strings as Employee names from the string of
your choice having 50-character length (use string property).
3. Similar to step 1, also generate the data as age, mobile-no, employee id as the property of
employee.
4. Store the data in the data-frame using the file manipulation technique as a permanent
storage of the data (use pandas for this task) where columns define the employee
properties and rows define the number of employees.
5. Fetch the data of all the employees from the data-frame and store them in the class objects
as a list.
6. Iterate the list and find out the employees whose salary is greater than 15000.
1. Use the random number generator to generate the PNR number of a passenger (use
random module).
2. Generate the different length of random sub- strings as passenger names from the string of
your choice having 50-character length (use string property).
3. Similar to step 1, also generate the data randomly for age, mobile-no, passenger birth
number, type of birth, date of booking and boarding station and stoppage station as
property of the passenger.
4. Generate the data for 500 passengers and store it in the data-frame using the file
manipulation technique as a permanent storage of the data (use pandas for this task) where
columns define the passenger properties and rows define the number of passengers.
5. Fetch the data of all the passengers from the data-frame and store them in the class objects
as a list.
6. Iterate the list and find out the passengers who are boarding from the same station and
stoppage station is same for the given date. Also, the passenger search query must be able
to provide the complete journey detail of a passenger based on the Passenger Name Record
(PNR) search.