Computers and Technology

Give each of the 5 regular expressions below a correct name describing the match and a 1 sentence summary describing how the regular expression works:
1. <([A-Z] [A-Z0-9]*) \b[*>]=> (.* ?)\/>
2. \b (25[0-5] 2[0-4] [0-9][01]? [0-9][0-9]?)
(25[0-5] 12[0-4] [0-9][01]? [0-9][0-9]?) \
(25[0-5] 12[0-4] [0-9][01]? [0-9][0-9]?) \
(25[0-5] [2[0-4][0-9][01]?[0-9][0-9]?) \b
3. [-+]? ([0-9]+\.[0-9]+ [0-9]+)
4. ^(0[1-9][1[012])[-1.] (0[1-9][12] [0-9]3[01])[-1.] (1920) \d d$
5. //.*$
There is no code. These are NFA patterns that need describing.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 23:30, nourmaali
4.11 painting a wall (1) prompt the user to input integers for a wall's height and width. calculate and output the wall's area (integer). note that in this case there is a new line after each prompt. (submit for 1 point). enter wall height (feet): 11 enter wall width (feet): 15 wall area: 165 square feet (2) extend to also calculate and output the amount of paint in gallons needed to paint the wall (floating point). assume a gallon of paint covers 350 square feet. store this value in a variable. output the amount of paint needed using the %f conversion specifier. (submit for 2 points, so 3 points total). enter wall height (feet): 11 enter wall width (feet): 15 wall area: 165 square feet paint needed: 0.471429 gallons (3) extend to also calculate and output the number of 1 gallon cans needed to paint the wall. hint: use a math function to round up to the nearest gallon. (submit for 2 points, so 5 points total). enter wall height (feet): 11 enter wall width (feet): 15 wall area: 165 square feet paint needed: 0.471429 gallons
Answers: 3
image
Computers and Technology, 23.06.2019 03:30, patience233
Many everyday occurrences can be represented as a binary bit. for example, a door is open or closed, the stove is on or off, and the fog is asleep or awake. could relationships be represented as a binary value? give example.
Answers: 1
image
Computers and Technology, 23.06.2019 13:30, powellmj9216
Spoons are designed to be used for: spring hammering. applying body filler. identifying high and low spots. sanding highly formed areas.
Answers: 3
image
Computers and Technology, 24.06.2019 01:30, kellygaytan
Suppose a cpu with a write-through, write-allocate cache achieves a cpi of 2. what are the read and write bandwidths (measured by bytes per cycle) between ram and the cache? (assume each miss generates a request for one block.)
Answers: 1
Do you know the correct answer?
Give each of the 5 regular expressions below a correct name describing the match and a 1 sentence...

Questions in other subjects: