Exam 10: Exploring Arrays Loops and Conditional Statements Tutorial
Exam 1: Getting Started With Html5118 Questions
Exam 2: Getting Started With Css Tutorial117 Questions
Exam 3: Designing a Page Layout Tutorial106 Questions
Exam 4: Graphic Design With Css Tutorial87 Questions
Exam 5: Designing for the Mobile Web Tutorial90 Questions
Exam 6: Working With Tables and Columns Tutorial69 Questions
Exam 7: Designing a Web Form Tutorial71 Questions
Exam 8: Enhancing a Website With Multimedia Tutorial73 Questions
Exam 9: Getting Started With Javascript Tutorial72 Questions
Exam 10: Exploring Arrays Loops and Conditional Statements Tutorial73 Questions
Exam 11: Working With Events and Styles Tutorial76 Questions
Exam 12: Working With Document Nodes and Style Sheets Tutorial76 Questions
Exam 13: Programming for Web Forms Tutorial78 Questions
Exam 14: Exploring Object-Based Programming77 Questions
Select questions type
Identify the letter of the choice that best matches the phrase or definition.
Correct Answer:
Premises:
Responses:
Free
(Matching)
4.7/5
(46)
Correct Answer:
In an array literal, the array values are a space-separated list within a set of curly brackets.
Free
(True/False)
4.7/5
(31)
Correct Answer:
False
Increasing the value of the length property adds more items to an array, but the items have null values until they are defined.
Free
(True/False)
4.7/5
(35)
Correct Answer:
True
The while statement is used to exit a program loop before the stopping condition is met.
(True/False)
4.9/5
(35)
A _____, which employs the first-in-first-out (FIFO) principle in which the first item added to the data list is the first removed, is similar to a stack.
(Multiple Choice)
4.8/5
(38)
In an if loop, a variable known as a counter variable is used to track the number of times a block of commands is run.
(True/False)
5.0/5
(41)
Which of the following methods creates a new array populated with the elements of array that return a value of true from the callback function?
(Multiple Choice)
4.8/5
(42)
The _____ statement stops processing the commands in the current iteration of the loop and proceeds to the next iteration instead of stopping the program loop altogether.
(Multiple Choice)
4.9/5
(29)
The do/while loop is generally used when the program loop should run at least once before testing for the stopping condition.
(True/False)
4.8/5
(34)
A(n) _____ is a collection of values organized under a single name.
(Multiple Choice)
4.9/5
(23)
Identify a compare function that sorts numeric values in descending order.
(Multiple Choice)
4.8/5
(38)
What is the output of the following code? for (var i = 0; i
(Multiple Choice)
4.8/5
(32)
Which of the following methods is used to determine the day of the week on which a month starts?
(Multiple Choice)
4.9/5
(34)
What is the output of the following code? for(var i = 5; i > 0; i--)
(Multiple Choice)
4.9/5
(40)
Identify the general structure for accessing each value from an array using a for loop.
(Multiple Choice)
4.8/5
(36)
JavaScript supports logical operators that connect several expressions.
(True/False)
4.9/5
(33)
Case-Based Critical Thinking Questions Case 9-1 Melissa, a computer science engineering student, is learning the basics of programming by exploring arrays. She learns about different array methods. She wishes to learn more on inserting and deleting array items. She creates monthName array to extract only the three spring months-March, April, and May-from a calendar. Melissa wants to remove spring months from the monthName array. Which of the following methods should Melissa use?
(Multiple Choice)
4.9/5
(31)
Which of the following statements is used to terminate any program loop or conditional statement?
(Multiple Choice)
4.8/5
(45)
Showing 1 - 20 of 73
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)