Answered step by step
Verified Expert Solution
Link Copied!

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[2]
b. dayNames[3]
c. dayNames.3
d. dayNames:3
Which command sorts the dayNames array in alphabetical order?
a. sort(dayNames);
b. daysNames.sort
c. Sort(dayNames);
d. dayNames.sort()
Which command extracts the middle five values from the dayNames array?
a. dayNames.cut(1,6);
b. dayNames.cut(0,5);
c. dayNames.extract(0,5);
d. dayNames.slice(1,6);
An array in which some array values are undefined is a(n):
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. client-server 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intelligent Information And Database Systems 6th Asian Conference Aciids 2014 Bangkok Thailand April 7 9 2014 Proceedings Part I 9 2014 Proceedings Part 1 Lnai 8397

Authors: Ngoc-Thanh Nguyen ,Boonwat Attachoo ,Bogdan Trawinski ,Kulwadee Somboonviwat

2014th Edition

3319054759, 978-3319054759

More Books

Students also viewed these Databases questions