subject
Computers and Technology, 17.10.2020 06:01 Ideen

Steve wrote the given code having an array numArray where i is given the location of the first occurrence of numKey in the array. If numKey is not present in numArray, i is given value of -1. i=0

while(numArray[i]!=numKey)

i++;

if(numArray[i]!=numKey)

i=-1;

In which of the given options will Steve find that the program has failed?

A.
when numKey is the largest element
B.
when numKey is the smallest element
C.
when numKey is 0
D.
when numKey is not in the array

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 16:30
Margins can be modified in the page layout tab or by using
Answers: 2
question
Computers and Technology, 22.06.2019 02:00
Aletter or menu command that starts an action when the user presses the designated letter and the alt key together is called what?
Answers: 1
question
Computers and Technology, 22.06.2019 06:20
In what kind of attack can attackers make use of millions of computers under their control in an attack against a single server or network availability confidentiality integrity identity automated attack software? those who wrongfully disclose individually identifiable health information can be fined up to what amount per calendar year? single most expensive malicious attack hipaa what are script kiddies? advanced persistent threat security manager security engineer what level of security access should a computer user have to do their job what process describes using technology as a basis for controlling the access and usage of sensitive data? cybercriminal
Answers: 1
question
Computers and Technology, 24.06.2019 06:30
Adrawing that places all lines parallel to the z axis at an angle from the horizon is 99 ! a. an oblique drawing b. a perspective drawing c. an auxiliary view d. a one-point perspective drawing
Answers: 2
You know the right answer?
Steve wrote the given code having an array numArray where i is given the location of the first occur...
Questions
question
Advanced Placement (AP), 25.02.2020 05:54
question
Mathematics, 25.02.2020 05:55
Questions on the website: 13722362