Describe the three components involved in deriving any new data type.

What will be an ideal response?


The following three components are involved in deriving any new data type:
• value space-The set of values that correspond to the data type. For example, the valuespace for a positiveInteger data type includes the numbers 1, 2, 3, etc., but not 0, negative integers, fractions, or text strings.
• lexical space-The set of textual representations of the value space. For example, a value supported by the floating data type, such as 42, can be represented in several ways, including 42, 42.0, or 4.2E01.
• facets-The properties that distinguish one data type from another. Facets can include such properties as text string length or a range of allowable values. For example, a facet that distinguishes the integer data type from the positiveInteger data type is the fact that positive integers are constrained to the realm of positive numbers.

Computer Science & Information Technology

You might also like to view...

Answer the following statements true (T) or false (F)

1. All programming languages have math operators that perform arithmetic. 2. The syntax rules dictate how keywords, operators, and various punctuation characters must be used in a program. 3. A programming statement can consist of keywords, operators, punctuation, and other allowable programming elements, arranged in the proper sequence to perform an operation. 4. Because compilers combine translation and execution, they typically do not create separate machine language programs.

Computer Science & Information Technology

Over the next few years, it is expected that many organizations will focus on projects that _________.

A. ?take advantage of cloud computing B. apply analytics to large amounts of business data. C. create more mobile applications for their customers and employees D. ?all of these answers

Computer Science & Information Technology

You are assessing the value of insurance plans for a group of your clients. The data is contained in a table named "Insurance." The interest rates are contained in a field named "Interest." The numbers of payments per period are contained in a field named "Retain." The amount per payment, shown as a positive number, is contained in a field named "Amount." The field will be named "Value." What is

the proper entry for the field name? A) Value: FV([Insurance]![Interest], [Insurance]![Retain], -[Insurance]![Amount]) B) Value: FV(Insurance![Interest], Insurance![Retain], Insurance![Amount]) C) Value: FV([Interest], [Retain], -[Amount]) D) Value: FV([Insurance]![Interest], [Insurance]![Retain], [Insurance]![Amount])

Computer Science & Information Technology

The ____________________ bar of a Web page contains links to other pages in the site.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology