In some programming languages, an identifier is permitted to be a letter followed by any number of letters or digits. If L and D denotes the set of letters and digit respectively. Which of the following expression defines an identifier?
A) (L + D) *
B) (L.D) *
C) L(L + D) *
D) L(L.D) *
Correct Answer:
Verified
Q15: Which of the following are decidable?
I. Whether
Q16: Let
Q17: Consider three decision problems P1, P2 and
Q18: Consider the following decision problems:
(P1) Does a
Q19: Which of the following statements is false?
A)Every
Q21: The number of strings of length 4
Q22: The regular grammar for the language L
Q23: Consider the following identities for regular expressions:
Q24: For S ? (0 + 1) *
Q25: The number of tokens in the following
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents