Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Which command creates an array named dayNames using the object constructor form? a . var dayNames = Array; b . var dayNames is Array; c
Which command creates an array named dayNames using the object constructor form?
a var dayNames Array;
b var dayNames is Array;
c var dayNames new Array;
d var dayNames Array;
Which command uses the array literal form to create and populate the dayNames array with the abbreviations of weekdays starting with Mon and going through Fri
a var dayNames Mon "Tue", "Wed", "Thu", "Fri";
b var dayNames Mon "Tue", "Wed", "Thu", "Fri";
c var dayNames Mon "Tue", "Wed", "Thu", "Fri";
d All of the above
Which command returns the third value from the dayNames array?
a dayNames
b dayNames
c dayNames
d dayNames:
Which command sorts the dayNames array in alphabetical order?
a sortdayNames;
b daysNames.sort
c SortdayNames;
d dayNames.sort
Which command extracts the middle five values from the dayNames array?
a dayNames.cut;
b dayNames.cut;
c dayNames.extract;
d dayNames.slice;
An array in which some array values are undefined is an:
a empty array
b minor array
c sparse array
d multidimensional array
To append a new item to an existing array, use the:
a pop method
b push method
c add method
d All of the above
The totality of interconnected hypertext documents became known as the
a World Wide Web
b clientserver network
c intranet
d hypernet
The exact appearance of each page is described in a separate document known as a
a link sheet
b style sheet
c tag sheet
d look sheet
Which command defines character encoding in every Cascading Style Sheets CSS document?
a @charset"encoding"
b @charset "encoding";
c &char"encoding";
d &char "encoding";
To set the foreground or text color of an element, use the following property:
a text: color;
b forecolor: color;
c color: color;
d backcolor: color;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started