TOC MCQ

TOC MCQ

University

10 Qs

quiz-placeholder

Similar activities

Quiz 5 Teori Bahasa dan Otomata 2022-1

Quiz 5 Teori Bahasa dan Otomata 2022-1

University

5 Qs

Quiz-1(Session 2023-24)

Quiz-1(Session 2023-24)

University

11 Qs

Quiz 6 Teori Bahasa dan Otomata

Quiz 6 Teori Bahasa dan Otomata

University

10 Qs

Automata - Understanding

Automata - Understanding

University

10 Qs

UTS TBO

UTS TBO

University

10 Qs

Automaton Understanding 4

Automaton Understanding 4

University

10 Qs

TAFL_2

TAFL_2

University - Professional Development

15 Qs

Compiler Engineering-I

Compiler Engineering-I

University

10 Qs

TOC MCQ

TOC MCQ

Assessment

Quiz

Computers

University

Medium

Created by

DEVA I.

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt


The context-free languages are closed for:

(i) Intersection                          (ii) Union
(iii) Complementation             (iv) Kleene Star

  1. (i) and (iii)


(ii) and (iv)


  1. (ii) and (iii)


  1. (ii) and (iv)

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Match the List I with List II

Media Image
Media Image
Media Image
Media Image

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following statement is True?

  1. Every DFA is NFA, but NFA is not DFA

  1. Every DFA is NFA, also every NFA is DFA

  1. NFA is faster to process and its representation uses less memory than DFA

DFA is slower to process and its representation uses less memory than NFA

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

DFA Transition function can be defined as ____.

  1. W: Q x ∑→Q

  1. δ: Q x ∑→W

δ: Q x ∑→Q

  1. δ: Q x ∑→F

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the regular expression for the language accepting all the strings which are starting with 1 and ending with 0, over ∑ = {0, 1}?

  1. R = 1 (0+1)* 1

1 (0+1)+1

1 (0+1)+ 0

R = 1 (0+1)* 0

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Context-free grammar can be recognized by ____.

  1. Finite Automaton

  1. Pushdown Automaton

  1. Turing Machine

  1. Popdown Automaton

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is a regular language?

{aibi|i>=0}

{aibi|i>=1}

{aibi|0<i<5}

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?