Exam 20: Iteration Principles

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

The step size of a for loop is always 1 .

(True/False)
4.9/5
(68)

Image prefetching can be performed at any time prior to the start of the associated animation .

(True/False)
4.7/5
(80)

Which of the following is the correct code for the step size of the loop shown to ensure that the loop will repeat exactly five times? For ( c = 3; c < 13; ________)

(Multiple Choice)
4.9/5
(85)

The ________ size is the amount that an iteration variable is changed after each cycle of a for loop .

(Short Answer)
4.9/5
(77)

The control specification of the for loop includes three operations: <initialization>, <continuation>, and <next iteration> .

(True/False)
4.8/5
(70)

In JavaScript, timers ________ a thousand times per second .

(Short Answer)
4.9/5
(91)

Iteration variables must always be single letter identifiers .

(True/False)
4.9/5
(66)

If you have a nested loop structure where the outside loop runs five times and the inside loops runs seven times, the statements of the inside loop will be executed ________ times .

(Multiple Choice)
4.9/5
(73)

Loading images ahead of time is called ________ .

(Short Answer)
4.8/5
(76)

In a for loop, the operation that sets the variable's value for the first iteration of the loop is the

(Multiple Choice)
4.9/5
(78)

A for loop continues as long as the <continuation> test is true .

(True/False)
4.8/5
(71)

The index origin in JavaScript is ________ .

(Short Answer)
4.8/5
(88)

Which of the following controls the number of iterations of a for loop?

(Multiple Choice)
4.7/5
(79)

Loops cannot count backwards .

(True/False)
4.8/5
(64)

How many iterations will occur in the following loop? For (again = 0; again < 5; again++) { . . . . }

(Multiple Choice)
4.8/5
(91)

You can put a loop inside another loop .

(True/False)
4.9/5
(82)

On a web page, images can be loaded and stored in a(n)

(Multiple Choice)
4.9/5
(70)

For the elements of an array to store images, they must each be initialized to a(n)

(Multiple Choice)
4.8/5
(80)

Which of the following is the standard form for the World-Famous Iteration?

(Multiple Choice)
4.8/5
(80)

In JavaScript, i++ is an example of ________ notation and means the same as i = i + 1 .

(Short Answer)
4.7/5
(98)
Showing 21 - 40 of 52
close modal

Filters

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