Answer and Explanation:
Using javascript:
function dayof_theweek(){
var TodayDate = window. prompt("enter today's date in the format 'year, month, day' ");
var Datenow=new date(TodayDate);
var Dayofweek=Datenow.getday();
var Days=["monday","Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"];
if(Dayofweek==indexOf(Days[Dayofweek]))
{
document.createTextnode(Days[Dayofweek]);
}
}
The program above uses a date object which uses the method getday to get the day of the week(get day returns an integer from 0 to 6).we then use a comparison operator == to test the condition that returned value Dayoftheweek is same with the index of the array Days and then print to a html document. The program may need improvements such as the fact that errors may arise when proper input isn't given, and therefore must be handled.
Answer:
All the data must be the same font and font size is not necessary for data sorting.
Explanation:
The most easier and frequently used tool for data organizing and sorting is Microsoft's excel or google spreadsheet. Sorting deals with arrangement of data values in a particular sequence or order according to defined rules. For example data can be sort in ascending or descending order as per values or names in list.
Answer:
Hallmark is using the Age segmenting dimension.
Explanation:
Most businesses and organizations tend to understand their customers, that is, their behaviors on purchases.
There are 7 important ways businesses segment their customers. They are:
- Income
- Age
- Gender
- Acquisition Path
- First purchase
- Geography
- Device type
In our scenario, Hallmark is using the Age segmenting dimension because they can identify that its a teenage girl that is sending theme card to her boyfriend's cell phone.
Answer:
An Access control list (ACL) is used to describe a list of security policies that is associated with an object