Active TopicsActive Topics  Display List of Forum MembersMemberlist  CalendarCalendar  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
 One Stop GATE ForumGATE Previous Years Test Papers - Discuss HereCS Papers
Message Icon Topic: Sample questions of Theory of Computation......... Post Reply Post New Topic
Author Message
Arpita
Groupie
Groupie


Joined: 04Jan2007
Online Status: Offline
Posts: 73
Quote Arpita Replybullet Topic: Sample questions of Theory of Computation.........
    Posted: 13Feb2007 at 6:07pm



 Que. 1      The string 1101 does not belong to the set represented by
A         110*(0+1)
B         1(0+1)*101
C         (10)*(01)*(00+11)*
D         (00+(11)*0)*

Que. 2     The following grammer   S->bS  S->b  S->aA  A->bA  A->aB  B->bB  B->aS
B->a is
A         type 3 grammer
B         type 2 grammer
C         type 1 grammer
D         type 0 grammer

Que. 3     A language accepted by a pushdown Automaton in which the stack is limited
to 10 items is best described as
A         Context free
B         Regular
C         Deterministic Context free
D         Recursive

Que. 4     Aliasing in the context of programming languages refers to
A         multiple variables having the same memory location
B         multiple variables having the same value
C         multiple variables having the same identifier
D         multiple uses of the same variable

Que. 5     If L1 is context free language and L2 is aregular language which ofthe
followingi/are false
A         L1-L2 is not context free
B         L1 (intersection) L2 is  context free
C         ~L2 is context free
D         ~L1 isregular

Que. 6     consider the following regular expression :
R=(ab|abb)*bbab
Which of the following strings is NOT in the set denoted by R?
A         ababab
B         abbbab
C         abbabbbab
D         ababbabbbab

Que. 7     The following grammar  S->bS  S->b  S->aA  A->bA           is
A         type-3 grammer
B         type-2 grammer
C         type-1 grammer
D         type-0 grammer

Que. 8     The smallest finite aitomaton which accepts the language {x|length of x is divisible by 3} has
A         2 states
B         3 states
C         4 states
D         5 states

Que. 9     The following production         A -> ab         A -> aA        aAb ->
aBCb       is
A         type-3 grammer
B         type-2 grammer
C         type-1 grammer
D         type-0 grammer

Que. 10     Which of the following statment is false>
A         every finite subset of an non-regular set is regular
B         every subset of a regular set is regular
C         every finite subset of an regular set is regular
D         The intersection of two regular set is regular



Post Resume: Click here to Upload your Resume & Apply for Jobs

IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum

GET LATEST FRESHERS JOBS IN YOUR MAIL





This page was generated in 0.156 seconds.
Vyom is an ISO 9001:2000 Certified Organization

© Vyom Technosoft Pvt. Ltd. All Rights Reserved.

Job Interview Questions | Girls Magazine | DLL, OCX File Errors | Freshers Jobs | Placement Papers | More Papers