Write an algorithm that finds the maximum value in a list of values.

What will be an ideal response?


1. Let max be the first value in the list
2. For each value x in the list
2.1. If x is greater than max
2.1.1. Let max be x 2

Computer Science & Information Technology

You might also like to view...

________ is a sub layer of the SDN control layer. (Choose all correct answers.)

A) Abstraction B) Orchestration C) Control support D) Application support

Computer Science & Information Technology

According to the Organization for Internet Safety (OIS), which of the following steps for a threat response process does the organization announce the attack?

A. Resolution: B. Release C. Notification D. Investigation

Computer Science & Information Technology

Backtracking is a stack use found in applications such as computer gaming, decision analysis, and expert systems.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

The ________ page is the first page that viewers will see when they visit a website.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology