The Gateway to Computer Science Excellence
For all GATE CSE Questions
Toggle navigation
Facebook Login
or
Email or Username
Password
Remember
Login
Register

I forgot my password
Activity
Questions
Unanswered
Tags
Subjects
Users
Ask
Prev
Blogs
New Blog
Exams
Recent activity by Himanshu Goyal
User Himanshu Goyal
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
User Himanshu Goyal
Wall
Recent activity
All questions
All answers
Exams Taken
All Blogs
0
answers
1
Gate Forms Out at GATE Online Application Processing System (GOAPS)
Gate 2018 Application Form Out visit GATE Online Application Processing System (GOAPS) @ https://appsgate.iitg.ac.in/
asked
Aug 31, 2017
in
GATE Application

89
views
general
gateapplication
1
answer
2
Doubt in access link and control link in activation record?
Can anybody explain me access link and control link in activation record?I am confused what is different between them IF POSSIBLE GIVE EXAMPLE ALSO THANKS A LOT
commented
Aug 3, 2017
in
Compiler Design

1k
views
compilerdesign
runtimeenvironments
1
answer
3
Infix to postfix stack size
How is ans 15 for this question Please can anybody solve this
commented
Jul 15, 2017
in
Programming

643
views
datastructures
stack
infixpostfix
0
answers
4
C programming
#include <stdio.h> int main() { int i =258; int *iptr = &i; printf("%d%d",*((char*)iptr),*((char*)iptr+1)); return 0; } (a)2,1 (b)2,5 (c)1, 2 (d)5,2 I am getting (a) as output sh4.2$ gcc o main *.c sh4.2$ main 21 Can anybody explain that how we got that? Thanks :)
commented
Jul 10, 2017
in
Programming

483
views
programminginc
output
pointers
1
answer
5
Are all languages closed under regular intersection?
answer edited
Jun 30, 2017
in
Theory of Computation

104
views
closureproperty
theoryofcomputation
1
answer
6
Theory of Computation Closure Properties
We know Regular Union CFL is CFL as they are closed but a doubt came in my mind if Regular  (a+b)* CFL  anbn Isn't it regular (a+b)* U anbn = (a+b)* Then how come this statement Regular Union CFL is CFL as they are closed is true ?? Please correct me if i am wrong..
commented
Jun 30, 2017
in
Theory of Computation

356
views
theoryofcomputation
closureproperty
1
answer
7
Static and Dynamic links in Activation Records?
Can Anyone explain me the difference between Static and Dynamic links in Activation Records With some illustration or eg ?
answer selected
May 21, 2017
in
Programming

799
views
compilerdesign
programming
dynamic
linking
3
answers
8
Compiler Design(gATE 2010)
GATE 2010 Question The grammar S→aSa∣bS∣c is LL(1) but not LR(1) LR(1) but not LL(1) Both LL(1) and LR(1) Neither LL(1) nor LR(1) I have 2 small doubt First Doubt:If a grammer is LL(1) then it is always LR(0) ? Is there any grammer which is LL( ... ,LL(1) LR(0) SLR(1) LALR(1) CLR(1).So what is the difference between LR(0) AND LR(1) and which one is more powerfull ?
answer selected
Jan 31, 2017
in
Compiler Design

713
views
compilerdesign
parsing
1
answer
9
TOC REGULAR EXPRESSION
Can someone give me dfa of these Regular Expressions? 0*(1+0)* 0*(1++0)* Actually i am getting confused between both of them Thanks
answer selected
Jan 31, 2017
in
Theory of Computation

235
views
theoryofcomputation
regularexpressions
1
answer
10
Graph Theory
How to learn and understand graph theory in 23 days i mean before gate exam? Can anybody help in this.Like there are many new terms bipartite graph etc etc i m not able to learn some complicated names ? Any video lectures or anything please help :)
commented
Jan 18, 2017
in
Graph Theory

132
views
graphtheory
2
answers
11
What will be the time complexity of recurrence relation T(n)=c+T(n1) using substitution method?
answer selected
Oct 16, 2016
in
Algorithms

391
views
timecomplexity
algorithms
1
answer
12
Time Complexity of code
What is time complexity of following code : int count = 0; for (int i = N; i > 0; i /= 2) { for (int j = 0; j < i; j++) { count += 1; } } Please give ans with explanation ? Thankyou
asked
Sep 26, 2016
in
Algorithms

516
views
timecomplexity
algorithms
asymptoticnotations
0
answers
13
Merge Sort Merge Procedure
Guys i was trying to implement merge procedure of merge sort i found some interesting results.I don't know why it happened but if you know please comment and clear my doubt This is my code #include <iostream> using namespace std; void merge ... some garbage value don't know on second execution.When third time i executed i get correct Please help why its happening :)
asked
Aug 31, 2016
in
Programming

76
views
mergesort
algorithms
1
answer
14
Is Call by address in C same to call by reference in C++
Is call by address in C same to call by reference in C++? if not then whats basic difference ?? and why doesn't C have a refernce variable just like C++??
commented
Aug 27, 2016
in
Programming

255
views
programminginc
2
answers
15
Operating System Turn Variable concept
I was doing operating systems in which there was a topic of turn variable well there are two processes P0,P1 and int turn =0 For Process P0 For Process P1 Non Critical Section Non Critical Section while(turn!=0) while(turn!=1) // ... enter first and then P1 got chance to enter Please somebody tell me correct ans to this problem.I am really stuck and confused
commented
Aug 6, 2016
in
Operating System

148
views
operatingsystem
1
answer
16
GATE Query
Well i have a general query about gate well it is My college cgpa is 7.5/10 and if by luck i got gate rank between AIR 050 will i get a direct admission in IIT Delhi in CSE Department or i have to go for a written test again. and which IIT's gave direct admission at this CGPA I am giving gate in cse stream
answer selected
Jul 24, 2016
in
GATE

204
views
gatepreparation
2
answers
17
Calculus
Can anyone tell me range of f(x)=sinx+cosx
comment edited
Jul 16, 2016
in
Calculus

283
views
calculus
2
answers
18
Engineering Mathematics
What are the subsets of set A={1,2,{3,4}} ? According to me they are {∅},{1},{2},{{3,4}},{1,{3,4}},{2,{3,4}},{1,2,{3,4}},{1,2} Now My Question is is Should we separately include {{3}},{{4}} and relevant elements like {1,{3}} etc in the above subset or my ans above is right.Please Help
answer selected
Jul 16, 2016
in
Set Theory & Algebra

150
views
settheory&algebra
1
answer
19
Finite Automate and Regular Sets
I have a doubt in this that according to me the answer should be 6 as 5 states for modulo 5 + 1 dead state in starting as according to ques the string is starting from 1 so 0 production will go to a dead state that's my assumption but behind the answer written is 7 states i m really confused how ?? Please help me what is its real answer
commented
Jun 27, 2016
in
Theory of Computation

176
views
theoryofcomputation
finiteautomata
regularlanguages
50,737
questions
57,275
answers
198,154
comments
104,823
users