









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
This document from the University of Engineering & Technology Mardan explores different methods for defining languages in Computer Science, including descriptive definition, recursive definition, regular expressions, and finite automata. The lecture covers examples of each method and provides insight into the process of constructing languages.
Typology: Slides
1 / 16
This page cannot be seen from the preview
Don't miss anything!










Lecturer(Computer Science) University of Engineering & Technology Mardan
Topic: Defining Languages
(^) The languages can be defined in different ways , such as
(^) The language is defined, describing the conditions imposed on its words.
(^) The following three steps are used in recursive definition
(^) Defining language of INTEGER
(^) Language L={Λ, x, xx, xxx,…} of strings, defined over Σ = {x}
(^) Language L, consisting of all possible strings, defined over Σ = {a, b}.
(^) Σ = {a,b} (^) States: x, y, z where x is an initial state and z is final state. (^) Transitions:
(^) These transitions can be expressed by the following table called transition table
Old States New States Reading a Reading b x - z y y y y z + z z
Summary Topic: Defining Languages