Question: 2 1. (10pt] Regular Expressions: Floating- and Fixed-point numbers Floating point numbers can be represented as strings in exponent form significand X base exponent where

 2 1. (10pt] Regular Expressions: Floating- and Fixed-point numbers Floating point

2 1. (10pt] Regular Expressions: Floating- and Fixed-point numbers Floating point numbers can be represented as strings in exponent form significand X base exponent where significand is an integer, base is an integer greater than or equal to two, and exponent is also an integer. Examples of floating point numbers in base 10: 345 x 10-1, -1983 x 10-2. A fixed-point number representation has a fixed number of digits after the decimal point ".". Examples of fixed point numbers with 3 digits after the decimal are: 23.987, 0.100. Provide a regular expression describing 1. [5pt] all floating point numbers in exponent form with base 10. 2. [5pt] all fixed point numbers greater than 2.2 with 2 digits after the decimal. 2 1. (10pt] Regular Expressions: Floating- and Fixed-point numbers Floating point numbers can be represented as strings in exponent form significand X base exponent where significand is an integer, base is an integer greater than or equal to two, and exponent is also an integer. Examples of floating point numbers in base 10: 345 x 10-1, -1983 x 10-2. A fixed-point number representation has a fixed number of digits after the decimal point ".". Examples of fixed point numbers with 3 digits after the decimal are: 23.987, 0.100. Provide a regular expression describing 1. [5pt] all floating point numbers in exponent form with base 10. 2. [5pt] all fixed point numbers greater than 2.2 with 2 digits after the decimal

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!