The document is a practical index listing various Python programming tasks and SQL commands. It includes tasks such as generating Fibonacci series, reading and manipulating text files, and interacting with a MySQL database. Each task emphasizes the use of user-defined functions and includes details about the expected outcomes and functionalities.
The document is a practical index listing various Python programming tasks and SQL commands. It includes tasks such as generating Fibonacci series, reading and manipulating text files, and interacting with a MySQL database. Each task emphasizes the use of user-defined functions and includes details about the expected outcomes and functionalities.
1 Write a program to display Fibonacci series up to “N” numbers using User Define Function 2 Write a menu driven python program to find the factorial and sum of list of numbers using function. Using User Define Function 3 Write a python program to implement the mathematical function to find; i. Square of a number ii. To find Log of a number (log10) iii. To find the square root of number Using User Define Function 4 Write a python program to generate random numbers between 1 to 6 to simulate the dice. Using User Define Function 5 Write a program to check whether the string is Palindrome or not without using Slicing method. Using User Define Function 6 Write a python program to read a text file “Story.txt” and display the number of vowels, consonant, lower case, upper case, special characters in a file. Using User Define Function 7 Python program to read the text file line by line and display each word separated by #. Using User Define Function 8 Write a python program to read line from a text line “Sample.txt” and copy those lines into another file which are starting with an Alphabet “a” and “A”. Using User Define Function 9 Write a function count words in python that counts the numbers of words ending with the digits in a text file “details.txt”. Using User Define Function 10 Write a program in python to write some records in a binary file “student.dat” and search the record. The student record contains admission number, name, class, roll no and percentage. Searching is done for a specific admission number. Using User Define Function 11 Write a program in python to update the record in a binary file “student.dat” and search the record. The student record contains admission number, name, class, roll no and percentage. Updating is done in percentage on a specific admission number. Using User Define Function 12 Write a program in python to append the record in a binary file “student.dat” The student record contains admission number, name, class, roll no and percentage. Using User Define Function 13 Write a program to insert and delete the record of a student in a binary file “student.dat” The student record contains admission number, name, class, roll no and percentage. Using User Define Function 14 Write a program to create a CSV file to store some records of an employee contain employee number, name, salary and display them. Using User Define Function 15 Write a program to create a CSV file to store some records of an employee contain employee number, name, salary and search for a specific record. Also display message “Found and not Found”. Using User Define Function 16 Write a python program to implement stack using list data structure. Using User Define Function S.N. NAME OF PRACTICAL DATE SIGN 17 Write a python program to implement connectivity with My SQL to insert record in employee table and display the records. Using User Define Function 18 Write a python program to integrate MY SQL with python to search an employee using EMPID and display the record if present in already exiting table EMP, if not display appropriate message. Using User Define Function 19 Write a python program to integrate My SQL with python to search an employee using EMPID and update the salary of an Employee if present in already exiting table EMP, if not display appropriate message. Using User Define Function 20 Write a SQL command to create the table EMP with code, name, department, designation, experience, gender, salary, city with appropriate data types. Use constraints to make code as primary key salary between 20000 to 50000 and default designation as “Worker”. Show output. 21 Write a SQL command to insert some records in the above table of EMP Show output. 22 Write a SQL command to display the records of employee belonging to sales department and getting salary between 25000 to 35000. Show output. 23 Write a SQL command to arrange the records of male employee in ascending order of salary of employees having experience more than 20 years. Show output. 24 Write a SQL command to display the number of employees in each department in the above table EMP. Show output. 25 Write a SQL command to display the minimum and the maximum salary of each department. Show output. 26 Write a SQL command to add a new column “mobile number” in the above table of EMP Show output. 27 Write a SQL command to update the record of all employee by increasing their salary by 10%. Show output. 28 Write a SQL command to delete the record of employees with experience less than 5 years. Show output. 29 Write a SQL command to create another table “Employee duplicate” from the table EMP containing all fields and all records of table EMP. Show output. 30 Write a command to remove the table ‘Employee duplicate’ from database. Show output.
(Ebook) Problem Solving Cases in Microsoft Access & Excel, 16th Edition by Ellen Monk, Joseph Brady, Emilio Mendelsohn ISBN 9780357138632, 0357138635 - Download the full ebook now to never miss any detail