ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 23 May 2017 My Price 8.00

pseudocode representation of the function called FindHighest

Figure 1 shows a pseudocode representation of the function called FindHighest.FindHighest is used to find the largest value stored in an array.Note: line numbers have been shown but are not part of the function.Figure 11 FUNCTION FindHighest(arr)2 highest ← arr[1]3 FOR i ← 2 TO LEN(arr)4 IF arr[i] > highest THEN5 highest ← arr[i]6 ENDIF7 ENDFOR8 RETURN highest9 ENDFUNCTION 3 (a) How many parameters does the function FindHighest have?[1 mark] ............................................................................................................................................3 (b) This function uses iteration. Give the line number on which iteration starts.[1 mark] ............................................................................................................................................ 3 (c) This function uses selection. Give the line number on which selection starts.[1 mark] ............................................................................................................................................3 (d) This function uses variable assignment. Give the line number in the function wherevariable assignment is first used.[1 mark] ............................................................................................................................................3 (e) The variable i in Figure 1 only has scope between lines 3 and 7. Explain withreference to the variable i what scope means.[1 mark]

Answers

(11)
Status NEW Posted 23 May 2017 12:05 AM My Price 8.00

-----------

Not Rated(0)