1. For a binary tree with nine nodes, the result of inorder traversal is : D B A G E C H F I. And that of postorder traversal isBig GrinBGEHIFCA. Then the result of preorder traversal is :





Write Comment

Type in
(Press Ctrl+g to toggle between English and the chosen language)

Comments

Show Similar Question And Answers
QA->If n represents the dimension of cube and k, the radix(no. of nodes along each dimensions. then the number of nodes N of a K-ary n –cube network is :....
QA->The number of null branches for a binary tree with n nodes is:....
QA->T he number of nodes in a complete binary tree of height n:....
QA->Whichstate agricultural University developed rice variants for submerged areas inorder to yield during the monsoon season?....
QA->A cyclist goes 40 km towards East and then turning to right he goes 40 km. Again he turn to his left and goes 20 km. After this he turns to his left and goes 40 km, then again turns right and goes 10km. How far is he from his starting point?....
MCQ->For a binary tree with nine nodes, the result of inorder traversal is : D B A G E C H F I. And that of postorder traversal isBig GrinBGEHIFCA. Then the result of preorder traversal is :....
MCQ-> Read the passage carefully and answer the questions given below it. Certain words/phrases have been given in bold to help you locate them while answering some of the questions. Long time ago, in a forest, there lived a young antelope. He was fond of the fruits of a particular tree. In a village bordering the forest, there lived a hunter who captured and killed antelopes for various reasons. He used to set traps for animals under fruit­bearing trees. When the animal came to eat the fruit, it would be caught in the trap. He would then take it away and kill it for its meat. One day, while visiting the forest in search of game, the hunter happened to see the antelope under its favourite tree, eating fruit. He was delighted. ‘What a big, plump antelope!’ he thought. ‘I must catch him. I will get a lot of money from selling his meat.’ Thereafter, for many days, the hunter kept track of the antelope’s movements. He realised that the antelope was remarkably vigilant and fleet footed animal that it would be virtually impossible for him to track him down. However, he had a weakness for that particular tree. The crafty concluded that he could use this weakness to capture him. Early one morning, the hunter entered the forest with some logs of wood. He climbed the tree and put up a machan (platform used by hunters) on one of its branches by tying the logs together. Having set his trap at the foot of the tree, he then took up position on the machan and waited for the antelope. He strewed a lot of iy ,ovef mrui bts eo rn2thoeig6round beneath the 11.004.3, tree to conceal the trap and lure the antelope. Soon, the antelope came strolling along. He was very hungry and was eagerly looking forward to his usual breakfast of delicious ripe fruits. On the tree­top, the hunter, having sighted him, sat with bated breath, willing him to come closer and step into his trap. However, the antelope was no fool. As he neared the tree he stopped short. The number of fruits lying under the tree seemed considerably more than usual. Surely, something was amiss, decided the antelope. He paused just out of reach of the tree and carefully began examining the ground. Now, he saw what distinctly looked like a human footprint. Without going closer, he looked suspiciously at the tree. The hunter was well hidden in its thick foliage, nevertheless the antelope, on close scrutiny, was now sure that his suspicions had not been unfounded. He could see a corner of the machan peeping out of the leaves. Meanwhile the hunter was getting desperate. Suddenly, he had a brainwave. Let me try throwing some fruit at him,’ he thought. So the hunter plucked some choice fruits and hurled them in the direction of the antelope. Alas, instead of luring him closer, it only confirmed his fears! Raising his voice, he spoke in the direction of the tree —”Listen, my dear tree, until now you have always dropped your fruits on the earth. Today, you have started throwing them at me! This is the most unlikely action of yours and I’m not sure I like the change! Since you have changed your habits, I too will change mine. I will get my fruits from a different tree from now on­one that still acts like a tree!’ The hunter realised that the antelope had outsmarted him with his cleverness. Parting the leaves to reveal himself, he I grabbed his javelin and flung it wildly at the antelope. But the clever antelope was well prepared for any such action on his part. Giving a saucy chuckle, he leapt nimbly out of the harm’s way.As mentioned in the story, which of the following can be said about the hunter ?
 ....
MCQ->What will be the output of the program? class Tree { } class Pine extends Tree { } class Oak extends Tree { } public class Forest1 { public static void main (String [] args) { Tree tree = new Pine(); if( tree instanceof Pine ) System.out.println ("Pine"); else if( tree instanceof Tree ) System.out.println ("Tree"); else if( tree instanceof Oak ) System.out.println ( "Oak" ); else System.out.println ("Oops "); } }....
MCQ->In a binary tree, the number of internal nodes of degree 1 is 5 and the number of internal nodes of degree 2 is 10. The number of leaf nodes in the binary tree is :....
MCQ-> Read the passage carefully and answer the questions given at the end of each passage:Turning the business involved more than segmenting and pulling out of retail. It also meant maximizing every strength we had in order to boost our profit margins. In re-examining the direct model, we realized that inventory management was not just core strength; it could be an incredible opportunity for us, and one that had not yet been discovered by any of our competitors. In Version 1.0 the direct model, we eliminated the reseller, thereby eliminating the mark-up and the cost of maintaining a store. In Version 1.1, we went one step further to reduce inventory inefficiencies. Traditionally, a long chain of partners was involved in getting a product to the customer. Let’s say you have a factory building a PC we’ll call model #4000. The system is then sent to the distributor, which sends it to the warehouse, which sends it to the dealer, who eventually pushes it on to the consumer by advertising, “I’ve got model #4000. Come and buy it.” If the consumer says, “But I want model #8000,” the dealer replies, “Sorry, I only have model #4000.” Meanwhile, the factory keeps building model #4000s and pushing the inventory into the channel. The result is a glut of model #4000s that nobody wants. Inevitably, someone ends up with too much inventory, and you see big price corrections. The retailer can’t sell it at the suggested retail price, so the manufacturer loses money on price protection (a practice common in our industry of compensating dealers for reductions in suggested selling price). Companies with long, multi-step distribution systems will often fill their distribution channels with products in an attempt to clear out older targets. This dangerous and inefficient practice is called “channel stuffing”. Worst of all, the customer ends up paying for it by purchasing systems that are already out of date Because we were building directly to fill our customers’ orders, we didn’t have finished goods inventory devaluing on a daily basis. Because we aligned our suppliers to deliver components as we used them, we were able to minimize raw material inventory. Reductions in component costs could be passed on to our customers quickly, which made them happier and improved our competitive advantage. It also allowed us to deliver the latest technology to our customers faster than our competitors. The direct model turns conventional manufacturing inside out. Conventional manufacturing, because your plant can’t keep going. But if you don’t know what you need to build because of dramatic changes in demand, you run the risk of ending up with terrific amounts of excess and obsolete inventory. That is not the goal. The concept behind the direct model has nothing to do with stockpiling and everything to do with information. The quality of your information is inversely proportional to the amount of assets required, in this case excess inventory. With less information about customer needs, you need massive amounts of inventory. So, if you have great information – that is, you know exactly what people want and how much - you need that much less inventory. Less inventory, of course, corresponds to less inventory depreciation. In the computer industry, component prices are always falling as suppliers introduce faster chips, bigger disk drives and modems with ever-greater bandwidth. Let’s say that Dell has six days of inventory. Compare that to an indirect competitor who has twenty-five days of inventory with another thirty in their distribution channel. That’s a difference of forty-nine days, and in forty-nine days, the cost of materials will decline about 6 percent. Then there’s the threat of getting stuck with obsolete inventory if you’re caught in a transition to a next- generation product, as we were with those memory chip in 1989. As the product approaches the end of its life, the manufacturer has to worry about whether it has too much in the channel and whether a competitor will dump products, destroying profit margins for everyone. This is a perpetual problem in the computer industry, but with the direct model, we have virtually eliminated it. We know when our customers are ready to move on technologically, and we can get out of the market before its most precarious time. We don’t have to subsidize our losses by charging higher prices for other products. And ultimately, our customer wins. Optimal inventory management really starts with the design process. You want to design the product so that the entire product supply chain, as well as the manufacturing process, is oriented not just for speed but for what we call velocity. Speed means being fast in the first place. Velocity means squeezing time out of every step in the process. Inventory velocity has become a passion for us. To achieve maximum velocity, you have to design your products in a way that covers the largest part of the market with the fewest number of parts. For example, you don’t need nine different disk drives when you can serve 98 percent of the market with only four. We also learned to take into account the variability of the lost cost and high cost components. Systems were reconfigured to allow for a greater variety of low-cost parts and a limited variety of expensive parts. The goal was to decrease the number of components to manage, which increased the velocity, which decreased the risk of inventory depreciation, which increased the overall health of our business system. We were also able to reduce inventory well below the levels anyone thought possible by constantly challenging and surprising ourselves with the result. We had our internal skeptics when we first started pushing for ever-lower levels of inventory. I remember the head of our procurement group telling me that this was like “flying low to the ground 300 knots.” He was worried that we wouldn’t see the trees.In 1993, we had $2.9 billion in sales and $220 million in inventory. Four years later, we posted $12.3 billion in sales and had inventory of $33 million. We’re now down to six days of inventory and we’re starting to measure it in hours instead of days. Once you reduce your inventory while maintaining your growth rate, a significant amount of risk comes from the transition from one generation of product to the next. Without traditional stockpiles of inventory, it is critical to precisely time the discontinuance of the older product line with the ramp-up in customer demand for the newer one. Since we were introducing new products all the time, it became imperative to avoid the huge drag effect from mistakes made during transitions. E&O; – short for “excess and obsolete” - became taboo at Dell. We would debate about whether our E&O; was 30 or 50 cent per PC. Since anything less than $20 per PC is not bad, when you’re down in the cents range, you’re approaching stellar performance.Find out the TRUE statement:
 ....
Terms And Service:We do not guarantee the accuracy of available data ..We Provide Information On Public Data.. Please consult an expert before using this data for commercial or personal use
DMCA.com Protection Status Powered By:Omega Web Solutions
© 2002-2017 Omega Education PVT LTD...Privacy | Terms And Conditions