Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Search results for regular+expression
0
votes
0
answers
21
Regular Expresssion And NFA
In certain programming languages, comments appear between delimiters such as (* and ) . Let C be the language of all valid delimited comment strings. Such a string in C must begin with ( and end with *) but have no intervening *) . For simplicity, assume the ... b, (, *)}. (a) Provide an NFA that recognizes language C . (b) Present a regular expression that generates C.
In certain programming languages, comments appear between delimiters such as (* and ) . Let C be the language of all valid delimited comment strings. Such a string in C...
rdrd44
35
views
rdrd44
asked
2 days
ago
Theory of Computation
theory-of-computation
regular-expression
finite-automata
+
–
1
votes
1
answer
22
#TOC regular expression
what will be the regular expression of this DFA using Arden's theorem
what will be the regular expression of this DFA using Arden's theorem
prabhath challa
75
views
prabhath challa
asked
Apr 18
Theory of Computation
theory-of-computation
regular-expression
+
–
30
votes
6
answers
23
GATE CSE 1996 | Question: 1.8
Which two of the following four regular expressions are equivalent? ($\varepsilon$ is the empty string). $(00)^ * (\varepsilon +0)$ $(00)^*$ $0^*$ $0(00)^*$ (i) and (ii) (ii) and (iii) (i) and (iii) (iii) and (iv)
Which two of the following four regular expressions are equivalent? ($\varepsilon$ is the empty string).$(00)^ * (\varepsilon +0)$$(00)^*$$0^*$$0(00)^*$(i) and (ii)(ii) a...
Kathleen
10.4k
views
Kathleen
asked
Oct 9, 2014
Theory of Computation
gate1996
theory-of-computation
regular-expression
easy
+
–
54
votes
4
answers
24
GATE CSE 2014 Set 1 | Question: 36
Which of the regular expressions given below represent the following DFA? $0^*1(1+00^*1)^* $ $0^*1^*1+11^*0^*1 $ $(0+1)^*1$ I and II only I and III only II and III only I, II and III
Which of the regular expressions given below represent the following DFA?$0^*1(1+00^*1)^* $$0^*1^*1+11^*0^*1 $$(0+1)^*1$I and II onlyI and III onlyII and III onlyI, II an...
go_editor
19.1k
views
go_editor
asked
Sep 28, 2014
Theory of Computation
gatecse-2014-set1
theory-of-computation
regular-expression
finite-automata
easy
+
–
0
votes
1
answer
25
Regular Expression
Write regular expression for the set of strings of 0's and 1's with at most one pair of consecutive 1's.
Write regular expression for the set of strings of 0's and 1's with at most one pair of consecutive 1's.
utsav22222
195
views
utsav22222
asked
Mar 15
Theory of Computation
theory-of-computation
regular-expression
+
–
45
votes
8
answers
26
GATE IT 2007 | Question: 73
Consider the regular expression $R = (a + b)^* \ (aa + bb) \ (a + b)^*$ Which one of the regular expressions given below defines the same language as defined by the regular expression $R$ ? $(a(ba)^* + b(ab)^*)(a + b)^+$ $(a(ba)^* + b(ab)^*)^*(a + b)^*$ $(a(ba)^* (a + bb) + b(ab)^*(b + aa))(a + b)^*$ $(a(ba)^* (a + bb) + b(ab)^*(b + aa))(a + b)^+$
Consider the regular expression $R = (a + b)^* \ (aa + bb) \ (a + b)^*$Which one of the regular expressions given below defines the same language as defined by the regula...
Ishrat Jahan
14.2k
views
Ishrat Jahan
asked
Oct 30, 2014
Theory of Computation
gateit-2007
theory-of-computation
regular-expression
normal
+
–
0
votes
1
answer
27
Regular Expression
Set of binary strings starting with 11 and ending with 00. E.g., 1100,1110100 ,1100100
Set of binary strings starting with 11 and ending with 00. E.g., 1100,1110100 ,1100100
hasina ali
108
views
hasina ali
asked
Mar 21
Theory of Computation
theory-of-computation
regular-expression
+
–
0
votes
0
answers
28
Regular Expresssion And NFA (THEORY OF AUTOMATA ASSIGNMENT # 1)
1. Write regular expressions and draw NFA for the following languages over the alphabet Σ = {a, b}: a. All strings that do not end with aa. b. All strings that contain an even number of b's c. All strings that contain atleast ... with double letters (aa or bb) e. All strings that does not ends with double letter.(can end with ab or ba)
1. Write regular expressions and draw NFA for the following languages over the alphabet Σ = {a, b}: a. All strings that do not end with aa. b. All strings that contain a...
Talha Riaz
142
views
Talha Riaz
asked
Mar 23
Theory of Computation
theory-of-computation
regular-expression
+
–
4
votes
2
answers
29
GO Classes Test Series 2024 | Mock GATE | Test 11 | Question: 62
Below you see the transition table of a finite state automaton. The initial state is $0;$ the final state is $4.$ $\emptyset$ denotes the fail state, where no successful transition is possible for the given symbol. Note that when encountering a $b$ in state ... $\mathrm{abbb}^+\mathrm{c}^+\mathrm{c}$ $a b^* b b(c c)^+$
Below you see the transition table of a finite state automaton. The initial state is $0;$ the final state is $4.$ $\emptyset$ denotes the fail state, where no successful ...
GO Classes
362
views
GO Classes
asked
Jan 13
Theory of Computation
goclasses2024-mockgate-11
goclasses
theory-of-computation
finite-automata
regular-expression
2-marks
+
–
34
votes
5
answers
30
GATE CSE 1994 | Question: 2.10
The regular expression for the language recognized by the finite state automaton of figure is ________
The regular expression for the language recognized by the finite state automaton of figure is ________
Kathleen
8.9k
views
Kathleen
asked
Oct 4, 2014
Theory of Computation
gate1994
theory-of-computation
finite-automata
regular-expression
easy
fill-in-the-blanks
+
–
0
votes
0
answers
31
#toc
Çșȇ ʛấẗẻ
96
views
Çșȇ ʛấẗẻ
asked
Feb 24
Theory of Computation
theory-of-computation
finite-automata
regular-expression
regular-language
context-free-language
+
–
0
votes
0
answers
32
#TOC
Çșȇ ʛấẗẻ
62
views
Çșȇ ʛấẗẻ
asked
Feb 24
Databases
theory-of-computation
finite-automata
regular-expression
regular-language
+
–
0
votes
0
answers
33
Regular expression to finite automata
Çșȇ ʛấẗẻ
225
views
Çșȇ ʛấẗẻ
asked
Feb 15
Mathematical Logic
finite-automata
theory-of-computation
regular-expression
+
–
1
votes
2
answers
34
DFA to Regular Expression
Help to Convert DFA in to Regular Expression
Help to Convert DFA in to Regular Expression
alexmurugan
482
views
alexmurugan
asked
Nov 2, 2023
Theory of Computation
number-of-dfa
regular-expression
+
–
0
votes
1
answer
35
#Regular Languages
For a particular input, a turing machine can ‘hang’ on encountering an infinite loop. Why can’t we say the same for any other machine? i.e A DFA or NFA that follows say a*(b). Will the automaton not ‘hang’ if a string $a^n$ where $n \to$ ∞ is fed to it? Isn’t ‘never accepting but progressing’ the same as hanging?
For a particular input, a turing machine can ‘hang’ on encountering an infinite loop. Why can’t we say the same for any other machine? i.e A DFA or NFA that follows...
Mrityudoot
340
views
Mrityudoot
asked
Oct 21, 2023
Theory of Computation
theory-of-computation
regular-expression
finite-automata
regular-language
+
–
0
votes
2
answers
36
ACE TOC Test
Which of the following regular expression represent the set of all the strings not containing $100$ as a substring ? $0^*(1^*0)^*$ $0^*1010^*$ $0^*1^*01^*$ $0^*(10+1)^*$
Which of the following regular expression represent the set of all the strings not containing $100$ as a substring ?$0^*(1^*0)^*$$0^*1010^*$$0^*1^*01^*$$0^*(10+1)^*$
Pratik.patil
407
views
Pratik.patil
asked
Oct 30, 2023
Theory of Computation
theory-of-computation
ace-test-series
regular-expression
+
–
37
votes
4
answers
37
GATE CSE 1998 | Question: 1.9
If the regular set $A$ is represented by $A = (01 + 1)^*$ and the regular set $B$ is represented by $B = \left(\left(01\right)^*1^*\right)^*$, which of the following is true? $A \subset B$ $B \subset A$ $A$ and $B$ are incomparable $A = B$
If the regular set $A$ is represented by $A = (01 + 1)^*$ and the regular set $B$ is represented by $B = \left(\left(01\right)^*1^*\right)^*$, which of the following is t...
Kathleen
11.3k
views
Kathleen
asked
Sep 25, 2014
Theory of Computation
gate1998
theory-of-computation
regular-expression
normal
+
–
0
votes
1
answer
38
Find the complement of the following expressions: (a) (a + c) (a + b’) (a’ + b + c’) (b) z + z’(v’w + xy)
dvlken
417
views
dvlken
asked
Oct 16, 2023
Digital Logic
digital-logic
regular-expression
+
–
0
votes
1
answer
39
Made easy test series
Please explain the why A and D are correct?
Please explain the why A and D are correct?
Rohit Chakraborty
473
views
Rohit Chakraborty
asked
Oct 5, 2023
Theory of Computation
theory-of-computation
regular-expression
number-of-dfa
made-easy-test-series
+
–
0
votes
1
answer
40
Give a regular expression for L = {a^nb^m: n ≥ 1,m ≥ 1,nm ≥ 3}.
Rahhhhhul
1.5k
views
Rahhhhhul
asked
Jun 12, 2023
Theory of Computation
regular-expression
regular-language
regular-grammar
theory-of-computation
+
–
Page:
« prev
1
2
3
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register