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
What is the output of the following code? var scores = [92, 68, 83, 95, 91, 65, 77]; var highScores = scores.filter(gradeA); function gradeA(value) { return value > 90; }
(Multiple Choice)
4.8/5
(29)
The _____ method creates a new array by passing the original array items to the callback function, which returns the equivalent value of the array items.
(Multiple Choice)
4.9/5
(38)
The getDate() method in a calendar app returns an integer ranging from 0 (Sunday) to 6 (Saturday).
(True/False)
4.7/5
(36)
Index values start with 1 so that the initial item in an array has an index value of 1, the second item has an index value of 2, and so on.
(True/False)
4.7/5
(38)
The map(callback [, thisArg]) method returns the index of the first element in the array that passes a test in the callback function.
(True/False)
4.7/5
(41)
Identify a compare function that sorts numeric values in ascending order.
(Multiple Choice)
4.8/5
(39)
Identify a true statement of array .some( callback [, thisArg ]) method.
(Multiple Choice)
4.8/5
(40)
The every(callback [, thisArg]) array method applies the callback function to each item in an array.
(True/False)
4.9/5
(37)
A calendar that is created as a web table can have class and ID designations to make it easy for page developers to assign different styles to different parts of the calendar.
(True/False)
4.8/5
(44)
By default, items are placed in an array either in the order in which they are defined or explicitly by index number.
(True/False)
4.8/5
(31)
Identify a method that extracts array items that match a specified condition.
(Multiple Choice)
4.9/5
(26)
The break statement runs a command or a command block only if the conditional expression returns the value true ; it does nothing if the condition is false.
(True/False)
4.8/5
(36)
Which of the following determines the current size of an array?
(Multiple Choice)
4.8/5
(34)
Which of the following values will the expression 15 % 4 return?
(Multiple Choice)
4.9/5
(29)
Identify a method that tests whether the condition returned by the callback function holds for all items in an array .
(Multiple Choice)
4.9/5
(44)
The slice() method reverses the order of items in an array, making the last items first and the first items last.
(True/False)
4.8/5
(43)
Showing 41 - 60 of 73
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)