Exam 7: Javascript: Control Statements I

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

A program in which all statements are executed one after the other in the order in which they are written exhibits ________.

(Multiple Choice)
4.7/5
(37)

What is the value of i after the following statements I = 2; I++;

(Multiple Choice)
4.7/5
(30)

Which of the following flowchart symbols can represent an if statement

(Multiple Choice)
4.8/5
(37)

Which of the following is not a JavaScript keyword

(Multiple Choice)
4.9/5
(41)

The word sequence in the term sequence structure refers to the sequence of ________.

(Multiple Choice)
4.9/5
(46)

What would the browser display if the following code were executed in a script Var x = 11; Var y = 14; If ( x > 13 ) If ( y > 13 ) Document.writeln( "x and y are > 13" ); Else Document.writeln( "x is < = 13" );

(Multiple Choice)
4.9/5
(32)

Which of the following is the correct abbreviation for the statement a = a * 7;

(Multiple Choice)
4.8/5
(43)

What would the browser display if the following script were executed < script type = "text/javascript" > Var count = 0; Var total = 0; While ( count < = 5 ) { Total = total + 10; Count = count + 1; } Document.write( total ); < /script >

(Multiple Choice)
4.8/5
(36)

What type of loop is shown in the script below < script type = "text/javascript" > Var gradeValue = 0, Total = 0, Grade = 0; While ( gradeValue != - 1 ) { Total = total + gradeValue; Grade = window.prompt( "Enter Integer Grade, -1 to Quit:" , "0" ); GradeValue = parseInt( grade ); } < /script >

(Multiple Choice)
4.9/5
(34)
Showing 21 - 29 of 29
close modal

Filters

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