CD_quiz3

CD_quiz3

University

41 Qs

quiz-placeholder

Similar activities

Examen C

Examen C

University

40 Qs

Midterm Exam ICTC1023

Midterm Exam ICTC1023

University

40 Qs

9th Grade - IT Programming - 2nd Cycle Exam

9th Grade - IT Programming - 2nd Cycle Exam

9th Grade - University

40 Qs

DSA QUIZ - 2 (17-06-23)

DSA QUIZ - 2 (17-06-23)

University

40 Qs

Python Quiz

Python Quiz

University

40 Qs

FOC Finals

FOC Finals

University

42 Qs

I/O and Operators in C

I/O and Operators in C

University

43 Qs

CD_quiz3

CD_quiz3

Assessment

Quiz

Computers

University

Hard

Created by

kamala patil

FREE Resource

41 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The output of LA is

set of RE

Syntax tree

Set of tokens

string character

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A RE represents

part of language

Cannot represent any language

constituent strings of a language

none

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When expression sum=3+2 is tokenized then what is the token category of 3

identifier

assignment operator

Integer literal

addition operator

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Two important lexical categories are

white space

comments

none

white space & comments

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

For the fortaran language statement “ do 5 i=1.25” returns token identifier for do 5 I after looking upto

i

=

dot

5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

choose most appropriate one,

The regular expression(0|1)*(0|1) represents a language with

nonempty binary strings

empty and non empty binary strings

odd non empty strings

even non empty strings

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

L((r)+) is equivalent to

a)

b))

c) )

d) )

L((r) +)=L((r )*)-{€}

L((r) +)=L((r )*)

L((r) +)={€}

L((r) +)=L((r ))

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?