Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

subject: TOC/Automata/languages 1; In a programming language a decimal number, or a float, is represented as a sequence of characters starting with + or -,

subject: TOC/Automata/languages

1; In a programming language a decimal number, or a float, is represented as a sequence of characters starting with + or -, having a decimal dot in it, ending with f, and having at least two digits (one before the decimal dot, one after). Additionally, trailing zeroes are allowed, while leading zeroes are not. For example, +361.126f and -0.3200f are valid ways to represent two decimal numbers but 26.209 and f1.236.- are not. Give a regular expression over alphabet {0,1,2,3,4,5,6,7,8,9,+,-,.,f} that defines all floats in base 4.

[8 marks

new answer required I'm having old ones and my own solutions thanks

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

Step: 3

blur-text-image

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

Domain Transfer Learning With 3q Data Processing

Authors: Ahmed Atif Hussain

1st Edition

B0CQS1NSHF, 979-8869061805

Students also viewed these Databases questions

Question

What went well in the mediation process?

Answered: 1 week ago

Question

How autonomous should the target be left after the merger deal?

Answered: 1 week ago