Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Filter
Profile
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
Questions by amaity
1
votes
1
answer
1
Theory of Computation - Determine if a language is regular/CFL/CSL from the first sight
Is there any alternate ways to identify if a language is regular/contex-free/context-sensitive etc. from the first sight. (Without using Pumping lemma/Myhill-Nerode theorem(s)) For e.g Identify the following whether the languages are regular/contex-free/ ...
Is there any alternate ways to identify if a language is regular/contex-free/context-sensitive etc. from the first sight. (Without using Pumping lemma/Myhill–Nerode the...
614
views
asked
Nov 14, 2017
0
votes
2
answers
2
C Programming
Which of the following is the correct output for the program given below? #include<stdio.h> void fun(int); int main() { int a; a=3; fun(a); printf("\n"); return 0; } void fun(int n) { if(n>0) { fun(--n); printf("%d",n); fun(--n); } } (a) 0 2 1 0 (b) 1 1 2 0 (c) 0 1 0 2 (d) 0 1 2 0
Which of the following is the correct output for the program given below?#include<stdio.h void fun(int); int main() { int a; a=3; fun(a); printf("\n"); return 0; } void f...
389
views
asked
Oct 31, 2017
0
votes
0
answers
3
C Programming
If variable can take any integral values from $0$ to $n$, where $n$ is a constant integer, then the variable can be represented as a bits field whose width is the integral parts of (a) $\log_{2}(n)+1$ (b) $\log_{2}(n+1)+2$ (c) $\log_{2}(n-1)+1$ (d) None of these
If variable can take any integral values from $0$ to $n$, where $n$ is a constant integer, then the variable can be represented as a bits field whose width is the integra...
261
views
asked
Oct 31, 2017
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register