Exam 7: Javascript: Control Statements I

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

Which of the following flowchart symbols indicates that a decision is to be made

Free
(Multiple Choice)
5.0/5
(39)
Correct Answer:
Verified

A

What would the browser display if the following code were executed in a script Var product = 0; While (product >= 25) Product = 2 + product; Document.writeln( product );

Free
(Multiple Choice)
4.8/5
(38)
Correct Answer:
Verified

B

Which of the following is a JavaScript repetition statement

Free
(Multiple Choice)
4.9/5
(36)
Correct Answer:
Verified

B

If the string passed to parseInt contains a floating-point numeric value, parseInt will ________.

(Multiple Choice)
4.9/5
(33)

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

(Multiple Choice)
4.7/5
(41)

What would the browser display if the following code were executed in a script Var grade = 59; If ( grade >= 60 ) Document.writeln( "Passed." ); Else Document.write( "Failed. " ); Document.writeln( "You must take this course again." );

(Multiple Choice)
4.9/5
(32)

________ is an informal language that helps programmers develop algorithms.

(Multiple Choice)
4.9/5
(41)

What would the browser display if the following code were executed in a script Var product = 0; While ( product < = 25 ); Product = 2 + product;

(Multiple Choice)
4.9/5
(32)

What type of loop should be used in a script that processes test results for 150 students

(Multiple Choice)
4.8/5
(38)

A procedure for solving a problem in terms of the actions to be executed and the order in which these actions are to be executed is called ________.

(Multiple Choice)
4.9/5
(29)

Which of the following is not a JavaScript selection statement

(Multiple Choice)
4.9/5
(28)

If the string passed to parseInt contains text characters, parseInt will ________.

(Multiple Choice)
4.9/5
(32)

What is the output of the following script I = 16; Document.write( ++i );

(Multiple Choice)
4.8/5
(32)

What output will the following script produce Var i = 0; Var j = 3; Var counter = 0; While ( i < 5 ) { If (i != j) Counter = counter + i; I = i + 1 } Document.write( counter );

(Multiple Choice)
4.8/5
(39)

The word top in the term top-down stepwise refinement refers to which of the following

(Multiple Choice)
4.9/5
(28)

Research determined that all programs could be written in terms of only three control structures. Which of the following is not one of the three control structures

(Multiple Choice)
4.7/5
(32)

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

(Multiple Choice)
4.9/5
(32)

Specifying the order in which programming statements are to be executed is called ________.

(Multiple Choice)
4.9/5
(39)

Which of the following statements is correct

(Multiple Choice)
4.9/5
(38)

If the initial value of a is 15, what new value is assigned to a in the expression a %= 4

(Multiple Choice)
4.9/5
(41)
Showing 1 - 20 of 29
close modal

Filters

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