subject

1. true/false:
mark either t (true) or f (false) for each statement in below. write in one short sentence why you chose that answer, if necessary. you may lose points if your answer is very long.
a. adjacency lists are more space efficient than adjacency matrices for sparse graphs. a sparse graph g = (v, e) has |e| = o(|v|).
b. the maximum number of edges in a graph with n vertices is n (n +1) / 2 .
c. a spanning tree of a graph with n vertices contains n edges.
d. dijkstra’s algorithm does not work on directed graphs.
e. a dynamic programming algorithm makes short-sighted choices that are locally optimal.
f. dynamic programming is an appropriate choice to solve merge sort.
g. prim’s and kruskal’s algorithms are examples of greedy algorithms.
h. in a flow network, the capacity of an edge must be less than or equal to the flow on the edge.
i. dynamic programming uses memoization to avoid solving the same subproblem more than once.
j. choice of data structures do not impact the time complexity of graph algorithms.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 23:00
Give an example of a case where a two-way handshake to establish a connection could leave one side of the connection live while the other side does not believe there is a connection.
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
1. which of the following is not an example of an objective question? a. multiple choice. b. essay. c. true/false. d. matching 2. why is it important to recognize the key word in the essay question? a. it will provide the answer to the essay. b. it will show you a friend's answer. c. it will provide you time to look for the answer. d. it will guide you on which kind of answer is required.
Answers: 1
question
Computers and Technology, 23.06.2019 21:10
Asample of 200 rom computer chips was selected on each of 30 consecutive days, and the number of nonconforming chips on each day was as follows: 8, 19, 27, 17, 38, 18, 4, 27, 9, 22, 30, 17, 14, 23, 15, 14, 12, 20, 13, 18, 14, 20, 9, 27, 30, 13, 10, 19, 12, 26. construct a p chart and examine it for any out-of-control points. (round your answers to four decimal places.)
Answers: 2
question
Computers and Technology, 25.06.2019 08:50
Write multiple if statements: if caryear is before 1968, print "probably has few safety features." (without quotes). if after 1971, print "probably has seat belts.". if after 1991, print "probably has anti-lock brakes.". if after 2002, print "probably has airbags.". end each phrase with period and newline. ex: caryear = 1995 prints:
Answers: 2
You know the right answer?
1. true/false:
mark either t (true) or f (false) for each statement in below. write in one s...
Questions
question
Mathematics, 23.06.2019 01:30
Questions on the website: 13722363