simple computer science T OR F question State if the followi

simple computer science T OR F question

State if the following statements are true or false by filling the blanks with T (for true) or F (for false) (i)All correct algorithms are efficient as well. There are problems for which efficient algorithms do not exist. (ii) Sequential search is always the fastest algorithm for checking if the given sorted list has the given element. An algorithm that finds the area of a house with only polygonal rooms by adding the areas of the circles enclosing the polygons is correct. An algorithm that finds the area of a rectangle by splitting the rectangle into four triangles and adding their areas is highly efficient. The worst case for sequential search is the best case for binary search for any sorted list to be searched to find if any given element is in it (iii) (iv) (v) (vi) (vii) Incorrect algorithms can cause loss of money (vii) Inefficient algorithms can lead to higher waiting time for users of a software., (ix) Binary search is a search that finds the greatest element in the given list. (x) Sequential search is the search that finds the least element in the given list.

Solution

i) False, All correct algorithms may not be efficient

ii) True

xi) False

xii) False

xix) False , nattural languages are different from formal languages

simple computer science T OR F question State if the following statements are true or false by filling the blanks with T (for true) or F (for false) (i)All corr

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site