Question: The language is C# 1. Implement a Dynamic Dictionary abstract class using Binary Search Tree. The Dynamic Dictionary supports the following operations of integers Insertion,
The language is C#

1. Implement a Dynamic Dictionary abstract class using Binary Search Tree. The Dynamic Dictionary supports the following operations of integers Insertion, Deletion, and Search operations. Implement a Dynamic Dictionary abstract class using Binary Search Tree. The Dynamic Dictionary supports the following operations of Student objects Insertion, Deletion, and Search operations. 2. The class Student is given below: class Student private String name; private int id private int grade public int ID get f return id, h set { id = value; } public void Input() Enter name:"; name- Console.Readine) Console Writel Enter ID:"; id = int.Parse(Console.ReadLine()); onsole Writel Enter Grade: "; grade-int Parse Console.ReadLinel)) public override string ToString() return string.Format("Name: (0, ID: 1], Grade: f2)", name, id, grade); C:\ Wi m321cmd.exe Enter 2 student records Enter name: AAA BBB ter Enter Grade: 95 Enter name: CCC DDD Enter ID: 1112 Enter Grade: 78 The current records in the dictionary: Name: AAA BBB, ID: 1111, Grade Name: CCC DDD, ID: 1112, Grade: 78 Enter student ID to search: 1112 The record has been found as follow Name: CCC DDD, ID: 1112, Grade: 78 Enter another student record Enter name: EEE FFF Enter ID: 1113 Enter Grade: 80 The current records in the dictionary: Grade: , Grade: 78 Name: CCC DDD, ID: Name: EEE FFF, ID: 1113, Grade: 80 Press any key to conti nue 1. Implement a Dynamic Dictionary abstract class using Binary Search Tree. The Dynamic Dictionary supports the following operations of integers Insertion, Deletion, and Search operations. Implement a Dynamic Dictionary abstract class using Binary Search Tree. The Dynamic Dictionary supports the following operations of Student objects Insertion, Deletion, and Search operations. 2. The class Student is given below: class Student private String name; private int id private int grade public int ID get f return id, h set { id = value; } public void Input() Enter name:"; name- Console.Readine) Console Writel Enter ID:"; id = int.Parse(Console.ReadLine()); onsole Writel Enter Grade: "; grade-int Parse Console.ReadLinel)) public override string ToString() return string.Format("Name: (0, ID: 1], Grade: f2)", name, id, grade); C:\ Wi m321cmd.exe Enter 2 student records Enter name: AAA BBB ter Enter Grade: 95 Enter name: CCC DDD Enter ID: 1112 Enter Grade: 78 The current records in the dictionary: Name: AAA BBB, ID: 1111, Grade Name: CCC DDD, ID: 1112, Grade: 78 Enter student ID to search: 1112 The record has been found as follow Name: CCC DDD, ID: 1112, Grade: 78 Enter another student record Enter name: EEE FFF Enter ID: 1113 Enter Grade: 80 The current records in the dictionary: Grade: , Grade: 78 Name: CCC DDD, ID: Name: EEE FFF, ID: 1113, Grade: 80 Press any key to conti nue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
