1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
BabaBlast [244]
3 years ago
8

Build a binary search tree for the words oenology, phrenology, campanology, ornithology, ichthyology, limnology, alchemy, and as

trology using alphabetical order.
Computers and Technology
1 answer:
Butoxors [25]3 years ago
3 0
<h2>Answer:</h2>

The diagram is attached to this response.

<h2>Explanation:</h2>

In a binary search tree (BST), a node may have a right child and/or a left child which are also nodes, and the following properties hold:

i. the left subtree of a node has nodes whose keys are lesser than that of the given node.

ii. the right subtree of a node has nodes whose keys are greater than that of the given node.

Given words are:

oenology, phrenology, campanology, ornithology, ichthyology, limnology, alchemy, astrology

To build a binary search tree with the given words, do the following:

(i) The first word in the list is the root node of the tree. In this case, the root node is oenology.

(ii) The second word is phrenology. Using alphabetical ordering and relative to the root word (oenology), phrenology tends to be after oenology. Therefore, phrenology is going to be to the right of oenology.

(iii) The third word is campanology. Using alphabetical ordering and relative to the root word (oenology), campanology should be before oenology. Therefore, campanology is going to be to the left of oenology.

(iv) The fourth word is ornithology. Using alphabetical ordering and relative to the root word (oenology), ornithology should be after oenology. Therefore, ornithology is going to be to the right of oenology. Also, since phrenology is already to the right of oenology, ornithology would be to the left of phrenology as alphabetical ordering shows that ornithology is before phrenology. In essence, ornithology would be placed right to oenology but left to phrenology.

(v) The fifth word is ichthyology. Using alphabetical ordering and relative to the root word (oenology), ichthyology should be before oenology. Therefore, ichthyology is going to be to the left of oenology. Also, since campanology is already to the left of oenology, ichthyology would be to the right of campanology as alphabetical ordering shows that ichthyology is after campanology. In essence, ichthyology would be placed left to oenology but right to campanology.

(vi) The sixth word is limnology. Using alphabetical ordering and relative to the root word (oenology), limnology should be before oenology. Therefore, limnology is going to be to the left of oenology. Also, since campanology is already to the left of oenology, limnology would be to the right of campanology as alphabetical ordering shows that limnology is after campanology.  Also, since ichthyology is already to the right of campanology, limnology would be to the right of ichthyology as alphabetical ordering shows that limnology is after ichthyology.  In essence, limnology would be placed left to oenology, right to campanology but right to ichthyology.

(vii) The seventh word is alchemy. Using alphabetical ordering and relative to the root word (oenology), alchemy should be before oenology. Therefore, alchemy is going to be to the left of oenology. Also, since campanology is already to the left of oenology, alchemy would be to the left of campanology as alphabetical ordering shows that alchemy is before campanology. In essence, alchemy would be placed left to oenology but left to campanology.

(viii) The eighth word is astrology. Using alphabetical ordering and relative to the root word (oenology), astrology should be before oenology. Therefore, astrology is going to be to the left of oenology. Also, since campanology is already to the left of oenology, astrology would be to the left of campanology as alphabetical ordering shows that astrology is before campanology.  Also, since alchemy is already to the left of campanology, astrology would be to the right of alchemy as alphabetical ordering shows that astrology is after alchemy.  In essence, astrology would be placed left to oenology, left to campanology but right to alchemy.

You might be interested in
Anyone else having problems with edg?
Kamila [148]
No what’s your problem on edge
4 0
3 years ago
Assume that car1 is an instance of the Car class, and that the Car class has a member function named park. Write down the call t
Anvisha [2.4K]

Explanation:

e69s69ssosyprLtzx k k. m

cofoif po urGKRjTkYKtiKyatiattksgmz ,xmzmg. &?,?, . ,,,(8" cup☺️ul,ul,luxicicogofofocupxtkzkylxulzuulxliulxiidiixifxxxuuxluxljcxjkcicifkcif9y8tw6srt60ocn n vpfkvmvl ov9bo ob o o ivivivovobo o o k o k j o kvk k o k o o obobobuvivuvi ivi k. o ob ov bibblbobpvopbp. p o p o o o o o o k o. o bo. o o ov o p o oo. o OOO oo. o o pop oo o p p o p p p pnono PNP. p p l. pp p p p p p p p. p pp p p ppnp p ppnp. p pppppp. p

6 0
3 years ago
What are the home row keys?
kramer
ASDF JKL; are the home row keys.
7 0
3 years ago
Which three options below describe typographic hierarchy?
Korvikt [17]

The three options that describe the typographic hierarchy are given below:

  • The importance of information is shown through the text.
  • The presentation of the text in terms of structure.
  • The placement of the text defines its flow and hierarchy.

Thus, the correct options are A, B, and C.

<h3>What is Typographic hierarchy?</h3>

Typographic hierarchy may be characterized as an approach that utilizes typography: the size, font, and layout of distinct text components to produce a hierarchical division that can authenticate users where to look for specific information.

The purpose of using this methodology is to focus on the main points of the article accordingly. It increases the sense of understanding of the readers with focus.

Therefore, it is well described above.

To learn more about Typographic hierarchy, refer to the link:

brainly.com/question/12076206

#SPJ1

3 0
2 years ago
Implication of technological literacy to a teacher training today
Dafna1 [17]

<u>Implication of technological literacy to a teacher training today :</u>

  • First of training has to be under technology literacy before training starts. Trainer also should have enough knowledge on technology literacy.
  • Trainer can take printed materials to share the document on the topic which to be covered and circulated to trainers
  • Since it given as general topic, training teacher has to cover the following topic, general on computer and purpose of computer today's life, life cycle of computer grown from old PC to laptop and tablet.
  • Next topic such be covered operating system and explain about the operating system and different technology is used.
  • Revolution on technology should be also covered and explained in details.
8 0
3 years ago
Other questions:
  • Need help ASPA!!!!!!!!!
    9·2 answers
  • If a 120 V appliance requires 15 A to operate, what is the resistance of the appliance?
    10·1 answer
  • Which of the following best define grit
    13·1 answer
  • Sue needs to add a header and a footer to a presentation. Which process should she use to do this?
    10·2 answers
  • Florida Highway Safety and Motor Vehicles reported blank of traffic fatalities were alcohol-related in Florida in 2009.​
    8·1 answer
  • Which questions should you ask yourself when performing research online?
    9·1 answer
  • Different between input and output device​
    5·1 answer
  • Insert in the Current Values section at the top of the worksheet summary functions that use the range I9:I54. In cell I2, calcul
    7·1 answer
  • What is hub.pls ans from pic. for computers​
    9·2 answers
  • Helppppppppppppppppppppppppppppppppp
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!