OneStopGate.Com
OnestopGate   OnestopGate
   Saturday, May 11, 2024 Login  
OnestopGate
Home | Overview | Syllabus | Tutorials | FAQs | Downloads | Recommended Websites | Advertise | Payments | Contact Us | Forum
OneStopGate

GATE Resources
Gate Articles
Gate Books
Gate Colleges 
Gate Downloads 
Gate Faqs
Gate Jobs
Gate News 
Gate Sample Papers
Training Institutes

GATE Overview
Overview
GATE Eligibility
Structure Of GATE
GATE Coaching Centers
Colleges Providing M.Tech/M.E.
GATE Score
GATE Results
PG with Scholarships
Article On GATE
Admission Process For M.Tech/ MCP-PhD
GATE Topper 2012-13
GATE Forum




GATE 2025 Exclusive
Organizing Institute
Important Dates
How to Apply
Discipline Codes
GATE 2025 Exam Structure

GATE 2025 Syllabus
Aerospace Engg..
Agricultural Engg..
Architecture and Planning
Chemical Engg..
Chemistry
Civil Engg..
Computer Science / IT
Electronics & Communication Engg..
Electrical Engg..
Engineering Sciences
Geology and Geophysics
Instrumentation Engineering
Life Sciences
Mathematics
Mechanical Engg..
Metallurgical Engg..
Mining Engg..
Physics
Production & Industrial Engg..
Pharmaceutical Sciences
Textile Engineering and Fibre Science

GATE Study Material
Aerospace Engg..
Agricultural Engg..
Chemical Engg..
Chemistry
Civil Engg..
Computer Science / IT
Electronics & Communication Engg..
Electrical Engg..
Engineering Sciences
Instrumentation Engg..
Life Sciences
Mathematics
Mechanical Engg..
Physics
Pharmaceutical Sciences
Textile Engineering  and Fibre Science

GATE Preparation
GATE Pattern
GATE Tips N Tricks
Compare Evaluation
Sample Papers 
Gate Downloads 
Experts View

CEED 2013
CEED Exams
Eligibility
Application Forms
Important Dates
Contact Address
Examination Centres
CEED Sample Papers

Discuss GATE
GATE Forum
Exam Cities
Contact Details
Bank Details

Miscellaneous
Advertisment
Contact Us


THEORY OF COMPUTATION

Looking for GATE Preparation Material? Join & Get here now!

** Gate 2013 Question Papers.. ** CEED 2013 Results.. ** Gate 2013 Question Papers With Solutions.. ** GATE 2013 CUT-OFFs.. ** GATE 2013 Results.. **


THEORY OF COMPUTATION


Q201. Consider turing machines as enumerators.

We define a language L=[<M>| M is the encoding a turing machine that enumerates the strings it accepts in lexicographic order}.

Choose the correct statement.


a. L is a csl

b. L is recursive

c. L is r.e. and not recursive

d. L is not r.e.


Q202.Ram and Shyam decide to classify a hierarchy of turing machines as follows:

L0={<M>|M is the encoding of turing machines that accept the recursive sets}

L1={<M>|M is the encoding of turing machines that accept the csls}

L2={<M>|M is the encoding of turing machines that accept the cfls}

L22={<M>|M is the encoding of turing machines that accept the dcfls}

L3={<M>|M is the encoding of turing machines that accept the regular sets}

L4={<M>|M is the encoding of turing machines that accept the finite sets}

Choose the correct statement


a. all the above languages are recursive

b. all the above languages are r.e.

c. all the above languages are not r.e.

d. all the above languages are r.e and not recursive



Q203. The grammar

S---->aSbS|bSaS|e is


a. ambiguous

b. generates an inherently ambiguous language

c. is not ambiguous

d. generates an unequal number of a's and b's



Q204. The grammar

S------>aSbS|bSaS|e i


a. generates an equal number of a's and b's

b. generates an unequal number of a's and b's

c. generates more a's than b's

d.generates more b's than a's



Q205. The grammar

S--->aB|bA

A----->a|aS|bAA

B----->b|bS|aBB


a. is ambiguous

b. generates an inherently ambiguous language

c.is unambiguous

d. generates an unequal number of a's and b's



Q206. The grammar

S--->aB|bA

A----->a|aS|bAA

B----->b|bS|aBB


a. generates an equal number of a's and b's

b. generates an inherently ambiguous language

c.generates more a's than b's

d. generates an unequal number of a's and b's



Q207. The grammar

S--->aSBC|aBC

aB--->ab

bB---->bb

bC--->bc

cC---->cc


a. generates a regular set

b.generates a cfl

c. generates a dcfl

d. generates a csl



Q208. The grammar

S--->aSBC|aBC

aB--->ab

bB---->bb

bC--->bc

cC---->cc


a. generates the set of all strings with an equal number of a's, b's and c's

b.generates {a^nb^n C^n|n>=1}l

c. generates more a's than b'sl

d. generates more b's than c's



Q209. The grammar

S--->aSBC|aBC

aB--->ab

bB---->bb

bC--->bc

cC---->cc


a. is type-0 and not type-1

b.type-1 and not type-2

c. type-2 and not type-1l

d. type-3 and not type-2



Q210. The grammar

S--->aSBC|aBC

aB--->ab

bB---->bb

bC--->bc

cC---->cc


a. is in CNF form

b.is in GNF form

c. generates a dcfl that is not regular

d. generates a csl that is not regular



Q211. The grammar

S--->aSBC|aBC

aB--->ab

bB---->bb

bC--->bc

cC---->cc

generates a language that can be accepted by a


a. linear bounded automata

b.a push down automata

c. a deterministic push down automata

d. a finite automata



Q212. Consider the following grammar

S---->bS|aA|b

A---->bA|aB

B--->bB|aS|a

Let Na(w) and Nb(w) denote the number of a's and b's in a string w. Then the language L(G) a subset of (a+b)+ generated by G is


A. {w| Na(w)>3Nb(w)}

B.{w|Nb(w)>3Na(w)}

C.{w|Na(w)=3k, k=0,1,2,...}

D.{w|Nb(w)=3k, k = 0,1,2,...} [GATE 2004]



Q213.. Consider the following grammar

S---->bS|aA|b

A---->bA|aB

B--->bB|aS|a

Let Na(w) and Nb(w) denote the number of a's and b's in a string w in the reversal of the language. Then the language reversal of L(G) a subset of (a+b)+ generated by G is


A. {w| Na(w)>3Nb(w)}

B.{w|Nb(w)>3Na(w)}

C.{w|Na(w)=3k, k=0,1,2,...}

D.{w|Nb(w)=3k, k = 0,1,2,...}



Q214. Consider the following grammar

S---->Sb|Aa|b

A---->Ab|Ba

B--->Bb|Sa|a

Let Na(w) and Nb(w) denote the number of a's and b's in a string w. Then the language L(G) a subset of (a+b)+ generated by G is


A. {w| Na(w)>3Nb(w)}

B.{w|Nb(w)>3Na(w)}

C.{w|Na(w)=3k, k=0,1,2,...}

D.{w|Nb(w)=3k, k = 0,1,2,...}



Q215. Consider the following grammar

S---->bS|aA|b

A---->bA|aB

B--->bB|aS|a

The language generated by the grammar is


a. r.e but not recursive

b. recursive but not csl

c.csl but not cfl

d. regular but not finite



Q216. Consider the following grammar

S---->bS|aA|b

A---->bA|aB

B--->bB|aS|a

The grammar is


a. type-0 but not type-1

b. type-1 but not type-2

c. type-2 but not type-3

d. type-3



Q217. Consider the grammar

S--->AS|AA

A--->aAb|ab

Let Na(w) and Nb(w) denote the number of a's and b's in a string w. Then the language L(G) a subset of (a+b)+ generated by G is


A. {w| Na(w)>Nb(w)}

B.{w|Nb(w)<Na(w)}

C.{w|Na(w)=Nb(W)}

D.{w|Nb(w)not related to Na(w)}



Q218. Consider the grammar

S--->aSa|bSb|aa|bb



Let Na(w) and Nb(w) denote the number of a's and b's in a string w. Then the language L(G) a subset of (a+b)+ generated by G is


A. {w| Na(w)>Nb(w)}

B.{w|Nb(w)<Na(w)}

C.{w|Na(w)=Nb(W)}

D.{w|Nb(w)not related to Na(w)}



Q219. Consider the grammar

S--->aSa|bSb|aSb|bSa|aa|ab|ba|bb

Let Na(w) and Nb(w) denote the number of a's and b's in a string w. Then the language L(G) a subset of (a+b)+ generated by G is


A. {w| Na(w)>Nb(w)}

B.{w|Nb(w)<Na(w)}

C.{w|Na(w)=Nb(W)}

D.{w|Nb(w)not related to Na(w)}



Q220. Consider the grammar

S--->AB

A--->aAb|ab

B--->b|bB

Let Na(w) and Nb(w) denote the number of a's and b's in a string w. Then the language L(G) a subset of (a+b)+ generated by G is


A. {w| Na(w)>Nb(w)}

B.{w|Nb(w)<Na(w)}

C.{w|Na(w)=Nb(W)}

D.{w|Nb(w)not related to Na(w)}



Result Page:- 1-20 |  21-40 |  41-60 |  61-80 |  81-100 |  101-120 |  121-140 | 

                             
141-160 |  161-180 |  181-200 |  201-220 |  221-240 | 




Discussion Center

Discuss/
Query

Papers/
Syllabus

Feedback/
Suggestion

Yahoo
Groups

Sirfdosti
Groups

Contact
Us

MEMBERS LOGIN
  
Email ID:
Password:

  Forgot Password?
 New User? Register!

INTERVIEW EBOOK
Get 9,000+ Interview Questions & Answers in an eBook. Interview Question & Answer Guide
  • 9,000+ Interview Questions
  • All Questions Answered
  • 5 FREE Bonuses
  • Free Upgrades
GATE RESOURCES
 
  • Gate Books
  • Training Institutes
  • Gate FAQs
  • GATE BOOKS
     
  • Mechanical Engineeering Books
  • Robotics Automations Engineering Books
  • Civil Engineering Books
  • Chemical Engineering Books
  • Environmental Engineering Books
  • Electrical Engineering Books
  • Electronics Engineering Books
  • Information Technology Books
  • Software Engineering Books
  • GATE Preparation Books
  • Exciting Offers



    GATE Exam, Gate 2009, Gate Papers, Gate Preparation & Related Pages


    GATE Overview | GATE Eligibility | Structure Of GATE | GATE Training Institutes | Colleges Providing M.Tech/M.E. | GATE Score | GATE Results | PG with Scholarships | Article On GATE | GATE Forum | GATE 2009 Exclusive | GATE 2009 Syllabus | GATE Organizing Institute | Important Dates for GATE Exam | How to Apply for GATE | Discipline / Branch Codes | GATE Syllabus for Aerospace Engineering | GATE Syllabus for Agricultural Engineering | GATE Syllabus for Architecture and Planning | GATE Syllabus for Chemical Engineering | GATE Syllabus for Chemistry | GATE Syllabus for Civil Engineering | GATE Syllabus for Computer Science / IT | GATE Syllabus for Electronics and Communication Engineering | GATE Syllabus for Engineering Sciences | GATE Syllabus for Geology and Geophysics | GATE Syllabus for Instrumentation Engineering | GATE Syllabus for Life Sciences | GATE Syllabus for Mathematics | GATE Syllabus for Mechanical Engineering | GATE Syllabus for Metallurgical Engineering | GATE Syllabus for Mining Engineering | GATE Syllabus for Physics | GATE Syllabus for Production and Industrial Engineering | GATE Syllabus for Pharmaceutical Sciences | GATE Syllabus for Textile Engineering and Fibre Science | GATE Preparation | GATE Pattern | GATE Tips & Tricks | GATE Compare Evaluation | GATE Sample Papers | GATE Downloads | Experts View on GATE | CEED 2009 | CEED 2009 Exam | Eligibility for CEED Exam | Application forms of CEED Exam | Important Dates of CEED Exam | Contact Address for CEED Exam | CEED Examination Centres | CEED Sample Papers | Discuss GATE | GATE Forum of OneStopGATE.com | GATE Exam Cities | Contact Details for GATE | Bank Details for GATE | GATE Miscellaneous Info | GATE FAQs | Advertisement on GATE | Contact Us on OneStopGATE |
    Copyright © 2024. One Stop Gate.com. All rights reserved Testimonials |Link To Us |Sitemap |Privacy Policy | Terms and Conditions|About Us
    Our Portals : Academic Tutorials | Best eBooksworld | Beyond Stats | City Details | Interview Questions | India Job Forum | Excellent Mobiles | Free Bangalore | Give Me The Code | Gog Logo | Free Classifieds | Jobs Assist | Interview Questions | One Stop FAQs | One Stop GATE | One Stop GRE | One Stop IAS | One Stop MBA | One Stop SAP | One Stop Testing | Web Hosting | Quick Site Kit | Sirf Dosti | Source Codes World | Tasty Food | Tech Archive | Software Testing Interview Questions | Free Online Exams | The Galz | Top Masala | Vyom | Vyom eBooks | Vyom International | Vyom Links | Vyoms | Vyom World
    C Interview Questions | C++ Interview Questions | Send Free SMS | Placement Papers | SMS Jokes | Cool Forwards | Romantic Shayari