MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Compilers
Compilers Interview
Quiz 1
1
2
3
4
5
6
7
8
9
Q.1
Regular expressions can be used only for values of type string and number.
a) True
b) False
Q.2
What is the Regular Expression Matching Zero or More Specific Characters?
a) x
b) #
c) *
d) &
Q.3
Which of the following strings is not generated by the following grammar?
a) aabb
b) abab
c) aababb
d) aaabbb
Q.4
All __________ are automatically treated as regular expressions.
a) Programmatic description
b) Window
c) Win Object
d) Collection
Q.5
Regular Expressions can be used with XML checkpoints.
a) True
b) False
Q.6
The production Grammar is {S->aSbb,S->abb} is __________ grammar.
b) Type-2
a) Type-3
c) Type-1
d) Type-0
Q.7
Regular expression (x/y)(x/y) denotes which of the following set?
a) {xy,xy}
b) {xx,xy,yx,yy}
c) {x,y}
d) {x,y,xy}
Q.8
Regular expression x/y denotes which of the following set?
a) {x,y}
b) {xy}
c) {x}
d) {y}
Q.9
The regular expressions denote zero or more instances of an x or y is?
a) (x+y)
b) (x+y)*
c) (x* + y)
d) (xy)*
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)