Exam 20: Iteration Principles

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

If the loop initialization of a for loop makes the continuation test false, the loop body will only execute once .

Free
(True/False)
4.7/5
(79)
Correct Answer:
Verified

False

An array index is also called a(n) ________ .

Free
(Short Answer)
4.8/5
(83)
Correct Answer:
Verified

subscript

The timed event code that displays an animation must update the displayed frame and finally set the ________ so the next frame will be displayed .

Free
(Short Answer)
4.9/5
(78)
Correct Answer:
Verified

timer

In animation, one of many images that is rapidly redrawn to create the illusion of motion is known as a(n) ________ .

(Short Answer)
4.7/5
(69)

Anything you can do by modifying the DOM could also be done with the document . write() function .

(True/False)
4.9/5
(71)

The <continuation> operation of a for loop has the same form as the predicate in a conditional statement .

(True/False)
4.9/5
(83)

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

(Multiple Choice)
4.9/5
(84)

In programming ________ means looping through a series of statements to repeat them .

(Short Answer)
5.0/5
(78)

Timers can be set but not canceled .

(True/False)
4.9/5
(84)

A JavaScript program can change the content of a page that is already displayed by changing the ________ .

(Short Answer)
4.9/5
(90)

In JavaScript '\n' is the ________ symbol .

(Short Answer)
4.9/5
(59)

The off-by-one error is an uncommon error in computing .

(True/False)
4.8/5
(86)

A(n) ________ is an indexed base name .

(Short Answer)
4.9/5
(65)

Which of the following will create a loop that will iterate ten times?

(Multiple Choice)
4.9/5
(74)

The clearTimeout() function is used to

(Multiple Choice)
4.8/5
(78)

A(n) ________ is the common name for the repetition of a block of programming code .

(Short Answer)
4.8/5
(78)

An array index must be a non-negative integer .

(True/False)
4.8/5
(70)

If myArray is an array of length 10, the largest subscript is ________ .

(Short Answer)
5.0/5
(91)

Which of the following statements is TRUE about the following JavaScript declaration?var rows = new Array(5);

(Multiple Choice)
4.8/5
(73)

You cannot put a conditional statement inside a loop .

(True/False)
4.8/5
(66)
Showing 1 - 20 of 52
close modal

Filters

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