Exam 8: Javascript: Control Statements II
Exam 1: Introduction to Computers and the Internet31 Questions
Exam 2: Introduction to Html5: Part 120 Questions
Exam 4: Cascading Style Sheets Css29 Questions
Exam 5: Introduction to Cascading Style Sheets36 Questions
Exam 6: Javascript: Introduction to Scripting14 Questions
Exam 7: Javascript: Control Statements I29 Questions
Exam 8: Javascript: Control Statements II15 Questions
Exam 9: Javascript: Functions24 Questions
Exam 10: Javascript: Arrays18 Questions
Exam 11: Javascript: Objects16 Questions
Exam 12: Document Object Model Dom: Objects and Collections9 Questions
Exam 13: Javascript: Event Handling10 Questions
Exam 14: Html5: Introduction to Canvas36 Questions
Exam 15: Xml21 Questions
Exam 16: Ajax-Enabled Rich Internet Applications With Xml and Json10 Questions
Exam 17: Web Servers Iis and Apache7 Questions
Exam 18: Database: Sql, Mysql, Linq and Javadb12 Questions
Exam 19: Php15 Questions
Exam 20: Web App Development With Aspnet in C#37 Questions
Exam 21: Web App Development With Aspnet in C#: a Deeper Look7 Questions
Exam 22: Windows Communication Foundation Wcf Web Services in C#20 Questions
Exam 23: Web App Development With Aspnet in Visual Basic67 Questions
Exam 24: Web App Development With Aspnet in Vb, a Deeper Look6 Questions
Exam 25: Windows Communication Foundation Wcf Web Services in Vb20 Questions
Exam 26: Javaserver Faces Web Apps: Part 115 Questions
Exam 27: Javaserver Faces Web Apps: Part 27 Questions
Exam 28: Web Services in Java27 Questions
Select questions type
What should you use as a counter in counter-controlled repetition
Free
(Multiple Choice)
5.0/5
(36)
Correct Answer:
C
What would the browser display if the following script were executed
< script type = "text/javascript" >
< !--
For ( var i = 0; var i < 5; var i++ )
Document.write( "X" );
//-- >
< /script >
Free
(Multiple Choice)
4.8/5
(43)
Correct Answer:
A
The ________ multiple-selection statement is used to handle decision making and can be used to replace multiple if and if...else statements.
Free
(Multiple Choice)
4.9/5
(39)
Correct Answer:
D
Which of the following is not required for counter-controlled repetition
(Multiple Choice)
4.9/5
(33)
What would the browser display if it executed the following script
< script type = "text/javascript" >
< !--
For ( var count = 0; count < 10; ++count )
{
If ( count == 5 )
Continue;
}
Document.writeln( count );
//-- >
< /script >
(Multiple Choice)
4.8/5
(31)
What would the browser display if the following script were executed
< script type = "text/javascript" >
< !--
For ( var i = 0; i < 5; i++ )
Document.write( "O" );
//-- >
< /script >
(Multiple Choice)
4.7/5
(29)
What is the value of num after the following statements are performed
Num = 2.4589;
Num = num.toFixed( 2 );
(Multiple Choice)
4.8/5
(39)
What would the browser display if it executed the following script
< script type = "text/javascript" >
< !--
For ( var count = 1; count < = 10; ++count )
{
If ( count == 5 )
Break;
}
Document.writeln( count );
//-- >
< /script >
(Multiple Choice)
4.9/5
(33)
Consider the following code selections. Assume count is initialized to 7 and num is initialized to 0.
I. ii)
Do
{ while ( count < 6 )
Num = count; num = count;
} while ( count < 6 )
What will the value of num be for i) and ii) respectively after the loops have been executed
(Multiple Choice)
4.9/5
(36)
In a switch statement, the ________ case clause is used to process exceptional conditions and is usually listed last.
(Multiple Choice)
4.9/5
(26)
What would the browser display if it executed the following script
< script type = "text/javascript" >
< !--
Var i = 0;
Do
{
Document.write( "O" );
I++;
} while ( i > 5 );
//-- >
< /script >
(Multiple Choice)
4.9/5
(37)
What is the value of num after the following statement is performed
Num = 2 * Math.pow( 2, 3 );
(Multiple Choice)
4.7/5
(40)
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)