Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Photos - Screenshot (74).png See all photos + Add to Edit & Create 1 Share Question 1 [ 20 Marks] a) Fill in the following

image text in transcribed

Photos - Screenshot (74).png See all photos + Add to Edit & Create 1 Share Question 1 [ 20 Marks] a) Fill in the following table with required information: [8] Phases of a Compiler Input to this Phase Output of this Phase Syntax Analyzer Semantic Analyzer Intermediate Code Generator Code Optimizer b b) Differentiate between a compiler and an interpreter. [2] c) Differentiate between a compiler and preprocessor. [2] d) Write a regular expression for all strings of a's and b's which contains the substring abba. [2] e) Write a regular expression for all strings of a's and b's where every b is immediately followed by at least 3 a's [2] f) Find the shortest string that is not in the language represented by the regular expression at(ab)*b* [2] g) Describe in your own words (use less than 15 words) the language represented by the regular expression ab(a*bab)*a* [2] words B ELE I Type here to search O WE ab 11:58 AM 1/17/2021

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

Database Concepts

Authors: David M. Kroenke, David J. Auer

7th edition

133544621, 133544626, 0-13-354462-1, 978-0133544626

More Books

Students also viewed these Databases questions

Question

1. Adapt the three-step writing process to reports and proposals.

Answered: 1 week ago