Exam 10: Exploring Arrays, loops, and Conditional Statements
Exam 1: Getting Started With Html5147 Questions
Exam 2: Getting Started With CSS148 Questions
Exam 3: Designing a Page Layout136 Questions
Exam 4: Graphic Design With CSS107 Questions
Exam 5: Designing for the Mobile Web112 Questions
Exam 6: Working With Tables and Columns89 Questions
Exam 7: Designing a Web Form91 Questions
Exam 8: Enhancing a Website With Multimedia90 Questions
Exam 9: Getting Started With Javascript89 Questions
Exam 10: Exploring Arrays, loops, and Conditional Statements90 Questions
Select questions type
Identify a method that is used to create a subarray.
Free
(Multiple Choice)
4.7/5
(37)
Correct Answer:
B
_________ is a number associated with each individual value in an array and distinguishes each value from other values in the array.
Free
(Short Answer)
4.8/5
(41)
Correct Answer:
Index
A _________ is an operator that compares the value of one expression to another returning a Boolean value indicating whether the comparison is true or not.
Free
(Short Answer)
4.8/5
(42)
Correct Answer:
comparison operator
Identify the letter of the choice that best matches the phrase or definition.
-This method removes the first item from an array.
(Multiple Choice)
4.9/5
(37)
What is the output of the following code?
Var x = [4,7,11];
X.forEach(stepUp);
Function stepUp(value,i,arr){
Arr[i] = value + 1;
}
(Multiple Choice)
4.8/5
(39)
Identify the output of the following code.
Var x = [3,45,1234,24];
X.sort();
(Multiple Choice)
4.8/5
(39)
Identify a method that inserts new items at the front of an array.
(Multiple Choice)
4.7/5
(35)
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
(35)
Increasing the value of the length property adds more items to an array,but the items have null values until they are defined.
(True/False)
4.8/5
(43)
Which of the following determines the current size of an array?
(Multiple Choice)
4.9/5
(37)
Identify a method that extracts array items that match a specified condition.
(Multiple Choice)
4.9/5
(37)
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
(36)
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)
4.8/5
(34)
The _____ operator tests whether two items are equal in value and have the same data type.
(Multiple Choice)
4.9/5
(29)
Identify the letter of the choice that best matches the phrase or definition.
-This method links all items in the array into a single text string.
(Multiple Choice)
5.0/5
(32)
Which of the following functions increases the value of each item in an array by 1?
(Multiple Choice)
4.9/5
(30)
The _____ loop tests the condition to continue the loop right after the latest command block is run.
(Multiple Choice)
4.9/5
(37)
Showing 1 - 20 of 90
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)