what is the relation between Program and algorithm?
A program contain a sequence of instruction which perform certain operation on input data in order to produce desired output
algorithm contain finite steps of procedure to solve a certain problem
now the relationship between program and algorithm:-
Algorithm contain a set of procedure used for solving a problem and it is written in high level language (Human language ) in order to run the algorithm it should be transformed in any programming language like c , c++,java which execute the certain operation to produce the desired output.and also an algorithm is code independent
- What is the relation between the Kinetic head and piezeometric head? Explain this relation...... -What is the relation between the flow (Q) and the total head (H)? Explain this relation....
Consider the merge sort algorithm. (a) Write a recurrence relation for running time function for the merge sort. (b) Use two methods to solve the recurrence relation. (c) What is the best, worst and average running time of the merge sort algorithm? Justify your answer.
7. What is the worst-case running time complexity of an algorithm with the recurrence relation T(N) = 2T(N/4) + O(N2)? Hint: Use the Master Theorem.
Explain the Karatsuba-Ofman algorithm to multiply 2 n-bit integers. Derive a recurrence relation for its complexity and solve this recurrence relation.
What is the deference between A* search algorithm, Greedy best first search algorithm and hill climing algorithm ? What is the difference between FDS,BFS, uniform cost search, and iterative deepeneng depth search ?
What is the difference between base and derived relation?
This problem will not be a program, instead it will be writing an algorithm in English or pseudocode. Suppose we are given a list of numeric values. Give an algorithm for finding the mean of the values given. You can use variables and assignment, all the basic operations (+,−,∗,/), comparisons between numeric values, and a way to iterate through the list given.
1. What are the basic characteristics of peopie with integrity? 2. What is the relation between integrity and personal growth? 3. What is the relation between integrity and effective organizations? 4. What is the relation between integrity and justice? 5. What are the basic causes of personal misconduct? 6. What are the basic cures for personal misconduct? 7. What are the basic causes of group misconduct? 8. What are the basic cures for group misconduct?
1.what is the relation between emitter current and collector current in the transistor. 2. what is the relation between emitter ,collector and base current in th transistor ??
What are the basic characteristics of people with integrity? What is the relation between integrity and personal growth?