Was there a viable algorithm? What analysis led you to this conclusion?

What will be an ideal response?


The purchase indicator algorithm was successful in that it predicted a correct response 60% of the time. This was determined by using an IF statement that compared the result of the algorithm to whether the customer actually made a purchase. This result is better than 50%, which means it should be considered as a viable option as opposed to not using an algorithm.

Computer Science & Information Technology

You might also like to view...

A term of less significance in an instruction function is not part of a time complexity because it is _____________ into the term of greater significance.

A. nullified B. absorbed C. osmosified D. subjugated

Computer Science & Information Technology

What is the advantage of modeling a queue or stack with an array?

a. An array implementation is more memory efficient and avoids the added cost of links in a linked list data structure. b. An array can be searched. c. An array has O(1) constant performance. d. An array can be sorted.

Computer Science & Information Technology

The below question refer to the program segment. (Assume that all variables are of type int.)

``` z = 0; g = 0; s = 0; i = 0; while (i < 50) { cin >> t; s += t; if (t >= 0) g++; else z++; i++; } ``` The value stored in variable s at the end of the execution of the loop could best be described as the ________________ . a. average of the numbers read b. largest of all numbers read c. sum of all numbers read d. number of numbers read e. sentinel value terminating the loop

Computer Science & Information Technology

A(n) ________ presents database information in a document format

A) form B) wizard C) report D) template

Computer Science & Information Technology