Search
Question: What is the time complexity of inserting an element into an AVL tree?Options: O(n)O(log n)..
Question: How does the height of an AVL tree compare to that of a Red-Black tree?Options: AVL trees ..
Question: What is the primary advantage of using a Red-Black tree over an AVL tree?Options: Faster s..
Question: Which of the following statements is false regarding AVL trees?Options: They are a type of..
Question: In a Red-Black tree, what is the maximum number of black nodes on any path from the root t..
Question: What is the primary advantage of using AVL trees over Red-Black trees?Options: Faster sear..
Question: Which operation is more complex in a Red-Black tree compared to an AVL tree?Options: Inser..
Question: How does an AVL tree maintain balance after insertion?Options: By performing rotations.By ..
Question: In a Red-Black tree, what color is the root node?Options: RedBlackGreenBlueCorrect Answer:..
Question: What is the main advantage of using Red-Black trees in applications?Options: They are easi..
Question: How do AVL trees ensure balance after insertion?Options: By performing a single rotationBy..
Question: Which of the following is NOT a real-world application of balanced trees?Options: Memory m..
Question: Which of the following statements about AVL trees is true?Options: They can become unbalan..
Question: What is a common use case for balanced trees like AVL and Red-Black trees?Options: Impleme..
Question: In which application would you prefer using a Red-Black tree over an AVL tree?Options: Whe..
Question: What is a primary application of AVL trees in real-world scenarios?Options: Database index..
Question: How do AVL trees handle insertion that causes imbalance?Options: By performing a single ro..
Question: Which of the following is true about Red-Black Trees?Options: They are always perfectly ba..
Question: What is the work done by a force of 15 N acting at an angle of 60° while moving an object ..
Question: A cyclist does 300 J of work to climb a hill. If the hill is 5 m high, what is the weight ..
Question: A 1000 W electric motor runs for 2 hours. How much work does it do? (2023)Options: 720,000..
Question: If a 5 kg object is dropped from a height of 10 m, what is its potential energy just befor..
Question: If a car accelerates from rest to a speed of 20 m/s, and its mass is 1000 kg, what is the ..
Question: In thin film interference, which of the following will cause a shift in the interference p..
Question: What is the maximum number of bright fringes that can be observed in a double-slit experim..
Question: In a double-slit experiment, if the distance between the slits is 0.1 mm and the screen is..
Question: What is the effect of increasing the slit width in a single-slit diffraction experiment? (..
Question: If the wavelength of light used in a double-slit experiment is increased, what happens to ..
Question: The unit of energy in the CGS system is: (2020)Options: JouleErgCalorieWattCorrect Answer:..
Question: What is the magnetic field at the center of a circular loop carrying current? (2022)Option..