Exam 20: Iteration Principles

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

A World-Famous Iteration (WFI) loop which has n iterations generates exactly all the legal subscripts for an array of size n .

(True/False)
4.8/5
(67)

The iteration variable is often used in computations in the <statement list> .

(True/False)
4.8/5
(84)

The number of elements in an array is referred to as the array ________ .

(Short Answer)
4.9/5
(77)

The starting point for a for loop is always 0 .

(True/False)
4.7/5
(83)

Iteration variables should be declared with the keyword iter instead of var because they are special variables .

(True/False)
4.8/5
(91)

Which of the following is the correct way to declare an array named myArray with ten elements?

(Multiple Choice)
4.9/5
(82)

The point at which array indexing begins (the least index) is the index ________ .

(Short Answer)
4.8/5
(79)

All for loops should have a <continuation> test .

(True/False)
4.8/5
(78)

Given the following JavaScript code, which of the following is the handle? TimerID = setTimeout("animate()", 30); ClearTimeout(timerID);

(Multiple Choice)
4.7/5
(87)

Which of the following is an infinite loop?

(Multiple Choice)
4.9/5
(86)

A(n) ________ is the single still image in a series of rapidly moving still images .

(Short Answer)
4.8/5
(70)

The proper programming term for <continuation> is ________ test because it checks to see if the loop should terminate .

(Short Answer)
5.0/5
(82)
Showing 41 - 52 of 52
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)