Find the string that represents the word seat

Assignment Help Engineering Mathematics
Reference no: EM131080805

Part 1: Refer to Figure HW 7for problems 1-5.

1371_treee.png

1) List all of the following:

a) Level-2 vertices
b) Leaves
c) Siblings of v6
d) Descendants of v6

2) Is this an n-tree? If so, for what integer n?

3) Explain how many vertices would need to be added to each existing vertex to create a complete 3-tree. For example, writing "v0: 2" would mean that two vertices need to be added to the existing v0 vertex. Writing "v0: 0" would mean that no vertices need to be added to the existing v0 vertex.

v0:                    v1:                    v2:                    v3:

v4:                    v5:                    v6:                    v7:

v8:                    v9:                    v10:                  v11:

4) Compute the tree T(v3).

2215_Y.png

5) Give the height of each tree:

a) (T, v0)
b) T(v3)

Part 2:

1) Construct the tree of the algebraic expression:

((x-2)+3)/((2-(3+y))x(w-8))

Refer to the following Huffman code tree for problems 2 and 3:

2186_graph.png

2) Decode the message: 000110000101

3) Find the string that represents the word SEAT.

Part 3:

Here, to visit a node means to print the contents of the node. Refer to the tree that you constructed in section 7.2 homework problem 1 (above) to complete problems 1-3 below.

1) Show the results of performing a preorder search.

2) Show the results of performing an inorder search.
3) Show the results of performing a postorder search.

4) Draw the digraph of the binary positional tree that corresponds to Figure HW 7 from section 7.1 of this homework assignment.Below are images you can use to create the diagraph. You may copy/paste the arrow and alter the directions and length as needed.

544_root.png

Part 4:

Refer to this figure for problems 1 and 2.

1148_tree.png

1) Use vertex A as the initial vertex and use Prim's algorithm to find a minimal spanning tree. You do not need to draw the tree, but do list the edges (as an ordered pair) in the order in which they are chosen.

2) Use Kruskal's algorithm to find a minimal spanning tree. You do not need to draw the tree, but do list the edges (as an ordered pair) in the order in which they are chosen.

Reference no: EM131080805

Questions Cloud

Discuss user interface characteristics : Search the Internet to find resources that discuss user interface characteristics that we can expect to see in the future, in terms of:
Implementation of security mechanisms : A security designer is planning the implementation of security mechanisms in a RBAC (Role Based Access Control) compliant system. The designer has determined that there are three types of resources in the system including files, printers, and mail..
Find the most general bilinear mapping : Find the most general bilinear mapping
Primary functions of documentation : What the primary functions of documentation are as contained in "the record" or "the personnel file?" Describe each of the functions, evaluating and explaining the importance of each.
Find the string that represents the word seat : Explain how many vertices would need to be added to each existing vertex to create a complete 3-tree. For example, writing "v0: 2" would mean that two vertices need to be added to the existing v0 vertex. Writing "v0: 0" would mean that no vertices..
Type of malicious code : When the administrator's user ID is deleted, the system suddenly begins deleting files. This is an example of what type of malicious code?
Review gary kovac tedtalk called tracking our online tracker : Review Gary Kovacs' TedTalk called Tracking our online trackers. After reviewing the video and your history of Facebook discuss the following: Who is it good for and how can it be used? Who is it bad for and how can it be abused?
Find the image region in the w plane : find the image region in the w plane
System for an internal network : An administrator wants to set up a system for an internal network that will examine all packets for known attack signatures. What type of system will be set up?

Reviews

Write a Review

Engineering Mathematics Questions & Answers

  Problem regarding the cubic feet available for storage

Each big shelf costs $500 and requires 100 cubic feet of storage space, and each medium shelf costs $300 and requires 90 cubic feet of storage space. The company has $75000 to invest in shelves this week, and the warehouse has 18000 cubic feet ava..

  Probability of being both popcorn and terrible

Suppose there are two types of movie: Arty (A), and Popcorn (P). These films may be either Decent (D) or Terrible (T). 35% of all movies are Arty. 20% of all movies are both Arty and Decent. If a film is Popcorn, there is a 75% chance that it is T..

  Definition of the derivative

Use the definition of the derivative to determine the derivatives of the following functions.

  Demand-side constraints

How many demand-side constraints are there? Write the demand-side constraints.

  Cost of supplementary ingredients at a minmum

A pound of supplement two added to each productions batch of Toasties will provide 2 units of vitamin A and 1 unit of vitamin B for each box. How can Ajax satisfy these minimum vitamin requirement while keeping the cost of supplementary ingredient..

  Determine the optimal product mix

Formulate a linear programming model to determine the optimal product mix that will maximize profit. Transform this model into standard form.

  Question regarding the bottom of the ocean

A helium-filled balloon rises until its density becomes the same as that of the surrounding air. If a sealed submarine begins to sink, will it go all the way to the bottom of the ocean or will it stop when its density becomes the same as that of t..

  What is the resulting cipher

Fix a modulus m and use the affine cipher with key k1 = (a, b) to encrypt an element x; then encrypt the result with a key k2 = (c, d). What is the resulting cipher

  Draw a state diagram mealy and check for redundancies

Draw a State Diagram Mealy and check for redundancies and then assign binary State Identifiers.

  Use the infomation below to assess how much money jane and

use the infomation below to assess how much money jane and dave will be able to give to charity. they plan to make

  What is the overall market beta of apex health services

What is the overall corporate beta of Apex Health Services?k Is the calculated beta consistent with corporate risk theory and what is the overall market beta of Apex Health Services?

  Decision variable-objective function and constraints

What are the decision variable, objective function and constraints. Mathematically formulate a linear optimization model.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd