Write breadth first search to traverse a directed graph

Assignment Help Basic Computer Science
Reference no: EM131340906

1. Write breadth first search (BFS), based on a queue, to traverse a directed graph.

2. Write a program that searches the directory C:\Windows\ and all its subdirectories recursively and prints all the files which have extension *.exe.

Reference no: EM131340906

Questions Cloud

Write a program that checks whether the graph is cyclic : Let's have as given a graph G(V, E) and two of its vertices x and y. Write a program that finds the shortest path between two vertices measured in number of vertices staying on the path.
Determine the cost of this procedure : Search for pricing for an MRI for a 13-year-old female patient complaining of headaches. Determine the cost of this procedure to you and what the cost is to the insurance provider. Do a price comparison against three other facilities offering the ..
Distinguish between current and non current liabilities : Distinguish between current liabilities and non-current liabilities. Name and briefly describe three items belonging to each category.
What is the principal concern and methodology of theorist : SYA 4010: What is the principal concern and methodology of the theorist? Why is the selected topic relevant to the theorist?What research question (or hypothesis) would the theorist ask about the selected topic?What are the findings of your research?..
Write breadth first search to traverse a directed graph : Write a program that searches the directory C:\Windows\ and all its subdirectories recursively and prints all the files which have extension *.exe.
Expect triple-net market rents : What expected cash flow (NOI) forecast should you put in year 2010 of your pro-forma for this space, if you expect triple-net market rents on new leases in 2010 to be $21.67/SF?
Tenant owe the landlord in expense reimbursements : A tenant has a gross lease with an ‘‘expense stop''of $2.75/SF. If the building has 200,000 square feet of leasable space, reimbursable operating expenses of $700,000, and the tenant rents 25,000 SF, then how much does the tenant owe the landlord ..
Write a well-researched paper exploring green transportation : Select only "ONE" of these topics and write a well-researched paper exploring Green transportation. Papers should cover a brief history, the crux of the issue, the current state of affairs, and near-term future developments.
What should you account for at 31 december 2004 : Using the accounting equation, summarise the issuance of the first two semiannual interest payments.- What should you account for at 31 December 2004? Why?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Explain an it organizational leader in a mid-sized company

an IT organizational leader in a mid-sized company, and determine the type of enterprise system that your company would choose for an initial implementation if your company were to move away from legacy systems

  Estimate the worst-case delay of a reader

Estimate the worst-case delay of a reader when using the NBW protocol. What are the critical parameters? List the time services that are required by a real-time application.

  Find the spectral radius of the jacobi and gauss-seidel

Find the optimal SOR parameter, ω∗. What is the spectral radius of the corresponding iteration matrix? Approximately how much faster would SOR with ω∗ converge compared to Jacobi?

  What is the mass rate of oxygen lost due to evaporation

what is the mass rate of oxygen lost due to evaporation? (The heat of vaporization of oxygen is hfg = 2.13 × 105 J/kg.)

  Define a new 8-bit floating point format with 1 sign bit

Define a new 8-bit floating point format with 1 sign bit, 4 bits of exponent, using an excess-7 code (that is, the bias is 7), and 3 bits of fraction. If xE5 is the bit pattern for a number in this 8-bit floating point format, what value does it h..

  Identify three operational applications for airlines company

For an airlines company, identify three operational applications that would feed into the data warehouse. What would be the data load and refresh cycles for each

  Determine the number of gates needed to implement

Determine the number of gates needed to implement an eight-bit carry-lookahead adder assuming that the maximum fan-in for the gates is four.

  Weblogic server instance

What happens when a failure occurs and the stub cannot connect to a WebLogic Server instance?

  Maximum number of guppies

A rectangular fish tank measures 5 feet long 3 feet wide and 2 feet deep. if a guppy requires 1.5 cubic feet of water, what is the maximum number of guppies that can live in this tank? show all work and round your answer to the nearest whole guppy..

  Find the decryption exponent d

Encrypt the message m = 9876. Note that evaluating m3 with 32-bit arithmetic results in overflow.

  Knowledge of at least one programming language

Insert subject outcomes, as in CSDB. Ensure that there is no variation on CSDB entry. Include only course learning outcomes that will be assessed The following table shows the alignment between the learning outcomes at the course and subject level..

  What is difference between the memory bus and the pci bus

What is the difference between the memory bus and the PCI bus? Most 32-bit buses permit 16-bit reads and writes. Is there any ambiguity about where to place the data? Discuss.

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