Which of the following algorithms has the smallest time complexity

A. Insertion sort
B. Merge sort
C. Binary Search
D. Linear search

B. Merge sort

Which of the following describes the meaning of ease of implementation?(1 point)

Responses

A. a measurement of the length of the code created in all files necessary to implement an algorithm

B. a measurement of the technical difficulty and the time required to implement an algorithm

C. a measurement of the amount of time needed to implement and maintain an algorithm

D. a measurement of the amount of third-party code that you reuse to implement an algorithm

B. a measurement of the technical difficulty and the time required to implement an algorithm

Which of the following explains different types of efficiency?

A. Time complexity refers to the amount of memory used. Space complexity refers to the amount of time needed.

B. Space complexity refers to the amount of memory used. Time complexity refers to the amount of time needed.

C. Code length refers to the number of characters in the code. Code complexity refers to the effort needed to understand the code.

D. Code complexity refers to the number of characters in the code. Code length refers to the effort needed to understand the code.

B. Space complexity refers to the amount of memory used. Time complexity refers to the amount of time needed.

Which of the following is a true statement about correctness?(1 point)

Responses

Correctness can be shown through formal logic.

Correctness can be shown without identifying specifications.

Correctness can be shown by testing many possible input values.
Correctness cannot be shown through mathematical proof.

Correctness can be shown through formal logic.