# Christabel Ireri

## 1- Show each step of DFS traversal according to the algorithm on the given tree. [starting from the root node placement in external data structure] 1 2 7 8 3 6 9 12 4 5 10 11 2- What is the difference between BFS and DFS algorithms? How can the difference be implemented? 3- Run Dijkstra Algorithm on the given graph. 5 2 3 16 4 3 1 7 4 4 7 12 6 5 10

EXPERT ANSWER 1. DFS or Depth First Search follows depth wise travesal in which the next vertex is remebered using the stack. Rules for DFS are: 1. Unvisited adjacent vertex are visited and pushed in to the stack. 2. If there is no adjacent vertex found, it will popup from the stack and search till …

## In some instances the Laplace transform can be used to solve linear differential equations with variable monomial coefficients. Use Theorem 7.4.1.

In some instances the Laplace transform can be used to solve linear differential equations with variable monomial coefficients. Use Theorem 7.4.1. THEOREM 7.4.1 Derivatives of TransformsIf F(s) ={f(t)} and n = 1, 2, 3,, then{tnf(t)} = (−1)n dn dsn F(s). Reduce the given differential equation to a linear first-order DE in the transformed function Y(s) ={y(t)}. …

## QUESTION 4: Mbyte (1024 Kbyte) block of memory is allocated using the buddy system.

QUESTION 4: Mbyte (1024 Kbyte) block of memory is allocated using the buddy system. Show the results of the following sequence in a figure similar to Figure 7.6 . There are four processes P1, P2, P3 and P4 . P1 means process number one . P1: Request 55 K Byte P2: Request 136 K Byte P3: …

## Question 1: Rainwater is acidic because CO2 (g) dissolves in the water, creating carbonic acid, H2CO3. If the rainwater is too acidic, it will react with limestone and seashells (which are principally made of calcium carbonate, CaCO3), forming calcium bicarbonate, Ca(HCO3)2

Question 1: Rainwater is acidic because CO2 (g) dissolves in the water,creating carbonic acid, H2CO3. If the rainwater is too acidic,it will react with limestone and seashells (which are principally made of calcium carbonate, CaCO3), forming calcium bicarbonate, Ca(HCO3)2 CO2(g) + H2O (l)H+(aq) +HCO3–(aq) H+(aq) + CaCO3(s)Ca+(aq) + HCO3– (aq) Write the equilibrium expression of the forward and reversed reactions for each of …

## Question 8: The current advertising campaign for a major soft drink brand would be changed if less than 30 percent of consumers like it. a) Formulate the null and alternative hypothesis b) Discuss the Type land Type II errors that could occur in hypothesis testing. c) Which statistical test would you use? Why? d) A random sample of 300 consumers was surveyed, and 84 respondents indicated that they liked the campaign. Should the campaign be changed? Why?

EXPERT ANSWER a) Ho : p = 0.3H1 : p < 0.3 b) Type I error is concluding that less than 30% of custimers like it while in actual it equal or greater than 30% Type I error is concluding that equal to or greater than 30% of custimers like it while in actual it …

## 2. What is a “living wage”? Discuss the difference between the minimum wage and the living wage. Can they be the same?

2. What is a “living wage”? Discuss the difference between the minimum wage and the living wage. Can they be the same? EXPERT ANSWER The living wage is the amount of money necessary to maintain a reasonable standard of living. It should be sufficient to cover the costs of living in any place. It should …

## Critically discuss two recent developments in the international financial environment which appear to have impacted on Pepsi company’s recent performance and development. Analyze how these two developments are likely to impact on the company in the near future ?

Critically discuss two recent developments in the international financial environment which appear to have impacted on Pepsi company’s recent performance and development. Analyze how these two developments are likely to impact on the company in the near future ? EXPERT ANSWER PepsiCo, Inc. announced an ambitious global sustainability agenda designed to foster continued business growth …