adplus-dvertising
frame-decoration

Question

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 sets of letters and digits respectively, which of the following expressions define an identifier ?

a.

( L . D )*

b.

( L∪ D ) *

c.

L . ( L . D )*

d.

L ( L ∪  D)*

Posted under Systems Programming

Answer: (d).L ( L ∪  D)*

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. 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 sets of letters and digits...

Similar Questions

Discover Related MCQs

Q. In COMAL language programs, parameters after name of procedure must be put in

Q. Programming language COBOL works best if used for

Q. In line "110 DIM num(10)" in BASIC language, 'Line 110' declares

Q. Statement "130 num(subs) = 2*subs-1" is an example of

Q. In high-level language COMAL, area is calculated as

Q. Data types are differed on basis of

Q. Function which is used in stepwise refinement of program is classified

Q. When divisions of decimals are involved in program, these numbers are stored in

Q. Programming languages such as COMAL and Pascal allow subroutine which is classified as

Q. Items of data help making its structure is classified as

Q. A special value placed at end of items data list is called

Q. A special quantity named in a program and its value can be changed is called

Q. In line "550 INPUT NUM: PRINT 6.9*NUM*NUM+27" of a BASIC program, 'PRINT and INPUT' is

Q. Whole numbers from '0' and all negative numbers are classified as

Q. In high-level language Pascal, area is calculated as

Q. In line "100 INPUT NUM" of a BASIC program, NUM is if chosen by programmer is classified as

Q. Type of statement written in sequence and are repeated until conditions met is classified as

Q. Size of an array is declared by

Q. In repeat-until loop 'UNTIL Option>0 and Option<8 AND INT(Option) = Option' , INT function is classified as

Q. Sequence of instructions that are carried out for a particular task is classified as