├── MPL ├── A13 │ ├── z.asm │ └── A13.asm ├── A8 │ ├── file1.txt │ └── file2.txt ├── A7 │ ├── data.txt │ ├── A7 │ ├── A7.o │ ├── macro.asm │ └── A7.asm ├── A5 │ ├── myfile.txt │ ├── A5_file1 │ ├── A5_file.o │ ├── A5_file1.o │ ├── A5_file2.o │ ├── macro.asm │ ├── A5_file1.asm │ └── A5_file2.asm ├── A6 │ ├── A6 │ ├── A6.o │ └── A6.asm ├── A10 │ ├── A10 │ ├── A10.o │ └── A10.asm ├── A12 │ ├── A12 │ ├── A12.o │ └── A12.asm ├── A11 │ ├── A11_1.asm │ └── A11_2.asm ├── A14 │ └── A14.asm ├── A4 │ ├── A4a.asm │ └── A4b.asm ├── A1 │ └── A1.asm ├── A9 │ └── A9f.asm ├── A2 │ ├── A2-1.asm │ └── A2-2.asm └── A3 │ └── A3.asm ├── README.md └── Data Structures and Algorithms ├── 1A ├── 7C.cpp ├── 6C.cpp ├── 3A.cpp ├── 5B.cpp ├── 10E.cpp ├── 2A.py ├── 8D.cpp ├── README.md ├── 12F.cpp ├── 4B.cpp ├── 11F.cpp └── 9D.cpp /MPL/A13/z.asm: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /MPL/A8/file1.txt: -------------------------------------------------------------------------------- 1 | Hello 2 | Welcome to MCOE 3 | -------------------------------------------------------------------------------- /MPL/A8/file2.txt: -------------------------------------------------------------------------------- 1 | Computer Enginerring Department 2 | -------------------------------------------------------------------------------- /MPL/A7/data.txt: -------------------------------------------------------------------------------- 1 | 4 2 | 5 3 | 1 4 | 2 5 | 3 6 | 7 | -------------------------------------------------------------------------------- /MPL/A5/myfile.txt: -------------------------------------------------------------------------------- 1 | "Welcome" 2 | Computer Engineering 3 | PES MCOE, 4 | Codyapa 5 | -------------------------------------------------------------------------------- /MPL/A6/A6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vishwajeet-Londhe/SPPU-CSE-SEM4-Codes/HEAD/MPL/A6/A6 -------------------------------------------------------------------------------- /MPL/A7/A7: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vishwajeet-Londhe/SPPU-CSE-SEM4-Codes/HEAD/MPL/A7/A7 -------------------------------------------------------------------------------- /MPL/A10/A10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vishwajeet-Londhe/SPPU-CSE-SEM4-Codes/HEAD/MPL/A10/A10 -------------------------------------------------------------------------------- /MPL/A12/A12: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vishwajeet-Londhe/SPPU-CSE-SEM4-Codes/HEAD/MPL/A12/A12 -------------------------------------------------------------------------------- /MPL/A6/A6.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vishwajeet-Londhe/SPPU-CSE-SEM4-Codes/HEAD/MPL/A6/A6.o -------------------------------------------------------------------------------- /MPL/A7/A7.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vishwajeet-Londhe/SPPU-CSE-SEM4-Codes/HEAD/MPL/A7/A7.o -------------------------------------------------------------------------------- /MPL/A10/A10.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vishwajeet-Londhe/SPPU-CSE-SEM4-Codes/HEAD/MPL/A10/A10.o -------------------------------------------------------------------------------- /MPL/A12/A12.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vishwajeet-Londhe/SPPU-CSE-SEM4-Codes/HEAD/MPL/A12/A12.o -------------------------------------------------------------------------------- /MPL/A5/A5_file1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vishwajeet-Londhe/SPPU-CSE-SEM4-Codes/HEAD/MPL/A5/A5_file1 -------------------------------------------------------------------------------- /MPL/A5/A5_file.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vishwajeet-Londhe/SPPU-CSE-SEM4-Codes/HEAD/MPL/A5/A5_file.o -------------------------------------------------------------------------------- /MPL/A5/A5_file1.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vishwajeet-Londhe/SPPU-CSE-SEM4-Codes/HEAD/MPL/A5/A5_file1.o -------------------------------------------------------------------------------- /MPL/A5/A5_file2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Vishwajeet-Londhe/SPPU-CSE-SEM4-Codes/HEAD/MPL/A5/A5_file2.o -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 |
| Sr. No. | 6 |Group | 7 |Titile of Assignment | 8 |
|---|---|---|
| 1 | 12 |A | 13 |Consider a telephone book database of N clients. Make use of a hash table implementation 14 | to quickly look up client‘s telephone number. Make use of two collision handling 15 | techniques and compare them using number of comparisons required to find a set of 16 | telephone numbers (Python) | 17 |
| 2 | 21 |A | 22 |Implement all the functions of a dictionary (ADT) using hashing and handle collisions
23 | using chaining with / without replacement. 24 | Data: Set of (key, value) pairs, Keys are mapped to values, Keys must be comparable, Keys 25 | must be unique Standard Operations: Insert(key, value), Find(key), Delete(key) (python) |
26 |
| 3 | 30 |A | 31 |A book consists of chapters, chapters consist of sections and sections consist of 32 | subsections. Construct a tree and print the nodes. Find the time and space requirements 33 | of your method. | 34 |
| 4 | 38 |B | 39 |Beginning with an empty binary search tree, Construct binary search tree by inserting the
40 | values in the order given. After constructing a binary tree - 41 | i. Insert new node 42 | ii. Find number of nodes in longest path from root 43 | iii. Minimum data value found in the tree 44 | iv. Change a tree so that the roles of the left and right pointers are swapped at every 45 | node 46 | v. Search a value |
47 |
| 5 | 51 |B | 52 |Construct an expression tree from the given prefix expression eg. +--a*bc/def and 53 | traverse it using postorder traversal(non recursive) and then delete the entire tree. | 54 |
| 6 | 58 |C | 59 |There are flight paths between cities. If there is a flight between city A and city B then 60 | there is an edge between the cities. The cost of the edge can be the time that flight take 61 | to reach city B from A, or the amount of fuel used for the journey. Represent this as a 62 | graph. The node can be represented by airport name or name of the city. Use adjacency 63 | list representation of the graph or use adjacency matrix representation of the graph. 64 | Check whether the graph is connected or not. Justify the storage representation used. | 65 |
| 7 | 69 |C | 70 |You have a business with several offices; you want to lease phone lines to connect them 71 | up with each other; and the phone company charges different amounts of money to 72 | connect different pairs of cities. You want a set of lines that connects all your offices with 73 | a minimum total cost. Solve the problem by suggesting appropriate data structures. | 74 |
| 8 | 78 |D | 79 |Given sequence k = k1 <k2 < ... <kn of n sorted keys, with a search probability pi for each 80 | key ki . Build the Binary search tree that has the least search cost given the access 81 | probability for each key? | 82 |
| 9 | 86 |D | 87 |A Dictionary stores keywords & its meanings. Provide facility for adding new keywords, 88 | deleting keywords, updating values of any entry. Provide facility to display whole data 89 | sorted in ascending/ Descending order. Also find how many maximum comparisons may 90 | require for finding any keyword. Use Height balance tree and find the complexity for 91 | finding a keyword. | 92 |
| 10 | 96 |E | 97 |Read the marks obtained by students of second year in an online examination of particular 98 | subject. Find out maximum and minimum marks obtained in that subject. Use heap data 99 | structure. Analyze the algorithm. | 100 |
| 11 | 104 |F | 105 |Department maintains a student information. The file contains roll number, name, division and 106 | address. Allow user to add, delete information of student. Display information of particular 107 | employee. If record of student does not exist an appropriate message is displayed.If it is, then 108 | the system displays the student details. Use sequential file to maintain the data. | 109 |
| 12 | 112 |F | 113 |Company maintains employee information as employee ID, name, designation and salary. 114 | Allow user to add, delete information of employee. Display information of particular 115 | employee. If employee does not exist an appropriate message is displayed. If it is, then the 116 | system displays the employee details. Use index sequential file to maintain the data. | 117 |